Question: What musicals were written by Andrew Lloyd Webber?
Paraphrase: What musicals were composed by Andrew Lloyd Webber?
SPARQL (Wikidata):  select distinct ?sbj where { ?sbj wdt:P58 wd:Q180975 . ?sbj wdt:P31 wd:Q58483083 } 
Answer: Cats