What is {musical key} of {Piano Concerto}, that has {prequel is} is {D minor} ?
"Which is {musical key} of {Piano Concerto}, whose {prequel is} is {D minor} ?"
"Which is {musical key} of {Piano Concerto}, whose {prequel is} is {D minor} ?"
SELECT ?d WHERE { resource:Piano_Concerto property:tonality ?d . ?d property:follows resource:D_minor }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q44261> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P826>. ?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/P155> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q283903> . }
SELECT ?answer WHERE { wd:Q44261 wdt:P826 ?answer . ?answer wdt:P155 wd:Q283903}
A minor