question: Which film director was influenced by a art director , star , and editor of M2 and married M1
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 a ns:film.director .
  ?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 M1 .
  ?x1 ns:film.actor.film/ns:film.performance.film M2 .
  ?x1 ns:film.editor.film M2 .
  ?x1 ns:film.film_art_director.films_art_directed M2 .
  FILTER ( ?x0 != M1 )
  }