question: Which cinematographer was a screenwriter that wrote M2 and directed M3 , M4 , and M5
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 a ns:film.cinematographer .
  ?x0 a ns:film.writer .
  ?x0 ns:film.director.film M3 .
  ?x0 ns:film.director.film M4 .
  ?x0 ns:film.director.film M5 .
  ?x0 ns:film.writer.film M2
  }