SELECT DISTINCT COUNT(?uri) WHERE { ?x <http://dbpedia.org/ontology/hometown> <http://dbpedia.org/resource/New_York> . ?uri <http://dbpedia.org/property/themeMusicComposer> ?x . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/TelevisionShow>}
How many sitcoms are there whose theme music is composed by a New Yorker?
SELECT DISTINCT COUNT ( ?o ) WHERE { ?o rdf:type ontology:Television_Show . ?o property:theme_music_composer ?h . ?h property:hometown resource:New_York }
31
There are [31] television shows composed by someone whose home town is New York.
There are [31] television shows put together by a man whose hometown is New York.