Which film that was directed by and starred a cinematographer and writer of M2 starred M1
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.starring/ns:film.performance.actor ?x1 .
?x0 ns:film.film.starring/ns:film.performance.actor M1 .
?x1 ns:film.cinematographer.film M2 .
?x1 ns:film.writer.film M2
}