Who influenced M1 , M2 , and M3 and influenced M4 's writer , editor , and star
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:people.person .
?x0 ns:influence.influence_node.influenced ?x1 .
?x0 ns:influence.influence_node.influenced M1 .
?x0 ns:influence.influence_node.influenced M2 .
?x0 ns:influence.influence_node.influenced M3 .
?x1 ns:film.actor.film/ns:film.performance.film M4 .
?x1 ns:film.editor.film M4 .
?x1 ns:film.writer.film M4
}