You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to import a TTL vocabulary file converted from an RDF file. The file is parsed successfully as N3 by Tropy, but after parsing, before the import completes, Tropy raises the following error:
{"msg":"Failed to import vocabulary.","stack":"Error: SQLITE_CONSTRAINT: CHECK constraint failed: id != '' AND label != ''","system":"Windows_NT 10.0.22621 (x64)","time":1698279332959,"version":"1.15.2"}
Thanks and apologies for the cryptic error message!
The issue is that there are 22 empty labels in the file. This is no big deal and we should just ignore blank lables during import instead of raising an error. In the meantime you can work around this by removing all empty ""@de and ""@fr labels. I'm attaching a version of the file here.
Your workaround worked, and the file was imported. Thank you.
Unfortunately the vocabulary file has further issues: only a fraction of the terms were imported. I'll follow up with a separate bug if I can figure out what the new problem is.
I am attempting to import a TTL vocabulary file converted from an RDF file. The file is parsed successfully as N3 by Tropy, but after parsing, before the import completes, Tropy raises the following error:
Steps to reproduce:
muninn-military-vocabulary-after-edits.ttl.txt is the TTL file I am attempting to import.
Here is the original vocabulary: https://rdf.muninn-project.org/ontologies/military-en.html
muninn-military-vocabulary.ttl.txt is the original converted OWL->TTL file. It was converted with https://www.easyrdf.org/converter. I then edited the converted TTL file to strip the
()+
characters and get it past Tropy's N3 parser.The text was updated successfully, but these errors were encountered: