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