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