What was written and executive produced by a actor whose child produced M1 , M2 , and M3
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.executive_produced_by ?x1 .
?x0 ns:film.film.written_by ?x1 .
?x1 a ns:film.actor .
?x1 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child ?x2 .
?x2 ns:film.producer.film|ns:film.production_company.films M1 .
?x2 ns:film.producer.film|ns:film.production_company.films M2 .
?x2 ns:film.producer.film|ns:film.production_company.films M3
}