What is {songwriter} of {Symphonie Fantastique}, that has {plays} is {guitar} ?
"Who is {songwriter} of {Symphonie Fantastique}, which has {plays} is {guitar} ?"
"Who is {songwriter} of {Symphonie Fantastique}, which has {plays} is {guitar} ?"
SELECT ?m WHERE { ?m property:instrument resource:guitar . resource:Symphonie_Fantastique_por_el_culo_te_la_introduzco property:composer ?m }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q462313> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P86>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1303> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q6607> . }
SELECT ?answer WHERE { wd:Q462313 wdt:P86 ?answer . ?answer wdt:P1303 wd:Q6607}
Hector Berlioz