question: Who influenced M1 and was influenced by a writer , cinematographer , and producer of M2 , M3 , and M4
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 a ns:people.person .
  ?x0 ns:influence.influence_node.influenced M1 .
  ?x0 ns:influence.influence_node.influenced_by ?x1 .
  ?x1 ns:film.cinematographer.film M2 .
  ?x1 ns:film.cinematographer.film M3 .
  ?x1 ns:film.cinematographer.film M4 .
  ?x1 ns:film.producer.film|ns:film.production_company.films M2 .
  ?x1 ns:film.producer.film|ns:film.production_company.films M3 .
  ?x1 ns:film.producer.film|ns:film.production_company.films M4 .
  ?x1 ns:film.writer.film M2 .
  ?x1 ns:film.writer.film M3 .
  ?x1 ns:film.writer.film M4
  }