Closed graybeal closed 2 years ago
This error look similar to what I see when the OWL API successfully loads an ontology, but the triplestore won't accept the triples. I'm not a SKOS expert, but it's not evident to me that you can declare concepts using this syntax:
<https://purl.org/hubmapvoc/samples-voc-additions/-80Celsius-Cryotube> a skos:Concept;
...
Using the rapper command line utility shows:
$ pwd
/srv/ncbo/repository/HUSAT/1
$ rapper -i rdfxml -o ntriples owlapi.xrdf > data.triples
rapper: Parsing URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/owlapi.xrdf with parser rdfxml
rapper: Serializing with serializer ntriples
rapper: Parsing returned 331 triples
$ rapper -i ntriples -c data.triples
rapper: Parsing URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples with parser ntriples
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:128 column 61 - URI error - illegal Unicode escape \u003C in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:129 column 61 - URI error - illegal Unicode escape \u003C in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:130 column 61 - URI error - illegal Unicode escape \u003C in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:131 column 61 - URI error - illegal Unicode escape \u003C in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:132 column 61 - URI error - illegal Unicode escape \u003C in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:133 column 61 - URI error - illegal Unicode escape \u003C in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:134 column 61 - URI error - illegal Unicode escape \u003C in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:135 column 61 - URI error - illegal Unicode escape \u003C in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:159 column 52 - URI error - illegal Unicode escape \u003C in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:160 column 59 - URI error - illegal Unicode escape \u0020 in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:161 column 59 - URI error - illegal Unicode escape \u0020 in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:162 column 59 - URI error - illegal Unicode escape \u0020 in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:163 column 59 - URI error - illegal Unicode escape \u0020 in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:164 column 59 - URI error - illegal Unicode escape \u0020 in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:165 column 59 - URI error - illegal Unicode escape \u0020 in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:166 column 59 - URI error - illegal Unicode escape \u0020 in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:167 column 59 - URI error - illegal Unicode escape \u0020 in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:168 column 59 - URI error - illegal Unicode escape \u0020 in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:169 column 59 - URI error - illegal Unicode escape \u0020 in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:170 column 59 - URI error - illegal Unicode escape \u0020 in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:171 column 59 - URI error - illegal Unicode escape \u0020 in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:172 column 59 - URI error - illegal Unicode escape \u0020 in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:173 column 59 - URI error - illegal Unicode escape \u0020 in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:174 column 59 - URI error - illegal Unicode escape \u0020 in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:175 column 59 - URI error - illegal Unicode escape \u0020 in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:176 column 59 - URI error - illegal Unicode escape \u0020 in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:177 column 59 - URI error - illegal Unicode escape \u0020 in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:178 column 59 - URI error - illegal Unicode escape \u0020 in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:305 column 90 - URI error - illegal Unicode escape \u003C in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:306 column 90 - URI error - illegal Unicode escape \u003C in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:307 column 90 - URI error - illegal Unicode escape \u003C in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:308 column 90 - URI error - illegal Unicode escape \u003C in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:309 column 90 - URI error - illegal Unicode escape \u003C in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:310 column 90 - URI error - illegal Unicode escape \u003C in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:311 column 90 - URI error - illegal Unicode escape \u003C in URI.
rapper: Error - URI file:///srv/ncbo/share/env/production/repository/HUSAT/1/data.triples:312 column 90 - URI error - illegal Unicode escape \u003C in URI.
rapper: Parsing returned 331 triples
oh hey, you beat me to it! yes, I think it wasn't the format of that line but it was the % (and/or ^) values in the IRIs. I forgot to send her a modification to get rid of those before I left, and when we resubmitted with those eliminated it submitted just fine.
Protege is so forgiving it didn't care, but there was one error that I think was unrelated. Protege log for the original file is copied below. If
Cannot generate ontology catalog for ontology at http://www.semanticweb.org/jgraybeal/ontologies/2022/5/27/untitled-ontology-151. URI scheme is not "file"`
is a 'happens all the time' error than Protege didn't see any issues with this file at all.
INFO 14:16:45 ------------------------------------ Protege -----------------------------------
INFO 14:16:45 Protege Desktop
INFO 14:16:45 Version 5.5.0, Build
INFO 14:16:45
INFO 14:16:45
INFO 14:16:45 ----------------------------------- Platform -----------------------------------
INFO 14:16:45 Java: JVM 1.8.0_121-b13 Memory: 2796M
INFO 14:16:45 Language: en, Country: US
INFO 14:16:45 Framework: Apache Software Foundation (1.8)
INFO 14:16:45 OS: macosx (10.16)
INFO 14:16:45 Processor: x86-64
INFO 14:16:45
INFO 14:16:45 ------------------------------------ Plugins -----------------------------------
INFO 14:16:45 Plugin: OWLAPI RDF Library (3.0.0)
INFO 14:16:45 Plugin: SPARQL Query Plugin (3.0.0)
INFO 14:16:45 Plugin: Existential Query (2.0.0)
INFO 14:16:45 Plugin: Explanation Workbench (3.0.0)
INFO 14:16:45 Plugin: OntoGraf (2.0.3)
INFO 14:16:45 Plugin: Browser View (OWLDoc) (3.0.3)
INFO 14:16:45 Plugin: OWLViz (5.0.3)
INFO 14:16:45 Plugin: HermiT Reasoner (1.4.3.456)
INFO 14:16:45 Plugin: Cellfie Protege 5.0+ Plugin (2.1.0)
INFO 14:16:45 Plugin: DL Query (4.0.1)
INFO 14:16:45 Plugin: SWRLTab Protege 5.0+ Plugin (2.0.6)
INFO 14:16:45 Plugin: OWL Code Generation Plug-in (2.0.0)
INFO 14:16:45
INFO 14:16:45 Creating and setting up empty (default) editor kit
INFO 14:16:45 Received request to edit document at file:/Users/jgraybeal/Downloads/samples-voc-additions.ttl
INFO 14:16:45 Application is initialized. Opening URI.
INFO 14:16:45 Creating and setting up (default) editor kit for file:/Users/jgraybeal/Downloads/samples-voc-additions.ttl
INFO 14:16:46 OWL API Version: 4.5.9.2019-02-01T07:24:44Z
INFO 14:16:46 Cannot generate ontology catalog for ontology at http://www.semanticweb.org/jgraybeal/ontologies/2022/5/27/untitled-ontology-151. URI scheme is not "file"
INFO 14:16:47 ------------------------------- Auto-update Check ------------------------------
INFO 14:16:47 OWL API Version: 4.5.9.2019-02-01T07:24:44Z
INFO 14:16:47 Auto-update is disabled
INFO 14:16:47
INFO 14:16:47 ------------------------------- Loading Ontology -------------------------------
INFO 14:16:47 Loading ontology from file:/Users/jgraybeal/Downloads/samples-voc-additions.ttl
INFO 14:16:47 Finished loading file:/Users/jgraybeal/Downloads/samples-voc-additions.ttl
INFO 14:16:47 Loading for ontology and imports closure successfully completed in 370 ms
INFO 14:16:47 Updated document format class from: org.semanticweb.owlapi.formats.RioTurtleDocumentFormat to: org.semanticweb.owlapi.formats.TurtleDocumentFormat
INFO 14:16:47
INFO 14:16:47 ---------------------------- Disposing of Workspace ----------------------------
INFO 14:16:47 Saved tab state for 'DL Query' tab
INFO 14:16:47 Saved tab state for 'Active ontology' tab
INFO 14:16:47 Saved tab state for 'Entities' tab
INFO 14:16:47 Saved tab state for 'Individuals by class' tab
INFO 14:16:47 Saved workspace
INFO 14:16:47 Disposed of 'DL Query' tab
INFO 14:16:47 Disposed of 'Active ontology' tab
INFO 14:16:47 Disposed of 'Entities' tab
INFO 14:16:47 Disposed of 'Individuals by class' tab
INFO 14:16:47 Disposed of workspace
INFO 14:16:47
There were some really interesting cacheing issues I was seeing while working on this submission, but I'll see if I can find a cacheing ticket to report them to.
Closed because second submission of a better-formatted file fixed the issue.
HUSAT didn't process properly last night. It looks like the ontology parsed OK but something else went south with process or file (b)locking. Details from log below.
I've asked the submitter to resubmit with a slightly improved version, as a possible fast way to resolve the problem (or get more data on it). Will notify if that doesn't work…