What did a Swedish parent of M4 's female parent produce and M0 and M1 write
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
?x0 ns:film.film.written_by M0 .
?x0 ns:film.film.written_by M1 .
?x1 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child ?x2 .
?x1 ns:people.person.nationality ns:m.0d0vqn .
?x2 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child M4 .
?x2 ns:people.person.gender ns:m.02zsn
}