What was directed by M0 and written by a film 's costume designer , writer , and director
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.directed_by M0 .
?x0 ns:film.film.written_by ?x1 .
?x1 ns:film.director.film ?x2 .
?x1 ns:film.film_costumer_designer.costume_design_for_film ?x2 .
?x1 ns:film.writer.film ?x2 .
?x2 a ns:film.film
}