SELECT DISTINCT COUNT(?uri) WHERE { ?x <http://dbpedia.org/property/place> <http://dbpedia.org/resource/New_York> . ?x <http://dbpedia.org/property/writer> ?uri . }
Count the writers whose work has been played in NY?
SELECT DISTINCT COUNT ( ?p ) WHERE { ?w property:writer ?p . . ?w property:place resource:New_York }
14
There are [14] writers of the works located in New York.
There are [14] authors in New York.
There are [14] writer of the plays whose place is the country.
There are [14] authors of plays from the country.