Task: Text to Code
Input (English): Query: SELECT count(*) WHERE {
M0 a ns:film.cinematographer .
M0 ns:film.editor.film M2 .
M0 ns:film.producer.films_executive_produced M2 .
M0 ns:film.writer.film M2
} Question: Was M0 a cinematographer that wrote , edited , and executive produced M2
Output (English): 1