SELECT DISTINCT COUNT(?uri) WHERE { ?x <http://dbpedia.org/property/headquarters> <http://dbpedia.org/resource/New_York> . ?uri <http://dbpedia.org/property/network> ?x . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/TelevisionShow>}
How many TV shows' networks are headquarterd in NY?
SELECT DISTINCT COUNT ( ?g ) WHERE { ?i property:headquarters resource:New_York . ?g property:network ?i . ?g rdf:type ontology:Television_Show }
1131
There are [1131] television shows broadcasted by networks with headquarters in New York.
[1131] Television shows are broadcast by networks based in New York.