What was edited by M0 and produced by a company that M2 was distributed by
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:business.employer .
?x1 ns:film.film_distributor.films_distributed/ns:film.film_film_distributor_relationship.film M2
}