What prequel of a film did M1 's cinematographer direct and write
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.sequel ?x2 .
?x0 ns:film.film.written_by ?x1 .
?x1 ns:film.cinematographer.film M1 .
?x2 a ns:film.film
}