Which film director was influenced by M1 's editor and influenced by M2 's prequel 's producer , writer , and star
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.director .
?x0 ns:influence.influence_node.influenced_by ?x1 .
?x0 ns:influence.influence_node.influenced_by ?x2 .
?x1 ns:film.editor.film M1 .
?x2 ns:film.actor.film/ns:film.performance.film ?x3 .
?x2 ns:film.producer.film|ns:film.production_company.films ?x3 .
?x2 ns:film.writer.film ?x3 .
?x3 ns:film.film.sequel M2
}