Question: Graduates of Somerville College have been in how many political parties?
SPARQL query:
PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT COUNT(?uri) WHERE { ?x onto:almaMater <http://dbpedia.org/resource/Somerville_College,_Oxford> . ?x onto:party ?uri . }