SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Indian_general_election,_2004_(Andhra_Pradesh)> <http://dbpedia.org/ontology/affiliation> ?uri. <http://dbpedia.org/resource/Indian_general_election,_2009> <http://dbpedia.org/ontology/affiliation> ?uri . }
Who won the general elections in India in 2009, and had also won the AP elections in 2004 ?
SELECT DISTINCT ?l WHERE { resource:Indian_general_election,_2004_(_Andhra_Pradesh) property:affiliation ?l . resource:Indian_general_election,_2009 property:affiliation ?l . }
Indian National Congress
The common affiliation of the Indian general election 2004 and Indian general election 2009 is [Indian National Congress].
The common link between India's 2004 parliamentary elections and India's 2009 parliamentary elections is the [Indian National Congress].