question: Who were the candidates when Barney Frank was the incumbent?
answer: SELECT candidates FROM table_1341395_22 WHERE incumbent = "Barney Frank"
context: CREATE TABLE table_1341395_22 (candidates VARCHAR, incumbent VARCHAR)