What did a art director produce and M1 's director and writer edit
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.edited_by ?x1 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies ?x2 .
?x1 ns:film.director.film M1 .
?x1 ns:film.writer.film M1 .
?x2 a ns:film.film_art_director
}