Which screenwriter influenced M1 and was influenced by a screenwriter
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.writer .
?x0 ns:influence.influence_node.influenced M1 .
?x0 ns:influence.influence_node.influenced_by ?x1 .
?x1 a ns:film.writer
}