YouTip LogoYouTip

Rdf Reference

RDF Reference Manual | Tutorial for Beginners

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 File Extensions and MIME Types

The recommended file extension for RDF files is .rdf, however, the extension .XML is often used to be compatible with old XML parsers.

MIME type: "application/rdf+xml".

RDFS / RDF Classes

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:ContainerMembershipProperty Container membership properties Property
rdf:XMLLiteral XML literal values Literal

RDFS / RDF Properties

Element Domain Range Description
rdfs:domain Property Class Domain of resource
rdfs:range Property Class Range of resource
rdfs:subPropertyOf Property Property This property is a subproperty of a property
rdfs:subClassOf Class Class Resource is a subclass of a class
rdfs:comment Resource Literal Human-readable resource description
rdfs:label Resource Literal Human-readable resource label (name)
rdfs:isDefinedBy Resource Resource Definition of resource
rdfs:seeAlso Resource Resource Other information about resource
rdfs:member Resource Resource Member of resource
rdf:first List Resource
rdf:rest List List
rdf:subject Statement Resource Subject of an RDF statement
rdf:predicate Statement Resource Predicate of a resource in an RDF statement
rdf:object Statement Resource Object of an RDF statement
rdf:value Resource Resource value attribute
rdf:type Resource Class Resource is an instance of a class

RDF Attributes

Element Domain Range Description
rdf:about Defines the resource being described
rdf:Description Container for resource description
rdf:resource Defines a resource to determine a property
rdf:datatype Defines the data type of an element
rdf:ID Defines the ID of an element
rdf:li Defines a list
rdf:_ _n_ Defines a node
rdf:nodeID Defines the ID of an element node
rdf:parseType Defines how an element should be parsed
rdf:RDF The root of an RDF document
xml:base Defines XML base
xml:lang Defines the language of the element content
rdf:aboutEach (Removed)
rdf:aboutEachPrefix (Removed)
rdf:bagID (Removed)

Elements described as "Removed" have been deleted from the RDF standard recently.

← Svg IntroRdf Owl β†’