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