What was produced by a film distributor 's child 's employee and written by M1 's male editor
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
?x0 ns:film.film.written_by ?x2 .
?x1 ns:people.person.employment_history/ns:business.employment_tenure.company ?x3 .
?x2 ns:film.editor.film M1 .
?x2 ns:people.person.gender ns:m.05zppz .
?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.film_distributor
}