What did M0 executive produce , a film 's cinematographer write , and M1 and M2 write
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.executive_produced_by M0 .
?x0 ns:film.film.written_by ?x1 .
?x0 ns:film.film.written_by M1 .
?x0 ns:film.film.written_by M2 .
?x1 ns:film.cinematographer.film ?x2 .
?x2 a ns:film.film
}