What did M1 's director and art director write and M0 write
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.written_by ?x1 .
?x0 ns:film.film.written_by M0 .
?x1 ns:film.director.film M1 .
?x1 ns:film.film_art_director.films_art_directed M1
}