question: When John Emanuel ran under the Socialist Labor ticket who ran under the Democratic ticket?
answer: SELECT democratic_ticket FROM table_name_99 WHERE socialist_labor_ticket = "john emanuel"
context: CREATE TABLE table_name_99 (democratic_ticket VARCHAR, socialist_labor_ticket VARCHAR)