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

Turtle syntax is not fully supported #1426

Open
tarcisiotmf opened this issue Jul 31, 2024 · 2 comments · May be fixed by #1431
Open

Turtle syntax is not fully supported #1426

tarcisiotmf opened this issue Jul 31, 2024 · 2 comments · May be fixed by #1431

Comments

@tarcisiotmf
Copy link

tarcisiotmf commented Jul 31, 2024

When loading the ontology at http://purl.org/emi into Qlever, the following error occurs:

2024-07-26 14:30:18.295 - ERROR: Parse error at byte position 15878: Prefix [ rdf was not previously defined using a PREFIX or @prefix declaration The next 500 bytes are: owl:Class ; owl:unionOf ( emi:ChemicalStructure emi:ChemicalTaxonAnnotation ) ] ;
However, the problem is not the prefix but the fact that '[' turtle syntax for blank nodes is not supported, in my opinion. After using the .nt version of this ontology I was able to index/load it with qlever.

P.s.: thank you for sharing this really impressive RDF store you have been building.

Tarcisio Mendes de Farias
SIB Swiss Institute of Bioinformatics

@joka921
Copy link
Member

joka921 commented Aug 1, 2024

Hi,
Thanks for reproting this.
I am just loking into this bug. Can you confirm that this fails, when you specify the setting ascii-prefixes-only:true and works when you set this to false?

@tarcisiotmf
Copy link
Author

@joka921 Thanks for your quick reply! Probably you were already able to replicate the issue but in any case you can find below the config used where "ascii-prefixes-only" = true:

SETTINGS_JSON   = { "languages-internal": [], "prefixes-external": [""], "locale": { "language": "en", "country": "US", "ignore-punctuation": true }, "parallel-parsing" : true, "ascii-prefixes-only": true, "num-triples-per-batch": 1000000 }

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

Successfully merging a pull request may close this issue.

2 participants