'(b) List the resources that made a statue. - SPARQL on protege
enter code here RDF schema:
enter code here <rdf:RDF xml:base="http://art.org/">enter code here <rdf:Description rdf:about="#Bacchus">
enter code here <rdf:type rdf:resource="#statue"/>
enter code here art:titleBacchus</art:title>
enter code here art:value2000000</art:value>
enter code here</rdf:Description>
enter code here <rdf:Description rdf:about="#Deluge">
enter code here<krdf:type rdf:resource="#painting"/>
enter code hereamkrt:titleThe Deluge</art:title>
enter code hereart:value3000000</art:value>
enter code here</rdf:Description>
enter code here<rdf:Description rdf:about="#Madonna">
enter code here<rdf:type rdf:resource="#painting"/>
enter code hereart:titleMadonna of the Pinks</art:title>
enter code hereart:value4000000</art:value>
enter code here</rdf:Description>
enter code here<rdfs:Class rdf:about="#painting"/>
enter code here <rdfs:Class rdf:about="#statue"/>
enter code here<art:painter rdf:about="#Michelangelo">
enter code here<art:made rdf:resource="#Deluge"/>
enter code here<art:made rdf:resource="#Bacchus"/>
enter code here<rdf:type rdf:resource="#sculptor"/>
enter code here</art:painter>
enter code here<art:painter rdf:about="#Raphael">
enter code here<art:made rdf:resource="#Madonna"/>
enter code here</art:painter>
enter code here</rdf:RDF>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
