Musterlösung zu Aufgabe 1.3
Aus Semantic-Web-Grundlagen
Version vom 18:30, 6. Okt. 2009 bei Sebastian Rudolph (Diskussion | Beiträge)
<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:ex="http://www.example.org/" > <rdf:Description rdf:about="http://www.example.org/vegetableThaiCurry"> <ex:thaiDishBasedOn rdf:resource="http://www.example.org/coconutMilk" /> </rdf:Description> <rdf:Description rdf:about="http://www.example.org/sebastian"> <rdf:type rdf:resource="http://www.example.org/AllergicToNuts" /> <ex:eats rdf:resource="http://www.example.org/vegetableThaiCurry" /> </rdf:Description> <rdf:Description rdf:about="http://www.example.org/AllergicToNuts"> <rdfs:subClassOf rdf:about="http://www.example.org/Pitiable" /> </rdf:Description> <rdf:Description rdf:about="http://www.example.org/thaiDishBasedOn"> <rdfs:domain rdf:resource="http://www.example.org/Thai" /> <rdfs:range rdf:resource="http://www.example.org/Nutty" /> <rdfs:subPropertyOf rdf:resource="http://www.example.org/hasIngredient" /> </rdf:Description> <rdf:Description rdf:about="http://www.example.org/hasIngredient"> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#ContainerMembershipProperty" /> </rdf:Description> </rdf:RDF>