What is the {musical} for {composer} of {Pete Townshend}
Pete Townshend composed which musical?
Which musical did Pete Townshend compose?
SELECT DISTINCT ?h WHERE { ?h property:composer resource:Pete_Townshend . ?h rdf:type ontology:musical }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P86> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q26933> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q2743> } 
 select distinct ?sbj where { ?sbj wdt:P86 wd:Q26933 . ?sbj wdt:P31 wd:Q2743 } 
The Who's Tommy