Question: In how many places can I find people whose alma mater was in bachelor of arts?
SPARQL query:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX prop: <http://dbpedia.org/property/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT COUNT(?uri) WHERE { ?x prop:almaMater <http://dbpedia.org/resource/Bachelor_of_Arts> . ?x onto:residence ?uri . ?uri rdf:type onto:Place}