Which writer of M0 , M1 , and M2 was influenced by M3 and influenced M4 's editor
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.writer.film M0 .
?x0 ns:film.writer.film M1 .
?x0 ns:film.writer.film M2 .
?x0 ns:influence.influence_node.influenced ?x1 .
?x0 ns:influence.influence_node.influenced_by M3 .
?x1 ns:film.editor.film M4
}