What did M0 write , M1 direct , and a art director , producer , and writer of M2 executive produce
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.directed_by M1 .
?x0 ns:film.film.executive_produced_by ?x1 .
?x0 ns:film.film.written_by M0 .
?x1 ns:film.film_art_director.films_art_directed M2 .
?x1 ns:film.producer.film|ns:film.production_company.films M2 .
?x1 ns:film.writer.film M2
}