Vocabularies ontology


#1

Hello
I need import a new vocabularies. ontology.
I need import from

bbc ontology

https://www.bbc.co.uk/ontologies/bbc

I download rdf file
the format is ttl

So

In a new vocabulary I add

vocabulary file: 1.10 ttl
prefix: BBC Ontology
namespaceuri: https://www.bbc.co.uk/ontologies/bbc
label:bbc

And when I import I have these error

When I import
I have these error

EasyRdf_Exception: Unable to parse data of an unknown format. in /var/www/html/vendor/easyrdf/easyrdf/lib/EasyRdf/Graph.php:228
Stack trace:

thanks
gus


#2

Thanks for the bug report. I’ve created an issue https://github.com/omeka/omeka-s/issues/1315

In the meantime, I’ve converted the ttl to n3 here https://rdf-translator.appspot.com/convert/detect/n3/https%3A%2F%2Fwww.bbc.co.uk%2Fontologies%2Fbbc%2F1.10.ttl

The import should work with that file. Remember to use “http://www.bbc.co.uk/ontologies/bbc/” as the namespace URI.


#3

Thanks very much for your answer.
I use your exampe but I have these error

Fatal error : Maximum execution time of 30 seconds exceeded in /var/www/html/vendor/symfony/polyfill-mbstring/Mbstring.php on line 558

Gus


#4

That’s odd. Try importing this file: https://rdf-translator.appspot.com/convert/detect/pretty-xml/https%3A%2F%2Fwww.bbc.co.uk%2Fontologies%2Fbbc%2F1.10.ttl


#5

now with the new file I have these error

EasyRdf_Exception: Unable to parse data of an unknown format. in /var/www/html/vendor/easyrdf/easyrdf/lib/EasyRdf/Graph.php:228