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