Hi,
I have a model to which I have added only the following:
:Person rdfs:subClassOf :Mammal
:Mammal rdfs:subClassOf :Animal
I also have the following query:
SELECT ?y
WHERE
{ <http://mystuff/esa/Person> <http://www.w3.org/2000/01/rdf-schema#subClassOf>
?y}
With no inferencing I expect this query to only return :Mammal, and it does.
However, if I turn on RDFS, OWL, OWL-MINI or OWL-MICRO inferencing I would
expect it to return :Mammal and :Animal. It does this in RDFS and OWL-MICRO,
but not in OWL or OWL-MINI. If I add the additional statement that
rdfs:subClassOf is transitive then it also works in OWL and OWL-MINI. Any
ideas what is going on or what I am doing wrong or where my thinking is
confused?
I am using jena 2.6.4 and arq 2.8.7
Thanks.
Kent.