What did a art director of M0 executive produce and a writer of M1 produce
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.executive_produced_by ?x1 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies ?x2 .
?x1 ns:film.film_art_director.films_art_directed M0 .
?x2 ns:film.writer.film M1
}