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