<?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:em@w3.org"/>
<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模式一起使用?
发布于 2017-12-29 06:49:02
您的RDF/XML片段序列化了RDF图。该图使用名称空间为http://www.w3.org/2000/10/swap/pim/contact#的属性。取消对名称空间的URI的引用可能会产生一个序列化RDF图的文档,该文档使用RDF模式词汇表来描述此名称空间中的属性的含义。了解图形中使用的属性的含义将使您能够理解由上述RDF/XML序列化的RDF图形所表达的内容。
https://stackoverflow.com/questions/48000298
复制相似问题