Question: Count everyone who lives in a place where Indian English is an official language?
SPARQL query:
PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT COUNT(?uri) WHERE { ?x onto:officialLanguage <http://dbpedia.org/resource/Indian_English> . ?uri onto:residence ?x . }