What did a cinematographer direct and a writer of M1 direct
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.directed_by ?x2 .
?x1 a ns:film.cinematographer .
?x2 ns:film.writer.film M1
}