Did a film 's producer write M1 , edit M0 , and direct M3 's sequel
SELECT count(*) WHERE {
?x0 ns:film.director.film ?x1 .
?x0 ns:film.editor.film M0 .
?x0 ns:film.producer.film|ns:film.production_company.films ?x2 .
?x0 ns:film.writer.film M1 .
?x1 ns:film.film.prequel M3 .
?x2 a ns:film.film
}