Which art director and director of M1 wrote M0 and wrote a film
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.director.film M1 .
?x0 ns:film.film_art_director.films_art_directed M1 .
?x0 ns:film.writer.film ?x1 .
?x0 ns:film.writer.film M0 .
?x1 a ns:film.film
}