Which Swedish male spouse of a screenwriter influenced a cinematographer and was influenced by M0
SELECT DISTINCT ?x0 WHERE {
?x0 ns:influence.influence_node.influenced ?x1 .
?x0 ns:influence.influence_node.influenced_by M0 .
?x0 ns:people.person.gender ns:m.05zppz .
?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 ?x2 .
?x1 a ns:film.cinematographer .
?x2 a ns:film.writer .
FILTER ( ?x0 != ?x2 )
}