What is the {dramatico-musical work} for {screenwriter} of {Andrew Lloyd Webber}
What musicals were composed by Andrew Lloyd Webber?
What musicals were written by Andrew Lloyd Webber?
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:dramatico-musical_work . ?q property:screenwriter resource:Andrew_Lloyd_Webber }
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/Q58483083> } 
 select distinct ?sbj where { ?sbj wdt:P58 wd:Q180975 . ?sbj wdt:P31 wd:Q58483083 } 
Cats