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

Reasoning error when using HermiT on Protege #186

Open
alcideslopes opened this issue Feb 14, 2023 · 0 comments
Open

Reasoning error when using HermiT on Protege #186

alcideslopes opened this issue Feb 14, 2023 · 0 comments
Assignees
Labels

Comments

@alcideslopes
Copy link

AgrO term

http://purl.obolibrary.org/obo/AGRO_00000325

Bug/Typo/Error description

The HermiT Reasoner is prompting the following error in Protege:

ERROR 16:06:39 An error occurred during reasoning: Non-simple property '<http://purl.obolibrary.org/obo/RO_0000057>' or its inverse appears in the cardinality restriction 'ObjectMinCardinality(2 <http://purl.obolibrary.org/obo/RO_0000057> <http://purl.obolibrary.org/obo/AGRO_00000325>)'.. java.lang.IllegalArgumentException: Non-simple property '<http://purl.obolibrary.org/obo/RO_0000057>' or its inverse appears in the cardinality restriction 'ObjectMinCardinality(2 <http://purl.obolibrary.org/obo/RO_0000057> <http://purl.obolibrary.org/obo/AGRO_00000325>)'. at org.semanticweb.HermiT.structural.ObjectPropertyInclusionManager.rewriteAxioms(ObjectPropertyInclusionManager.java:125) ~[na:na] at org.semanticweb.HermiT.structural.OWLClausification.preprocessAndClausify(OWLClausification.java:161) ~[na:na] at org.semanticweb.HermiT.Reasoner.loadOntology(Reasoner.java:211) ~[na:na] at org.semanticweb.HermiT.Reasoner.<init>(Reasoner.java:202) ~[na:na] at org.semanticweb.HermiT.Reasoner.<init>(Reasoner.java:176) ~[na:na] at org.semanticweb.HermiT.ReasonerFactory.createHermiTOWLReasoner(ReasonerFactory.java:51) ~[na:na] at org.semanticweb.HermiT.ReasonerFactory.createReasoner(ReasonerFactory.java:19) ~[na:na] at org.protege.editor.owl.model.inference.ReasonerUtilities.createReasoner(ReasonerUtilities.java:20) ~[na:na] at org.protege.editor.owl.model.inference.OWLReasonerManagerImpl$ClassificationRunner.ensureRunningReasonerInitialized(OWLReasonerManagerImpl.java:428) ~[na:na] at org.protege.editor.owl.model.inference.OWLReasonerManagerImpl$ClassificationRunner.run(OWLReasonerManagerImpl.java:386) ~[na:na] at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_121]

Your nano-attribution (ORCID)

https://orcid.org/0000-0003-0622-6847

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

No branches or pull requests

2 participants