What was executive produced by and written by a cinematographer that M1 was edited and executive produced by
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.executive_produced_by ?x1 .
?x0 ns:film.film.written_by ?x1 .
?x1 a ns:film.cinematographer .
?x1 ns:film.editor.film M1 .
?x1 ns:film.producer.films_executive_produced M1
}