What was written by M1 's director and editor , edited by M0 , and produced by a film distributor
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.edited_by M0 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
?x0 ns:film.film.written_by ?x2 .
?x1 a ns:film.film_distributor .
?x2 ns:film.director.film M1 .
?x2 ns:film.editor.film M1
}