question: What screenwriter influenced M1 , was influenced by M3 's art director , and influenced M2
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 a ns:film.writer .
  ?x0 ns:influence.influence_node.influenced M1 .
  ?x0 ns:influence.influence_node.influenced M2 .
  ?x0 ns:influence.influence_node.influenced_by ?x1 .
  ?x1 ns:film.film_art_director.films_art_directed M3
  }