question: Which writer of M0 and M1 was influenced by and influenced a cinematographer
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 ns:film.writer.film M0 .
  ?x0 ns:film.writer.film M1 .
  ?x0 ns:influence.influence_node.influenced ?x1 .
  ?x0 ns:influence.influence_node.influenced_by ?x1 .
  ?x1 a ns:film.cinematographer
  }