What did a person that M2 was directed by , written by , and edited by produce and M0 edit
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.edited_by M0 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
?x1 a ns:people.person .
?x1 ns:film.director.film M2 .
?x1 ns:film.editor.film M2 .
?x1 ns:film.writer.film M2
}