What film did a cinematographer write and M1 and M2 direct
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.directed_by M1 .
?x0 ns:film.film.directed_by M2 .
?x0 ns:film.film.written_by ?x1 .
?x1 a ns:film.cinematographer
}