What prequel of a film 's sequel was written and directed by M0
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.directed_by M0 .
?x0 ns:film.film.sequel ?x1 .
?x0 ns:film.film.written_by M0 .
?x1 ns:film.film.prequel ?x2 .
?x2 a ns:film.film
}