SELECT DISTINCT COUNT(?uri) WHERE { ?x <http://dbpedia.org/property/leader> <http://dbpedia.org/resource/Y._S._Rajasekhara_Reddy> . ?x <http://dbpedia.org/ontology/affiliation> ?uri . }
How many parties have come in power in elections where Y. S. Rajasekhara Reddy won?
SELECT DISTINCT COUNT ( ?e ) WHERE { ?d property:leader resource:Y._S._Rajasekhara_Reddy . ?d property:affiliation ?e . }
12
There are [12] parties who have come in power in elections where Y. S. Rajasekhara Reddy won .
There are [12] parties that came to power in elections won by Y.S. Rajasekhara Reddy.
There are [12] affiliation are there, of the Elections whose leader is him .
There are [12] ties to the election he leads.
There are [12] affiliation are there, of the Elections whose leader is the person .
There is [12] affiliation to elections in which a person is the leader.