What art director edited M1 , directed M2 , and wrote a film
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.film_art_director .
?x0 ns:film.director.film M2 .
?x0 ns:film.editor.film M1 .
?x0 ns:film.writer.film ?x1 .
?x1 a ns:film.film
}