question: Who was influenced by M4 's male art director , influenced by M1 , and influenced by a screenwriter 's spouse
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 a ns:people.person .
  ?x0 ns:influence.influence_node.influenced_by ?x1 .
  ?x0 ns:influence.influence_node.influenced_by ?x2 .
  ?x0 ns:influence.influence_node.influenced_by M1 .
  ?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.film_art_director.films_art_directed M4 .
  ?x2 ns:people.person.gender ns:m.05zppz .
  ?x3 a ns:film.writer .
  FILTER ( ?x1 != ?x3 )
  }