#9 [html]

RDF Example in Two RDF/XML Document

First document about the university:

<ex:University rdf:about="http://www.berkeley.edu" 
               xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
 <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>

Second document about the instructor:

<ex:Instructor rdf:about="http://www.milowski.com"
               xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
 <ex:name>Alex Milowski</ex:name>
 <ex:teaches rdf:resource="http://www.sims.berkeley.edu/academics/courses/is290-8/s04/"/>
</ex:Instructor>