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