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