What was written by M0 and executive produced by a film 's executive producer , director , and cinematographer
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.executive_produced_by ?x1 .
?x0 ns:film.film.written_by M0 .
?x1 ns:film.cinematographer.film ?x2 .
?x1 ns:film.director.film ?x2 .
?x1 ns:film.producer.films_executive_produced ?x2 .
?x2 a ns:film.film
}