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