What did M0 write , M2 's executive producer and writer produce , and M1 direct
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.directed_by M1 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
?x0 ns:film.film.written_by M0 .
?x1 ns:film.producer.films_executive_produced M2 .
?x1 ns:film.writer.film M2
}