SELECT DISTINCT COUNT(?uri) WHERE {?uri <http://dbpedia.org/property/residence> <http://dbpedia.org/resource/Cape_Town> . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/OfficeHolder>}
How many politicians reside in Cape Town?
SELECT DISTINCT COUNT ( ?g ) WHERE { ?g rdf:type ontology:Office_Holder . ?g property:residence resource:Cape_Town }
2
There are [2] officials residencing in Cape Town.
Cape Town has [2] civil servants.
There are [2] office holders are there whose official residence is location.
There are [2] office holders whose official residence is their place of residence.