Reputation: 31
How do I query individulas in my ontology, here is a description of what I would like to do (similar to SQL queries):
I have three classes (components, features, and polarity). The polarity value can be positive_polarity or negative_polarity, both are subclasses of polarity.
I would like to list all components which have a positive_polarity value.
How can this be achieved using the DL Query tab in protege 4?
Upvotes: 3
Views: 7794
Reputation: 5509
component that hasFeature some (feature that hasPolarity some negative_polarity)
provided that there's a feature in there somewhere asserted as type:
feature that hasPolarity some negative_polarity
Upvotes: 2