Question: From how many works is the musical derived, whose lyrics are written by Sheldon Harnick?
SPARQL query:
PREFIX res: <http://dbpedia.org/resource/>
PREFIX prop: <http://dbpedia.org/property/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT COUNT(?uri) WHERE { ?x prop:lyrics <http://dbpedia.org/resource/Sheldon_Harnick> . ?x onto:basedOn ?uri . }