SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/ontology/musicBy> <http://dbpedia.org/resource/Emil_Dean_Zoghby> . ?x <http://dbpedia.org/ontology/author> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Musical>}
Who wrote the musical whose composer is Emil Dean Zoghby?
SELECT DISTINCT ?l WHERE { ?l property:music_by resource:Emil_Dean_Zoghby . ?l rdf:type ontology:Musical . ?l property:author ?l }
William Shakespeare
[William Shakespeare] is the writer of the musical whose composer is EmilDeanZoghby.
[William Shakespeare] is the author of the musical, whose compatriot is Emily Deeney.