Was a cinematographer of M0 M1 's sequel 's cinematographer and writer
SELECT count(*) WHERE {
?x0 ns:film.cinematographer.film ?x1 .
?x0 ns:film.cinematographer.film M0 .
?x0 ns:film.writer.film ?x1 .
?x1 ns:film.film.prequel M1
}