Task: Question Generation
Input (English): Context : The Trespasser is a 1929 American Pre-Code film directed and written by Edmund Goulding, starring Gloria Swanson, Robert Ames, Purnell Pratt, Henry B. Walthall, and Wally Albright. 
Answer : Edmund Goulding
Output (English): Who had the role of director in The Trespasser?