What prequel of a sequel of M2 was edited by M1 and written by M0
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.edited_by M1 .
?x0 ns:film.film.sequel ?x1 .
?x0 ns:film.film.written_by M0 .
?x1 ns:film.film.prequel M2
}