What was directed by M2 's writer and director , edited by a film producer , and written by M0
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.edited_by ?x2 .
?x0 ns:film.film.written_by M0 .
?x1 ns:film.director.film M2 .
?x1 ns:film.writer.film M2 .
?x2 a ns:film.producer
}