What was written by a character that M2 influenced and executive produced by M0
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.executive_produced_by M0 .
?x0 ns:film.film.written_by ?x1 .
?x1 a ns:fictional_universe.fictional_character .
?x1 ns:influence.influence_node.influenced_by M2
}