Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EasyRdf unable to guess format #1315

Closed
jimsafley opened this issue Oct 5, 2018 · 1 comment
Closed

EasyRdf unable to guess format #1315

jimsafley opened this issue Oct 5, 2018 · 1 comment
Assignees

Comments

@jimsafley
Copy link
Member

See https://forum.omeka.org/t/vocabularies-ontology/7200

BBC publishes its ontology in Turtle format (ttl). For some reason EasyRdf cannot guess the format, so it raises an "Unable to parse data of an unknown format" exception. After I explicitly set the format to "ttl" in the controller, the vocabulary successfully imported.

We could instruct the user to convert from Turtle to another format, such as N-Triples or RDF/XML, but we should probably just allow users to select the format on the import form, defaulting to "guess".

BBC Ontology: https://www.bbc.co.uk/ontologies/bbc
Download RDF: https://www.bbc.co.uk/ontologies/bbc/1.10.ttl

@jimsafley jimsafley self-assigned this Oct 5, 2018
@zerocrates
Copy link
Member

Looks basically like EasyRdf will only "detect" Turtle if it sees @prefix or @base in the beginning-ish of the file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants