Question: People from how many political parties exist in Maharashtra?
SPARQL query:
PREFIX prop: <http://dbpedia.org/property/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT COUNT(?uri) WHERE { ?x prop:placeOfBirth <http://dbpedia.org/resource/Maharashtra> . ?x onto:party ?uri  . }