SELECT DISTINCT COUNT(?uri) WHERE { ?x <http://dbpedia.org/ontology/almaMater> <http://dbpedia.org/resource/Somerville_College,_Oxford> . ?x <http://dbpedia.org/ontology/party> ?uri . }
Graduates of Somerville College have been in how many political parties?
SELECT DISTINCT COUNT ( ?h ) WHERE { ?p property:alma_mater resource:Somerville_College,_Oxford . ?p property:party ?h . }
13
There are [13] parties of the members whose alma mater is Somerville College, Oxford.
There are [13] party members whose alma mater is Somerville College in Oxford.