question: Who was influenced by a actor , influenced by M1 , influenced by M2 , and influenced by a costume designer 's spouse
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 a ns:people.person .
  ?x0 ns:influence.influence_node.influenced_by ?x1 .
  ?x0 ns:influence.influence_node.influenced_by ?x2 .
  ?x0 ns:influence.influence_node.influenced_by M1 .
  ?x0 ns:influence.influence_node.influenced_by M2 .
  ?x1 a ns:film.actor .
  ?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 ?x3 .
  ?x3 a ns:film.film_costumer_designer .
  FILTER ( ?x2 != ?x3 )
  }