SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Indian_general_election,_2004_(Delhi)> <http://dbpedia.org/ontology/affiliation> ?uri. <http://dbpedia.org/resource/Indian_general_election,_2004_(Andhra_Pradesh)> <http://dbpedia.org/ontology/affiliation> ?uri . }
Which party won both the general election and the andhra pradesh election in 2004?
SELECT DISTINCT ?i WHERE { resource:Indian_general_election,_2004_(_Andhra_Pradesh) property:affiliation ?i . . resource:Indian_general_election,_2004_(_Delhi) property:affiliation ?i }
Indian National Congress
[Indian National Congress] is affiliated with both Indian general election, 2004 Delhi and Indian general election, 2004 Andhra Pradesh.
[The Indian National Congress] is associated with both the 2004 parliamentary elections in Delhi and the 2004 parliamentary elections in Andhra Pradesh.