What screenwriter was influenced by a film editor , married a Canadian actor , and influenced M1
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.writer .
?x0 ns:influence.influence_node.influenced M1 .
?x0 ns:influence.influence_node.influenced_by ?x1 .
?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.editor .
?x2 a ns:film.actor .
?x2 ns:people.person.nationality ns:m.0d060g .
FILTER ( ?x0 != ?x2 )
}