Who was employed by M1 and M2 and employed by a company whose female employee was employed by M4
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:people.person .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company ?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 .
?x1 a ns:business.employer .
?x1 ns:business.employer.employees/ns:business.employment_tenure.person ?x2 .
?x2 ns:people.person.employment_history/ns:business.employment_tenure.company M4 .
?x2 ns:people.person.gender ns:m.02zsn
}