what election did rutherford b. hayes win?
Entity
m.0b23c
United States presidential election, 1876
class entity
government.election m.06g42
government.election government.politician
Election contest Rutherford B. Hayes
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.06g42 } 
?x0 :government.election.winner ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND government.election (JOIN government.election.winner m.06g42))