Table: house_elections_1898
Columns: district
incumbent
party
elected
status

Question: Who is the democratic incumbent that was re-elected?
SQL: SELECT "incumbent" FROM house_elections_1898 WHERE "status" = 're-elected' AND "party" = 'democratic'

Question: What year was republican, re-elected incumbent John all barham elected?
SQL: SELECT "elected" FROM house_elections_1898 WHERE "party" = 'republican' AND "status" = 're-elected' AND "incumbent" = 'john all barham'