What was written by M3 's executive producer , cinematographer , and producer and executive produced by M0 , M1 , and M2
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.executive_produced_by M0 .
?x0 ns:film.film.executive_produced_by M1 .
?x0 ns:film.film.executive_produced_by M2 .
?x0 ns:film.film.written_by ?x1 .
?x1 ns:film.cinematographer.film M3 .
?x1 ns:film.producer.films_executive_produced M3 .
?x1 ns:film.producer.film|ns:film.production_company.films M3
}