question: Who was influenced by M2 , influenced M1 , and was influenced by a film 's writer , director , and costume designer
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 .
  ?x0 ns:influence.influence_node.influenced_by M2 .
  ?x1 ns:film.director.film ?x2 .
  ?x1 ns:film.film_costumer_designer.costume_design_for_film ?x2 .
  ?x1 ns:film.writer.film ?x2 .
  ?x2 a ns:film.film
  }