Question: How many people have been trained in an institute located in California?
SPARQL query:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX prop: <http://dbpedia.org/property/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT COUNT(?uri) WHERE { ?x prop:city <http://dbpedia.org/resource/California> . ?uri prop:training ?x . ?uri rdf:type onto:Person}