What film was written by M2 's director and writer and executive produced by M1 's director
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.executive_produced_by ?x1 .
?x0 ns:film.film.written_by ?x2 .
?x1 ns:film.director.film M1 .
?x2 ns:film.director.film M2 .
?x2 ns:film.writer.film M2
}