owl protege how can I describe a class that has just some properties?

烂漫一生 提交于 2019-12-17 14:54:05

问题


Is it possible in protege (Thus in owl) to describe a class depending if it has some properties?

For example

I have a class Home, and I want to say that every instance that has property1 and property2 and property2 is considered an instance of that class?


回答1:


Suppose you have a class Duck and you want to say that if something walks like a Duck, and talks like a Duck, then it is a Duck. You can do that with a class axiom:

        ((walksLike some Duck) and (talksLike some Duck)) SubClassOf Duck

A subclass axiom like this, where the left hand side is not just a class name, but is a complex class expression, is called a General Class Axiom. You can enter these in Protégé, under the Active Ontology tab:

For more about general class axioms, you may find Being complex on the left-hand-side: General Concept Inclusions useful.



来源:https://stackoverflow.com/questions/29719287/owl-protege-how-can-i-describe-a-class-that-has-just-some-properties

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!