bio-ontology-research-group / unit-ontology

An ontology of units of measurements
Creative Commons Attribution 4.0 International
19 stars 13 forks source link

OWL API throws a parser exception when trying to parse uo.owl #56

Closed dillerm closed 1 year ago

dillerm commented 2 years ago

org.semanticweb.owlapi.rdf.rdfxml.parser.RDFParserException: [line=7751:column=57] IRI 'l/m^2' cannot be resolved against current base IRI http://purl.obolibrary.org/obo/uo.owl reason is: Illegal character in path at index 3: l/m^2

Line in question

I believe changing that line to the following would fix this: <oboInOwl:hasExactSynonym xml:lang="en">l/m^2</oboInOwl:hasExactSynonym>

bkrey commented 2 years ago

55 fixes this (and several other errors of this type)

matentzn commented 2 years ago

Yes, please fix this, and consider adding some QC - unparseable ontologies should really be a thing of the past!

reality commented 1 year ago

fixed by #55; parseability to be addressed in odk migration