What was M0 's Swedish writer 's spouse 's country of nationality
SELECT DISTINCT ?x0 WHERE {
?x0 ^ns:people.person.nationality ?x1 .
?x1 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x2 .
?x2 ns:film.writer.film M0 .
?x2 ns:people.person.nationality ns:m.0d0vqn .
FILTER ( ?x1 != ?x2 )
}