SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/lyrics> <http://dbpedia.org/resource/Sheldon_Harnick> . ?x <http://dbpedia.org/ontology/basedOn> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Musical>}
What are the musicals based on, whose lyricist was Shelon Harnick?
SELECT DISTINCT ?a WHERE { ?i rdf:type ontology:Musical . ?i property:lyrics resource:Sheldon_Harnick . ?i property:based_on ?a }
answer
The works where the musicals with lyrics from Sheldon Harnick were based are [answer].
The works on which music was based with the texts of Sheldon Harnik are [answer].
The based on of the musicals whose lyrics is Sheldon Harnick are [answer].
Based on music, whose text is Sheldon Harnick, it is written by [answer].