SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/leader> <http://dbpedia.org/resource/Y._S._Rajasekhara_Reddy> . ?x <http://dbpedia.org/ontology/affiliation> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Election>}
Which party won the elections when Y.S. Rajasekhara Reddy was in power?
SELECT DISTINCT ?e WHERE { ?w property:leader resource:Y._S._Rajasekhara_Reddy . ?w property:affiliation ?e . ?w rdf:type ontology:Election }
Telugu Desam Party, Indian National Congress
[Telugu Desam Party, Indian National Congress] won the elections when Y.S. Rajasekhara Reddy was in power.
[The Telugu Desam Party, the Indian National Congress] won elections when Y.S. Rajasekhara Reddy was in power.
The affiliation of the Elections whose leader is Y. S. Rajasekhara Reddy are [Telugu Desam Party, Indian National Congress].
Ownership of an election led by Y. S. Rajasekhara Reddy [Telugu Desam Party, Indian National Congress].