question: What cinematographer of M0 , M1 , M2 , and M3 was a film 's writer
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 ns:film.cinematographer.film M0 .
  ?x0 ns:film.cinematographer.film M1 .
  ?x0 ns:film.cinematographer.film M2 .
  ?x0 ns:film.cinematographer.film M3 .
  ?x0 ns:film.writer.film ?x1 .
  ?x1 a ns:film.film
  }