What was produced by a screenwriter , executive produced by M0 , executive produced by M2 's actor , and written by M1
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.executive_produced_by ?x1 .
?x0 ns:film.film.executive_produced_by M0 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies ?x2 .
?x0 ns:film.film.written_by M1 .
?x1 ns:film.actor.film/ns:film.performance.character M2 .
?x2 a ns:film.writer
}