What was M2 's Swedish child 's parent 's German child 's gender
SELECT DISTINCT ?x0 WHERE {
?x0 ^ns:people.person.gender ?x1 .
?x1 ns:people.person.nationality ns:m.0345h .
?x1 ns:people.person.parents|ns:fictional_universe.fictional_character.parents|ns:organization.organization.parent/ns:organization.organization_relationship.parent ?x2 .
?x2 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child ?x3 .
?x3 ns:people.person.nationality ns:m.0d0vqn .
?x3 ns:people.person.parents|ns:fictional_universe.fictional_character.parents|ns:organization.organization.parent/ns:organization.organization_relationship.parent M2
}