question: Who influenced M1 , M2 , and M3 , was influenced by a screenwriter , and influenced M4 's actor
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 a ns:people.person .
  ?x0 ns:influence.influence_node.influenced ?x1 .
  ?x0 ns:influence.influence_node.influenced M1 .
  ?x0 ns:influence.influence_node.influenced M2 .
  ?x0 ns:influence.influence_node.influenced M3 .
  ?x0 ns:influence.influence_node.influenced_by ?x2 .
  ?x1 ns:film.actor.film/ns:film.performance.character M4 .
  ?x2 a ns:film.writer
  }