Was M4 distributed by a company whose employee and founder married M2 and M3 and distributed by a film producer
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?x1 a ns:business.employer .
?x1 ns:business.employer.employees/ns:business.employment_tenure.person ?x2 .
?x1 ns:organization.organization.founders ?x2 .
?x2 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 .
?x2 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 .
FILTER ( ?x2 != M2 ) .
FILTER ( ?x2 != M3 ) .
M4 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor ?x0 .
M4 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor ?x1
}