What was written by a film director that influenced M2 and was influenced by M3 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:film.director .
?x1 ns:influence.influence_node.influenced M2 .
?x1 ns:influence.influence_node.influenced_by M3
}