
Simple O ntologies in RDF and RDF Schema 69
2.8 Exercises
Exercise 2. 1 Consider the following RDF docu ment:
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:iswww="http://sw.edu/#"
>
<rdf:Description rdf:about="http://sw.edu/#germany">
<rdf:type rdf:resource="http://sw.edu/#country" />
</rdf:Description>
<rdf:Description rdf:about="http://sw.edu/#capital_of">
<rdf:type
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/
>
<rdfs:domain rdf:resource="http://sw.edu/#city" />
<rdfs:range rdf:resource="http://sw.edu/#country" />
</rdf:Description>
<rdf:Description rdf:about="http://sw.edu/#country"> ...