What was distributed by M0 , produced by M1 , produced by M3 's costume designer and writer , and produced by M2
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M0 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies M1 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies M2 .
?x1 ns:film.film_costumer_designer.costume_design_for_film M3 .
?x1 ns:film.writer.film M3
}