question: Who married M2 , was influenced by M1 , and married M4 's actor 's Canadian spouse 's spouse
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 a ns:people.person .
  ?x0 ns:influence.influence_node.influenced_by M1 .
  ?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 ?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 M2 .
  ?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:people.person.nationality ns:m.0d060g .
  ?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 ?x3 .
  ?x3 ns:film.actor.film/ns:film.performance.character M4 .
  FILTER ( ?x0 != ?x1 ) .
  FILTER ( ?x0 != M2 ) .
  FILTER ( ?x1 != ?x2 ) .
  FILTER ( ?x2 != ?x3 )
  }