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
Hi,
running demo/vertical/define_ontology.py ends up with an error. Minimum working example in Python3, just to demonstrate the problem.
from emmo import get_ontology
emmo = get_ontology()
emmo.load()
onto = get_ontology('onto.owl')
onto.imported_ontologies.append(emmo)
onto.sync_attributes()
onto.sync_reasoner()
... owlready2.base.OwlReadyJavaError: Java error message is: ... Could not load imported ontology: https://emmc.info/emmo-inferred.
I believe that the URI needs to be set differently (I believe should be more like http://www.emmc.info/emmc-csa/... ). I can get further if overloading base_iri='emmo-inferred.owl' in get_ontology() with e.g. base_iri='emmo-core.owl'. It would be also beneficial having ontology source on a local disk since many computers run on intranet without internet access.
Best regards. Vit
The text was updated successfully, but these errors were encountered:
Hi,
running demo/vertical/define_ontology.py ends up with an error. Minimum working example in Python3, just to demonstrate the problem.
from emmo import get_ontology
emmo = get_ontology()
emmo.load()
onto = get_ontology('onto.owl')
onto.imported_ontologies.append(emmo)
onto.sync_attributes()
onto.sync_reasoner()
... owlready2.base.OwlReadyJavaError: Java error message is: ... Could not load imported ontology: https://emmc.info/emmo-inferred.
I believe that the URI needs to be set differently (I believe should be more like http://www.emmc.info/emmc-csa/... ). I can get further if overloading base_iri='emmo-inferred.owl' in get_ontology() with e.g. base_iri='emmo-core.owl'. It would be also beneficial having ontology source on a local disk since many computers run on intranet without internet access.
Best regards. Vit
The text was updated successfully, but these errors were encountered: