Question: What are the musicals based on, whose lyricist was Shelon Harnick?
SPARQL query: 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>}
Answer: The works where the musicals with lyrics from Sheldon Harnick were based are [Tenderloin (novel), Samuel Hopkins Adams, Frederic Morton, Miklós László, New York City, Frank Capra, It's a Wonderful Life, Frank R. Stockton, Jules Feiffer, Mark Twain, Tevye].