Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing https://emmc.info/emmo-inferred #16

Closed
vit-smilauer opened this issue Nov 4, 2019 · 1 comment
Closed

Missing https://emmc.info/emmo-inferred #16

vit-smilauer opened this issue Nov 4, 2019 · 1 comment

Comments

@vit-smilauer
Copy link

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

@jesper-friis
Copy link
Collaborator

jesper-friis commented Jan 8, 2020

Thanks for reporting this. It should have been fixed in branch 1.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants