What person wrote M1 and edited a film 's sequel
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:people.person .
?x0 ns:film.editor.film ?x1 .
?x0 ns:film.writer.film M1 .
?x1 ns:film.film.prequel ?x2 .
?x2 a ns:film.film
}