What was distributed by M0 , distributed by M1 , and produced by a writer of M2 , M3 , and M4
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M0 .
?x0 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M1 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
?x1 ns:film.writer.film M2 .
?x1 ns:film.writer.film M3 .
?x1 ns:film.writer.film M4
}