What was edited by M0 , directed by a female person , and written by a film director 's child 's parent
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.edited_by M0 .
?x0 ns:film.film.written_by ?x2 .
?x1 a ns:people.person .
?x1 ns:people.person.gender ns:m.02zsn .
?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.parents|ns:fictional_universe.fictional_character.parents|ns:organization.organization.parent/ns:organization.organization_relationship.parent ?x4 .
?x4 a ns:film.director
}