question: Who were the candidates in the election where John Beatty was the incumbent? 
answer: SELECT candidates FROM table_1434788_5 WHERE incumbent = "John Beatty"
context: CREATE TABLE table_1434788_5 (candidates VARCHAR, incumbent VARCHAR)