Question: Which party won both the general election and the andhra pradesh election in 2004?
SPARQL query:
PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Indian_general_election,_2004_(Delhi)> onto:affiliation ?uri. <http://dbpedia.org/resource/Indian_general_election,_2004_(Andhra_Pradesh)> onto:affiliation ?uri . }