Which film directed by and edited by M2 's director and writer was written by and edited by M1
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.edited_by ?x1 .
?x0 ns:film.film.edited_by M1 .
?x0 ns:film.film.written_by M1 .
?x1 ns:film.director.film M2 .
?x1 ns:film.writer.film M2
}