What was produced by a cinematographer of a film 's sequel and prequel and directed by M0
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.directed_by M0 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
?x1 ns:film.cinematographer.film ?x2 .
?x2 ns:film.film.prequel ?x3 .
?x2 ns:film.film.sequel ?x3 .
?x3 a ns:film.film
}