question: Who's the Socialist ticket with a Democratic ticket of herbert h. lehman?
answer: SELECT socialist_ticket FROM table_name_5 WHERE democratic_ticket = "herbert h. lehman"
context: CREATE TABLE table_name_5 (socialist_ticket VARCHAR, democratic_ticket VARCHAR)