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