question: What screenwriter employed by M1 , M2 , and M3 married M4 and influenced M6 's Mexican star
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 a ns:film.writer .
  ?x0 ns:influence.influence_node.influenced ?x1 .
  ?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M1 .
  ?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M2 .
  ?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M3 .
  ?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 M4 .
  ?x1 ns:film.actor.film/ns:film.performance.film M6 .
  ?x1 ns:people.person.nationality ns:m.0b90_r .
  FILTER ( ?x0 != M4 )
  }