What screenwriter influenced M1 and M2 , was influenced by M4 's director and executive producer , and was influenced by M3
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.writer .
?x0 ns:influence.influence_node.influenced M1 .
?x0 ns:influence.influence_node.influenced M2 .
?x0 ns:influence.influence_node.influenced_by ?x1 .
?x0 ns:influence.influence_node.influenced_by M3 .
?x1 ns:film.director.film M4 .
?x1 ns:film.producer.films_executive_produced M4
}