What was written by M0 , written by a screenwriter , and produced by a film distributor whose employee edited M3
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
?x0 ns:film.film.written_by ?x2 .
?x0 ns:film.film.written_by M0 .
?x1 a ns:film.film_distributor .
?x1 ns:business.employer.employees/ns:business.employment_tenure.person ?x3 .
?x2 a ns:film.writer .
?x3 ns:film.editor.film M3
}