RDF Namespace ¶
RDF namespace (xmlns:rdf): http://www.w3.org/1999/02/22-rdf-syntax-ns#
RDF namespace (xmlns:rdfs): http://www.w3.org/2000/01/rdf-schema#
RDF extension and MIME type ¶
The recommended extension for RDF files is .rdf However, the extension .XML Is often used to be compatible with older XML parsers.
MIME type: “application/rdf+xml” .
RDFS / RDF class ¶
element | Class | Subclass |
|---|---|---|
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:ContainerMembers hipProperty | Container membership properties | Property |
Rdf:XMLLiteral | XML literal values | Literal |
RDFS / RDF attribute ¶
element | Domain | Range | Description |
|---|---|---|---|
Rdfs:domain | Property | Class | Resource domain |
Rdfs:range | Property | Class | Scope of resources |
Rdfs:subPropertyOf | Property | Property | This attribute is a child of an attribute |
Rdfs:subClassOf | Class | Class | A resource is a subclass of a class |
Rdfs:comment | Resource | Literal | Human readable resource description |
Rdfs:label | Resource | Literal | Human readable resource tag (name) |
Rdfs:isDefinedBy | Resource | Resource | Definition of resources |
Rdfs:seeAlso | Resource | Resource | Additional information about resources |
Rdfs:member | Resource | Resource | Members of the resource |
Rdf:first | List | Resource | |
Rdf:rest | List | List | |
Rdf:subject | Statement | Resource | A resource subject stated by RDF |
Rdf:predicate | Statement | Resource | Predicates for resources stated in a RDF |
Rdf:object | Statement | Resource | A resource object stated by RDF |
Rdf:value | Resource | Resource | Value attribute |
Rdf:type | Resource | Class | A resource is an instance of a class |
RDF attribute ¶
element | Domain | Range | Description |
|---|---|---|---|
Rdf:about | Define the resources described | ||
Rdf:Description | Container for resource description | ||
Rdf:resource | Define a resource to determine an attribute | ||
Rdf:datatype | Define the data type of an element | ||
Rdf:ID | Define the ID of an element | ||
Rdf:li | Definition list | ||
Rdf:_n | Define a node | ||
Rdf:nodeID | Define the ID of the element node | ||
Rdf:parseType | Define how elements should be parsed | ||
Rdf:RDF | The root of an RDF document | ||
Xml:base | Defines the basis of XML | ||
Xml:lang | The language that defines the content of an element | ||
Rdf:aboutEach | (delete) | ||
Rdf:aboutEachPrefix | (delete) | ||
Rdf:bagID | (delete) |
The one described as “deleted” is the most recently deleted element from the RDF standard.