Which screenwriter influenced a executive producer of M1 and M2 and was influenced by M3 's star
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.writer .
?x0 ns:influence.influence_node.influenced ?x1 .
?x0 ns:influence.influence_node.influenced_by ?x2 .
?x1 ns:film.producer.films_executive_produced M1 .
?x1 ns:film.producer.films_executive_produced M2 .
?x2 ns:film.actor.film/ns:film.performance.film M3
}