ontologies not in import closure if owl:imports <iri> does not match <iri> a owl:Ontology #709
Labels
Status: Needs Triage
Should be the default status for issues that have been acknowledged, but not yet processed.
If the ontology iri (ie
<iri> a owl:Ontology
) does not match that of theowl:imports <iri>
when loading a local copy from a catalog.xml then the ontology will not be included in the import closure and will not be included for reasoning.To reproduce this
git clone https://github.com/SciCrunch/NIF-Ontology.git; cd NIF-Ontology; checkout uri-switch
and openNIF-Ontology/ttl/nif.ttl
in protege using theOpen...
option in the file menu.Viewing the
Ontology imports
pane in theActive ontology
tab of protege will show the imported iri without any additional information. When the reasoner is run any axioms from the mismatched iri cases will not be included. Axioms from the mismatched iri cases will not appear unless you switch to theShow all loaded ontologies
option underView
.The work around I use is to patch the import chain of all my ontologies when I want to reason and have the
<iri> a owl:Ontology
iris in my catalog point to the local copy. See the patch and the catalog I use to fix the issue (note on the usage).See also #629 (comment)
The text was updated successfully, but these errors were encountered: