W3C
Range & Domain predicates Table-of-Contents Example use of the RDF schema
Change-size

Example RDF schema


<RDF xmlns="http://www.w3.org/TR/WD-rdf-syntax#"
     xmlns:rdfs="http://www.w3.org/TR/WD-rdf-schema#">

<Class ID="Document" />

<Class ID="Person" />

<Predicate ID="author">
  <rdfs:comment xml:lang="en">The author of a document</rdfs:Comment>
  <rdfs:comment xml:lang="fr">L'auteur d'un document</rdfs:Comment>
  <rdfs:comment xml:lang="de">Autor eines Dokumentes</rdfs:comment>
  <rdfs:domain resource="#Document" />
  <rdfs:range resource="#Person" />
</Predicate>
</RDF>

Janne Saarela

15 of 22