What screenwriter influenced a person that M2 was directed by and written by
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.writer .
?x0 ns:influence.influence_node.influenced ?x1 .
?x1 a ns:people.person .
?x1 ns:film.director.film M2 .
?x1 ns:film.writer.film M2
}