Question: Count everyone who studied at an institute which are in Suburbs?
SPARQL query:
PREFIX prop: <http://dbpedia.org/property/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT COUNT(?uri) WHERE { ?x onto:campus <http://dbpedia.org/resource/Suburb> . ?uri prop:education ?x . }