What film editor produced M1 and directed a film 's prequel and sequel
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.editor .
?x0 ns:film.director.film ?x1 .
?x0 ns:film.producer.film|ns:film.production_company.films M1 .
?x1 ns:film.film.prequel ?x2 .
?x1 ns:film.film.sequel ?x2 .
?x2 a ns:film.film
}