简体   繁体   English

owl:Class和owl:Thing有什么区别?

[英]what is the difference between owl:Class and owl:Thing?

I know that owl:Class is a subclass of rdfs:class and that all OWL classes are members of owl:Class . 我知道owl:Classrdfs:class的子rdfs:class ,并且所有OWL类都是owl:Class成员。 I also know that owl:Thing is at the top of the class hierarchy. 我也知道owl:Thing在类层次结构的顶部。 So what's the difference between owl:Class and owl:Thing ? 那么owl:Classowl:Thing什么区别? Isn't owl:Class at the top of the class hierarchy? owl:Class不在类层次结构的顶部吗?

The most basic concepts in a domain should correspond to classes that are the roots of various taxonomic trees. 域中最基本的概念应对应于作为各种分类树的根的类。 Every individual in the OWL world is a member of the class owl:Thing. OWL世界中的每个人都是owl:Thing类的成员。 Thus each user-defined class is implicitly a subclass of owl:Thing. 因此,每个用户定义的类都隐式是owl:Thing的子类。 Domain specific root classes are defined by simply declaring a named class. 特定于域的根类是通过简单地声明一个命名类来定义的。 OWL also defines the empty class, owl:Nothing. OWL还定义了空类owl:Nothing。

Every class or object is a 'Thing', if you know java, it's like to say every thing is an object, even java.lang.Class inherit from it 每个类或对象都是一个“事物”,如果您知道java,就好像每个事物都是一个对象,甚至java.lang.Class都继承自它。

In practice: owl:Class is the URI used to identify the concept of a class in OWL. 实际上: owl:Class是用于标识OWL中类概念的URI。 It's kind of meta information, it's one of the entity type you can use to create your ontology and represent the domain knowledge (there are also owl:ObjectProperty or owl:NamedIndividual types for instance). 这是一种元信息,它是可用于创建本体并表示领域知识的实体类型之一(例如,还有owl:ObjectPropertyowl:NamedIndividual类型)。

owl:Thing is about what your are trying to represent and model. owl:Thing是关于您要表示和建模的内容。 It's the concept that seats in the top of all other concepts and it has to be present on the top by definition. 它是所有其他概念中最重要的概念,根据定义它必须位于最上面。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM