I'm using protege to test OWL Ontologies for my program. Is there a way to ask in the DL Query tab if an entity is a subclass of another entity? The autocomplete tab does not suggest the keyword subclass.
Protege - DL Query and subclasses
3.8k Views Asked by user840718 At
2
There is no concept of ASK queries in the DL Query Tab. The idea is to write Class Expressions and then do inferences based on what you selected in the check box section.
Thus, to check if a class
A
is a subclass of a classB
, the idea would be to useA
and then compute the super classes and check ifB
is contained in the result.See the documentation
An alternative query language would be SPARQL.