What was written by M0 , edited by M2 's writer , producer , star , and director , and edited by M1
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.edited_by ?x1 .
?x0 ns:film.film.edited_by M1 .
?x0 ns:film.film.written_by M0 .
?x1 ns:film.actor.film/ns:film.performance.film M2 .
?x1 ns:film.director.film M2 .
?x1 ns:film.producer.film|ns:film.production_company.films M2 .
?x1 ns:film.writer.film M2
}