What writer of M0 was influenced by a producer of M2 and influenced by M1 's executive producer
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.writer.film M0 .
?x0 ns:influence.influence_node.influenced_by ?x1 .
?x0 ns:influence.influence_node.influenced_by ?x2 .
?x1 ns:film.producer.films_executive_produced M1 .
?x2 ns:film.producer.film|ns:film.production_company.films M2
}