RDF Reference

|  | Search W3Schools : |

HOME | HTML | CSS | XML | JAVASCRIPT | ASP | PHP | SQL | MORE... |  | References | Examples | Forum | About

ADVERTISEMENTS XML Certification Download XML editor Custom Programming |  |

Table of contents

RDF Tutorial
RDF HOME
RDF Intro
RDF Rules
RDF Example
RDF Elements
RDF Containers
RDF Collections
RDF Schema
RDF Dublin Core
RDF OWL
RDF Reference
RDF Reference

Selected Reading

Web Statistics
Web Glossary
Web Hosting
Web Quality
W3Schools Tutorials
W3Schools Forum
Helping W3Schools

# RDF Reference

## The RDF Namespaces

The RDF namespace (xmlns:rdf) is:

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

The RDFS namespace (xmlns:rdfs ) is:

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

## The RDF Extension and Mime Type

The recommended extension for RDF files is *.rdf. However, the extension *.xml is often used to provide compatibility with older xml parsers.

The registered mime type should be "application/rdf+xml".

## RDFS / RDF Classes

Element | 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 Properties

Element | Domain | Range | Description
--- | --- | --- | ---
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 Attributes

Element | Domain | Range | Description
--- | --- | --- | ---
rdf:about |  |  | Defines the resource being described
rdf:Description |  |  | Container for the description of a resource
rdf:resource |  |  | Defines a resource to identify 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 the XML base
xml:lang |  |  | Defines the language of the element content
rdf:aboutEach |  |  | (removed)
rdf:aboutEachPrefix |  |  | (removed)
rdf:bagID |  |  | (removed)

Elements described as (removed) are removed from the latest RDF standard.

Ektron CMS400.NET Version 7.6 delivers all of the flexibility and features you need to deploy the Web site you want, quickly and efficiently. learn more...

6 ways to take your site to the next level with Ektron:

| Create site stickiness through social networking. Keep it personal, relevant and interactive and they'll come back for more.
| Keep it open. Your site needs to be ready and able to connect to outside services. Ektron's open API gives you maximum flexibility.
| Streamline content and document management. Users need to quickly and intuitively find and add information.
| Empower your content authors. Reduce IT bottlenecks by allowing business users to create and edit Web content and forms.
| Climb to the top of search rankings. SEO tools, URL aliasing and eCommerce for your digital marketing strategy
| Add powerful Web 2.0 tools like blogs, wikis, forums, geo-mapping, rating systems and RSS feeds easily.

See why there are 20,000+ Ektron integrations worldwide. Request an INSTANT DEMO or download a FREE TRIAL today.

WEB HOSTING
Password Protect Your Web Pages
$15 Domain Name Registration Save $20 / year!
Buy UK Domain Names Register Domain Names
Cheap Domain Names Cheap Web Hosting
Best Web Hosting
PHP MySQL Hosting
Top 10 Web Hosting
UK Reseller Hosting
Web Hosting
FREE Web Hosting

WEB BUILDING
Website Templates Flash Templates Website Builder Internet Business Opportunity
Custom Programming
FREE Trial or Demo Web Content Manager Forms,Web Alerts,RSS
Download XML editor
FREE Flash Website
FREE Web Templates

EDUCATION
US Web Design Schools
HTML Certification
JavaScript Certification
XML Certification
PHP Certification
ASP Certification

HOME or Top of Page |  | Printer Friendly
W3Schools is for training only. We do not warrant the correctness of its content. The risk from using it lies entirely with the user. While using this site, you agree to have read and accepted our terms of use and privacy policy. Copyright 1999-2009 by Refsnes Data. All Rights Reserved.