What did M0 write , M1 's editor and costume designer edit , and M3 's male parent direct
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.edited_by ?x2 .
?x0 ns:film.film.written_by M0 .
?x1 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child M3 .
?x1 ns:people.person.gender ns:m.05zppz .
?x2 ns:film.editor.film M1 .
?x2 ns:film.film_costumer_designer.costume_design_for_film M1
}