Did a film 's prequel and sequel star M0 , star M1 , and star a actor
SELECT count(*) WHERE {
?x0 ns:film.film.prequel ?x1 .
?x0 ns:film.film.sequel ?x1 .
?x0 ns:film.film.starring/ns:film.performance.actor ?x2 .
?x0 ns:film.film.starring/ns:film.performance.actor M0 .
?x0 ns:film.film.starring/ns:film.performance.actor M1 .
?x1 a ns:film.film .
?x2 a ns:film.actor
}