RDF Rules


RDF uses Web identifiers (URIs) to identify resources.

RDF uses properties and property values to describe resources.


RDF Resources, Properties, and Property Values

RDF uses Web identifiers to identify things, and describes resources through properties and property values.

Explanation of resources, properties, and property values:

  • ResourceAnything that can have a URI, such as "https://www.example.com//rdf"
  • PropertyIs a resource that has a name, such as "author" or "homepage"
  • Property valueIs the value of a property, such as "David" or "https://www.example.com/" (Note that a property value can be another resource)

The following RDF document can describe the resource "https://www.example.com//rdf":

<?xml version="1.0"?>

<RDF>
  <Description about="https://www.example.com//rdf">
    <author>Jan Egil Refsnes</author>
    <homepage>https://www.example.com/</homepage>
  </Description>
</RDF>

lampThe above is a simplified example. Namespaces are ignored.


RDF Statements

The combination of a resource, a property, and a property value can form aStatement(Known as the statement'sSubject、PredicateandObject)。

See some specific examples of statements to deepen your understanding:

Statement: "The author of https://www.example.com//rdf is David."

  • The subject of the statement is: https://www.example.com//rdf
  • The predicate is: author
  • The object is: David

Statement: "The homepage of https://www.example.com//rdf is https://www.example.com/".

  • The subject of the statement is: https://www.example.com//rdf
  • The predicate is: homepage
  • The object is: https://www.example.com/
Other extensions