What is {type of music} of {music by} of {Beethoven's piano sonatas} ?
What kind of music does Beethoven's piano sonata make of the music?
What is the type of music of the music by of Beethoven's piano sonatas?
SELECT ?w WHERE { ?u property:genre ?w . resource:Piano sonatas property:composer ?u }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q11887907> . ?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/P136> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q11887907 wdt:P86 ?X . ?X wdt:P136 ?answer}