What did M0 write , M1 produce , and M2 's cinematographer , costume designer , and director executive produce
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.executive_produced_by ?x1 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies M1 .
?x0 ns:film.film.written_by M0 .
?x1 ns:film.cinematographer.film M2 .
?x1 ns:film.director.film M2 .
?x1 ns:film.film_costumer_designer.costume_design_for_film M2
}