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