SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/ontology/basedOn> <http://dbpedia.org/resource/Mary_Poppins> . ?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 based on Mary Poppins?
SELECT DISTINCT ?t WHERE { ?q property:based_on resource:Mary_Poppins . ?q rdf:type ontology:Musical . ?q property:author ?t }
Julian Fellowes
[Julian Fellowes] is the writter of the musical based on Mary Poppins.
[Julian Fellowes] is the author of a musical based on Mary Pfeiffer.