Did a person direct M3 , M4 , and M5 , write M1 and M2 , and write a film
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x0 ns:film.director.film M3 .
?x0 ns:film.director.film M4 .
?x0 ns:film.director.film M5 .
?x0 ns:film.writer.film ?x1 .
?x0 ns:film.writer.film M1 .
?x0 ns:film.writer.film M2 .
?x1 a ns:film.film
}