What production company employed M1 , was founded by a producer of M2 , and employed M3 's spouse
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.production_company .
?x0 ns:business.employer.employees/ns:business.employment_tenure.person ?x1 .
?x0 ns:business.employer.employees/ns:business.employment_tenure.person M1 .
?x0 ns:organization.organization.founders ?x2 .
?x1 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses M3 .
?x2 ns:film.producer.film|ns:film.production_company.films M2 .
FILTER ( ?x1 != M3 )
}