What film editor whose employer distributed M3 did M1 influence and M2 marry
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.editor .
?x0 ns:influence.influence_node.influenced_by M1 .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company ?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 M2 .
?x1 ns:film.film_distributor.films_distributed/ns:film.film_film_distributor_relationship.film M3 .
FILTER ( ?x0 != M2 )
}