简体   繁体   English

为什么将类写为rdfs:Class和属性写为rdf:Property

[英]Why a class is written as rdfs:Class and a property is written as rdf:Property

There are numerous examples of this. 有很多例子。

Among the many, we can consider this one . 在众多中,我们可以考虑这个

The above one says, 上面说的,

  • rdfs:Class declares a resource as a class for other resources. rdfs:Class将资源声明为其他资源的类。
  • rdf:Property – the class of properties. rdf:Property - 属性类。

Now, my question is, why is a class considered to be defined in RDF schema and property is considered to be simple RDF. 现在,我的问题是,为什么一个类被认为是在RDF模式中定义的,属性被认为是简单的RDF。

The reason is purely historic. 原因纯粹是历史性的。 The RDF model was defined before RDF Schema came along, and it already contained a vocabulary term for the notion of a property, so rdf:Property is part of the RDF namespace. RDF模型是 RDF Schema出现之前定义的,它已经包含了属性概念的词汇表术语,因此rdf:Property是RDF命名空间的一部分。

The notion of explicit classes was first introduced in RDF Schema, however, so it became rdfs:Class . 然而,显式类的概念首先在RDF Schema中引入,因此它变成了rdfs:Class

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

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