How to request users using OWL DL query in Protege 4?

How can I query individuals in my ontology, here is a description of what I would like to do (similar to SQL queries):

I have three classes (components, functions and polarity). The polarity value can be positive_polarity or negative_polarity, both are subclasses of polarity.

  • a_component hasFeature a_Feature
  • a_Feautre hasPolarity a_Polarity

I would like to list all components that have a positive_polarity value.

How can this be achieved using the DL Query tab in protege 4?

+3
source share
1 answer
component that hasFeature some (feature that hasPolarity some negative_polarity)

provided that there is somewhere somewhere indicated as a type:

feature that hasPolarity some negative_polarity
+1
source

Source: https://habr.com/ru/post/1724483/


All Articles