Which character that M3 's director influenced and M2 was influenced by wrote M1
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:fictional_universe.fictional_character .
?x0 ns:film.writer.film M1 .
?x0 ns:influence.influence_node.influenced M2 .
?x0 ns:influence.influence_node.influenced_by ?x1 .
?x1 ns:film.director.film M3
}