What editor and writer of a prequel and sequel of a film edited , wrote , and directed M0
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.director.film M0 .
?x0 ns:film.editor.film ?x1 .
?x0 ns:film.editor.film M0 .
?x0 ns:film.writer.film ?x1 .
?x0 ns:film.writer.film M0 .
?x1 ns:film.film.prequel ?x2 .
?x1 ns:film.film.sequel ?x2 .
?x2 a ns:film.film
}