-
Notifications
You must be signed in to change notification settings - Fork 36
Description
I am trying to match two ontologies and one of them is the Core Ontology for Biology and Biomedicine (COB.owl) from Bioportal, it gives me an exception in loading the ontology step:
Exception in thread "main" org.semanticweb.owlapi.model.OWLRuntimeException: Property is not a named property. Check using the isAnonymous method before calling this method!
at uk.ac.manchester.cs.owl.owlapi.OWLObjectInverseOfImpl.asOWLObjectProperty(OWLObjectInverseOfImpl.java:118)
at aml.ontology.Ontology.getOWLRelationships(Ontology.java:1559)
at aml.ontology.Ontology.init(Ontology.java:414)
at aml.ontology.Ontology.(Ontology.java:157)
at aml.AML.openOntologies(AML.java:876)
at Main.main(Main.java:24)
When I search I found that COB.owl was created using OWLAPI version4 and AML is using OWLAPI version 3, as when I try to load the same ontology using OWLAPI version5 it loads successfully ... Also, using a relatively old version in AML causes some problems in using it. Can you upgrade the OWL API version you are using? or that is a difficult thing to do?