What was edited by a screenwriter influenced by M2 and influenced by M3 and M4 and written by M0
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.edited_by ?x1 .
?x0 ns:film.film.written_by M0 .
?x1 a ns:film.writer .
?x1 ns:influence.influence_node.influenced_by M2 .
?x1 ns:influence.influence_node.influenced_by M3 .
?x1 ns:influence.influence_node.influenced_by M4
}