Question: How many parties have come in power in elections where Y. S. Rajasekhara Reddy won?
SPARQL query: 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  . }
Answer: There are [12] parties who have come in power in elections where Y. S. Rajasekhara Reddy won .