Which film that was executive produced by , starred , and was produced by a screenwriter was written by M2 's director
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.executive_produced_by ?x1 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
?x0 ns:film.film.starring/ns:film.performance.actor ?x1 .
?x0 ns:film.film.written_by ?x2 .
?x1 a ns:film.writer .
?x2 ns:film.director.film M2
}