Which film director whose employer acquired M5 's employer and acquired M3 and M4 married M1 and M2
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.director .
?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 M1 .
?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:organization.organization.companies_acquired/ns:business.acquisition.company_acquired ?x2 .
?x1 ns:organization.organization.companies_acquired/ns:business.acquisition.company_acquired M3 .
?x1 ns:organization.organization.companies_acquired/ns:business.acquisition.company_acquired M4 .
?x2 ns:business.employer.employees/ns:business.employment_tenure.person M5 .
FILTER ( ?x0 != M1 ) .
FILTER ( ?x0 != M2 )
}