Question: What 007 movie did Sam Mendes previously direct?
Sentence: It was directed by Sam Mendes as his second James Bond film following Skyfall, and was written by John Logan, Neal Purvis, Robert Wade and Jez Butterworth.
Answer in sentence: yes