what election did barack hussein obama win?
Entity Entity Entity
m.0g4_c19 m.0b_z6h m.024jvz
United States Presidential Election 2012 Democratic Party presidential primaries, 2008 United States presidential election, 2008
class entity
government.election m.02mjmr
government.election government.politician
Election contest barack hussein obama
none none
government.election.winner
Winner(s)
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX : <http://rdf.freebase.com/ns/> 
SELECT (?x0 AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :government.election . 
VALUES ?x1 { :m.02mjmr } 
?x0 :government.election.winner ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND government.election (JOIN government.election.winner m.02mjmr))