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
Given the ontology:
Prefix(:=<file:/c/test.owl#>)
Prefix(a:=<file:/c/test.owl#>)
Prefix(rdfs:=<http://www.w3.org/2000/01/rdf-schema#>)
Prefix(owl2xml:=<http://www.w3.org/2006/12/owl2-xml#>)
Prefix(test:=<file:/c/test.owl#>)
Prefix(owl:=<http://www.w3.org/2002/07/owl#>)
Prefix(xsd:=<http://www.w3.org/2001/XMLSchema#>)
Prefix(rdf:=<http://www.w3.org/1999/02/22-rdf-syntax-ns#>)
Ontology(<file:/c/test.owl>
SubClassOf( owl:Thing ObjectOneOf( :ind ) )
ClassAssertion(:A :i)
)
we should have that
reasoner.getEquivalentClasses(dataFactory.getOWLClass(IRI.create("file:/c/test.o
wl#D")));
returns a Node, but NullPointerException is thrown instead.
This was discovered when using HermiT JUnit tests to test the correctness of
the HermiT+ELK reasoner.
The stack traces from those tests which lead to the NullPointerException have
been attached.
The test ontology as a file is also attached, as is a Java file implementing
the above test case.
Original issue reported on code.google.com by andy...@hotmail.co.uk on 13 Sep 2011 at 5:55
The problem was caused by querying the reasoner for a class not occurring in
the signature of the ontology. A fresh entity policy has now been introduced in
the reasoner that can be configured to either return a dummy taxonomy node or
throw a FreshEntityException.
Original comment by frantise...@gmail.com on 19 Jun 2012 at 3:44
Original issue reported on code.google.com by
andy...@hotmail.co.uk
on 13 Sep 2011 at 5:55Attachments:
The text was updated successfully, but these errors were encountered: