What did a screenwriter that M1 and M2 influenced edit
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.edited_by ?x1 .
?x1 a ns:film.writer .
?x1 ns:influence.influence_node.influenced_by M1 .
?x1 ns:influence.influence_node.influenced_by M2
}