question: Which art director that M1 , M2 , and M3 were written by and starred was influenced by M4 and M5
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 a ns:film.film_art_director .
  ?x0 ns:film.actor.film/ns:film.performance.film M1 .
  ?x0 ns:film.actor.film/ns:film.performance.film M2 .
  ?x0 ns:film.actor.film/ns:film.performance.film M3 .
  ?x0 ns:film.writer.film M1 .
  ?x0 ns:film.writer.film M2 .
  ?x0 ns:film.writer.film M3 .
  ?x0 ns:influence.influence_node.influenced_by M4 .
  ?x0 ns:influence.influence_node.influenced_by M5
  }