What is {musical instrument} of {written by} of {Partita No. 2 in D minor, BWV 1004} ?
In Partita No.2 in Dminor, BWV 1004 is written in what musical instrument?
Which is the musical instrument with which was written Partita No.2 in D minor, BWV 1004?
SELECT ?f WHERE { ?l property:instrument ?f . resource:Partita_No._2_in_D_minor,_BWV_1004 property:composer ?l }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q625094> . ?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> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?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> ?answer . }
SELECT ?answer WHERE { wd:Q625094 wdt:P86 ?X . ?X wdt:P1303 ?answer}
organ violin viola harpsichord