question: Who was a Swedish film director that M2 influenced , M4 married , and M5 's director influenced
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 a ns:film.director .
  ?x0 a ns:people.person .
  ?x0 ns:influence.influence_node.influenced_by ?x1 .
  ?x0 ns:influence.influence_node.influenced_by M2 .
  ?x0 ns:people.person.nationality ns:m.0d0vqn .
  ?x0 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses M4 .
  ?x1 ns:film.director.film M5 .
  FILTER ( ?x0 != M4 )
  }