What did M0 write and a cinematographer , art director , and costume designer of a film direct
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.written_by M0 .
?x1 ns:film.cinematographer.film ?x2 .
?x1 ns:film.film_art_director.films_art_directed ?x2 .
?x1 ns:film.film_costumer_designer.costume_design_for_film ?x2 .
?x2 a ns:film.film
}