What is the {musical} for {screenwriter} of {Andrew Lloyd Webber}
Which melodic did Andrew Lloyd Webber write?
Which musical did Andrew Lloyd Webber write?
SELECT DISTINCT ?w WHERE { ?w property:screenwriter resource:Andrew_Lloyd_Webber . ?w 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/P58> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q180975> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q2743> } 
 select distinct ?sbj where { ?sbj wdt:P58 wd:Q180975 . ?sbj wdt:P31 wd:Q2743 } 
Cats