这是纯RDF或RDF Schema语句吗?

问题描述 投票:0回答:1
<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:contact="http://www.w3.org/2000/10/swap/pim/contact#">

  <contact:Person rdf:about="http://www.w3.org/People/EM/contact#me">
    <contact:fullName>Eric Miller</contact:fullName>
    <contact:mailbox rdf:resource="mailto:[email protected]"/>
    <contact:personalTitle>Dr.</contact:personalTitle> 
  </contact:Person>

</rdf:RDF>

在这个例子中,文档是RDF模式还是纯RDF? RDF Primer文件指出:

     "RDF itself provides no means for defining such application-specific 
classes and properties. Instead, such classes and properties are described 
as an RDF vocabulary, using extensions to RDF provided by RDF Schema... "

在上面的例子中,“Person”和“contact:fullName”等是“特定于应用程序的类和属性”吗?如果是这种情况,RDF是否应始终与RDF Schema一起使用?

rdf semantic-web rdfs
1个回答
0
投票

您的RDF / XML片段序列化了RDF图。该图使用名称空间为http://www.w3.org/2000/10/swap/pim/contact#的属性。取消引用命名空间的URI可能会产生序列化RDF图的文档,该RDF图使用RDF模式词汇表来描述此命名空间中属性的含义。了解图表中使用的属性的含义将使您了解上述RDF / XML序列化的RDF图表的内容。

© www.soinside.com 2019 - 2024. All rights reserved.