Which film was written by M1 and starred a editor and director of M2 's prequel
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.starring/ns:film.performance.actor ?x1 .
?x0 ns:film.film.written_by M1 .
?x1 ns:film.director.film ?x2 .
?x1 ns:film.editor.film ?x2 .
?x2 ns:film.film.sequel M2
}