What did M0 edit and a art director and writer of M1 's sequel edit
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.edited_by ?x1 .
?x0 ns:film.film.edited_by M0 .
?x1 ns:film.film_art_director.films_art_directed ?x2 .
?x1 ns:film.writer.film ?x2 .
?x2 ns:film.film.prequel M1
}