Who influenced M1 and M2 and was influenced by M3 's writer , director , producer , and editor
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:people.person .
?x0 ns:influence.influence_node.influenced M1 .
?x0 ns:influence.influence_node.influenced M2 .
?x0 ns:influence.influence_node.influenced_by ?x1 .
?x1 ns:film.director.film M3 .
?x1 ns:film.editor.film M3 .
?x1 ns:film.producer.film|ns:film.production_company.films M3 .
?x1 ns:film.writer.film M3
}