#8 [xhtml]

RDF Example in One RDF/XML Document

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:ex="urn:publicid:IDN+cde.berkeley.edu:rdf:ex" >
<ex:University rdf:about="http://www.berkeley.edu">
 <ex:name>UC Berkeley</ex:name>
 <ex:contains>
 <ex:School rdf:about="http://sims.berkeley.edu">
  <ex:name>SIMS</ex:name>
  <ex:offers>
   <ex:Class rdf:about="http://www.sims.berkeley.edu/academics/courses/is290-8/s04/">
    <ex:name>XML and Related Technologies</ex:name>
    <ex:student>Jane Smith</ex:student>
    <ex:student>John Doe</ex:student>
   </ex:Class>
  </ex:offers>
 </ex:School>
 </ex:contains>
</ex:University>
<ex:Instructor rdf:about="http://www.milowski.com">
 <ex:name>Alex Milowski</ex:name>
 <ex:teaches rdf:resource="http://www.sims.berkeley.edu/academics/courses/is290-8/s04/"/>
</ex:Instructor>
</rdf:RDF>