SELECT DISTINCT COUNT(?uri) WHERE { ?x <http://dbpedia.org/property/lyrics> <http://dbpedia.org/resource/Sheldon_Harnick> . ?x <http://dbpedia.org/ontology/basedOn> ?uri . }
From how many works is the musical derived, whose lyrics are written by Sheldon Harnick?
SELECT DISTINCT COUNT ( ?d ) WHERE { ?w property:based_on ?d . . ?w property:lyrics resource:Sheldon_Harnick }
11
There are [11] works where musicals with lyrics from Sheldon Harnick were based.
There are [11] works on which musicals is based, with lyrics by Sheldon Harnick.
There are [11] work derived from musicals whose lyrics is him .
There are [11] musical derived from Sheldon Harnick's lyrics.