question: Which American Labor candidate ran against Democratic candidate Robert F. Wagner?
answer: SELECT american_labor_ticket FROM table_name_51 WHERE democratic_ticket = "robert f. wagner"
context: CREATE TABLE table_name_51 (american_labor_ticket VARCHAR, democratic_ticket VARCHAR)