question: What actor did M2 's writer influence and M1 influence
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 a ns:film.actor .
  ?x0 ns:influence.influence_node.influenced_by ?x1 .
  ?x0 ns:influence.influence_node.influenced_by M1 .
  ?x1 ns:film.writer.film M2
  }