คู่มืออ้างอิง RDF

RDF 命名空间

RDF 命名空间 (xmlns:rdf):

http://www.w3.org/1999/02/22-rdf-syntax-ns#

RDFS 命名空间 (xmlns:rdfs ):

http://www.w3.org/2000/01/rdf-schema#

RDF 扩展名和 Mime 类型

RDF 文件的推荐扩展名是 *.rdf。不过,*.xml 常用于提供对老式 XML 解析器的兼容性。

已注册的 MIME 类型是 "application/rdf+xml“。”

RDFS / RDF 类

ตัวองค์ประกอบ Class of Subclass of
rdfs:Class All classes  
     
rdfs:Datatype Data types Class
rdfs:Resource All resources Class
     
rdfs:Container Containers Resource
rdfs:Literal Literal values (text and numbers) Resource
     
rdf:List Lists Resource
rdf:Property Properties Resource
rdf:Statement Statements Resource
     
rdf:Alt Containers of alternatives Container
rdf:Bag Unordered containers Container
rdf:Seq Ordered containers Container
     
rdfs:ContainerMembershipProperty Container membership properties Property
rdf:XMLLiteral XML literal values Literal

RDFS / RDF 属性

ตัวองค์ประกอบ ดินแดน ระยะ อธิบาย
rdfs:domain Property Class The domain of the resource
rdfs:range Property Class The range of the resource
rdfs:subPropertyOf Property Property The property is a sub property of a property
       
rdfs:subClassOf Class Class The resource is a subclass of a class
rdfs:comment Resource Literal The human readable description of the resource
rdfs:label Resource Literal The human readable label (name) of the resource
rdfs:isDefinedBy Resource Resource The definition of the resource
rdfs:seeAlso Resource Resource The additional information about the resource
rdfs:member Resource Resource The member of the resource
       
rdf:first List Resource  
rdf:rest List List  
rdf:subject Statement Resource The subject of the resource in an RDF Statement
rdf:predicate Statement Resource The predicate of the resource in an RDF Statement
rdf:object Statement Resource The object of the resource in an RDF Statement
rdf:value Resource Resource The property used for values
rdf:type Resource Class The resource is an instance of a class

คุณสมบัติ RDF

ตัวองค์ประกอบ ดินแดน ระยะ อธิบาย
       
rdf:about     กำหนดทรัพยากรที่ถูกอธิบาย
rdf:Description     ตัวแทนสำหรับการอธิบายทรัพยากร
rdf:resource     กำหนดทรัพยากรที่ใช้ระบุคุณสมบัติ
rdf:datatype     กำหนดชนิดข้อมูลของตัวองค์ประกอบ
rdf:ID     กำหนด ID ของตัวองค์ประกอบ
rdf:li     กำหนดรายการ
rdf:_n     กำหนดตัวเก็บข้อมูล
rdf:nodeID     กำหนด ID ของตัวองค์ประกอบเซ็ต
rdf:parseType     กำหนดวิธีที่ตัวองค์ประกอบควรถูกแปลง
rdf:RDF     รากของเอกสาร RDF
xml:base     กำหนดฐาน XML
xml:lang     กำหนดภาษาของเนื้อหาตัวอิสระ
       
rdf:aboutEach     (removed)
rdf:aboutEachPrefix     (removed)
rdf:bagID     (removed)