What was directed by a film producer , written by M2 's costume designer and writer , and produced by M0 and M1
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies M0 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies M1 .
?x0 ns:film.film.written_by ?x2 .
?x1 a ns:film.producer .
?x2 ns:film.film_costumer_designer.costume_design_for_film M2 .
?x2 ns:film.writer.film M2
}