question: Who was the director when the writer was John Sullivan?
answer: SELECT directed_by FROM table_17641206_4 WHERE written_by = "John Sullivan"
context: CREATE TABLE table_17641206_4 (directed_by VARCHAR, written_by VARCHAR)