Question: Who won the general elections in India in 2009, and had also won the AP elections 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_(Andhra_Pradesh)> onto:affiliation ?uri. <http://dbpedia.org/resource/Indian_general_election,_2009> onto:affiliation ?uri . }