Who was influenced by M2 's Swedish star and influenced by M5 's female American spouse
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 .
?x1 ns:film.actor.film/ns:film.performance.film M2 .
?x1 ns:people.person.nationality ns:m.0d0vqn .
?x2 ns:people.person.gender ns:m.02zsn .
?x2 ns:people.person.nationality ns:m.09c7w0 .
?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 M5 .
FILTER ( ?x2 != M5 )
}