question: Who influenced M1 's star , director , and costume designer and was influenced by M2 's spouse
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 a ns:people.person .
  ?x0 ns:influence.influence_node.influenced ?x1 .
  ?x0 ns:influence.influence_node.influenced_by ?x2 .
  ?x1 ns:film.actor.film/ns:film.performance.film M1 .
  ?x1 ns:film.director.film M1 .
  ?x1 ns:film.film_costumer_designer.costume_design_for_film M1 .
  ?x2 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses M2 .
  FILTER ( ?x2 != M2 )
  }