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
I am using openllet to infer axioms given an ontology and I think there is an axiom missing in some cases. I am not 100% sure if the axiom should be inferred, but HermiT does infer the "missing" equivalence axiom. Here is a minimal example for reproduction:
ontology:
I discovered a similar case for dataProperties. I add the details here as I assume this is related to the same root cause.
For the following ontology, Openllet classifies the ontology as consistent although it is not. This is caused by the fact that the assertion EquivalentObjectProperties(:d owl:bottomDataProperty) is (wrongly) not inferred.
Ontology:
Prefix(:=<http://www.example.org/reasonerTester#>)
Prefix(rdfs:=<http://www.w3.org/2000/01/rdf-schema#>)
Ontology (
Declaration(NamedIndividual(:a))
Declaration(DataProperty(:d))
Declaration(DataProperty(:ds))
# this assertion triggers the inconsistency
ClassAssertion(
DataSomeValuesFrom(
:d
DataIntersectionOf(
rdfs:Literal
DataOneOf("data")
)
)
:a
)
# next two axioms should lead to the inference that :dp=bottomDataProperty, but Openllet does not infer this
DisjointClasses(
DataSomeValuesFrom(:d rdfs:Literal)
DataSomeValuesFrom(:ds rdfs:Literal)
)
EquivalentDataProperties( :d :ds )
)
Call from program:
OWLOntologyDocumentSource source = new FileDocumentSource(ontFile, new FunctionalSyntaxDocumentFormat());
OWLOntologyManager manager = OWLManager.createOWLOntologyManager();
ont = manager.loadOntologyFromOntologyDocument(source);
OWLReasoner openllet = OpenlletReasonerFactory.getInstance().createReasoner(ont);
openllet.isConsistent()
I am using openllet to infer axioms given an ontology and I think there is an axiom missing in some cases. I am not 100% sure if the axiom should be inferred, but HermiT does infer the "missing" equivalence axiom. Here is a minimal example for reproduction:
ontology:
call from program:
Openllet does not infer any axiom, but the following should be inferred:
The text was updated successfully, but these errors were encountered: