Which writer of M0 , M1 , and M2 was influenced by M3 , influenced by a film producer , and influenced by M4
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.writer.film M0 .
?x0 ns:film.writer.film M1 .
?x0 ns:film.writer.film M2 .
?x0 ns:influence.influence_node.influenced_by ?x1 .
?x0 ns:influence.influence_node.influenced_by M3 .
?x0 ns:influence.influence_node.influenced_by M4 .
?x1 a ns:film.producer
}