Question: How many politicians graduated from Stanford University?
SPARQL query:
PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT (COUNT(DISTINCT ?uri) AS ?count) WHERE { ?uri onto:profession res:Politician ; onto:almaMater res:Stanford_University }