When reasoning is activated in a triplestore, the following query
SELECT ?classiri
WHERE {
ex:myElement rdf:type ?classiri
}
will produce as a result:
owl:Thing
ex:Animal
ex:Human
ex:MaleHuman
Is there a way to get only the explicitly asserted axiom as result? (in this case, obviously ex:MaleHuman
)
Note that reasoning cannot be turned off, amongst other reasons because the above is part of a more complex query that needs reasoning.