SELECT DISTINCT COUNT(?uri) WHERE { <http://dbpedia.org/resource/Ganges> <http://dbpedia.org/property/city> ?x . ?x <http://dbpedia.org/ontology/leaderName> ?uri . }
How many politicians are there from the city of Ganges?
SELECT DISTINCT COUNT ( ?y ) WHERE { ?k property:leader_name ?y . . resource:Ganges property:city ?k }
9
There are [9] leaders of the city of Ganges.
[9] leaders of the city of Ganges are there.