question: Who married M1 , was influenced by M3 's writer and director , and was influenced by a production company 's founder
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: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:organization.organization_founder.organizations_founded ?x3 .
  ?x2 ns:film.director.film M3 .
  ?x2 ns:film.writer.film M3 .
  ?x3 a ns:film.production_company .
  FILTER ( ?x0 != M1 )
  }