question: Who influenced M1 , influenced M2 , influenced a cinematographer 's spouse , and married M4 's writer
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 a ns:people.person .
  ?x0 ns:influence.influence_node.influenced ?x1 .
  ?x0 ns:influence.influence_node.influenced M1 .
  ?x0 ns:influence.influence_node.influenced M2 .
  ?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 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 .
  ?x2 ns:film.writer.film M4 .
  ?x3 a ns:film.cinematographer .
  FILTER ( ?x0 != ?x2 ) .
  FILTER ( ?x1 != ?x3 )
  }