Question: Who won the general elections in India in 2009, and had also won the AP elections in 2004 ?
SPARQL query: 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 . }
Answer: The common affiliation of the Indian general election 2004 and Indian general election 2009 is [Indian National Congress].