Who influenced M1 , was influenced by M2 , influenced a film 's writer , and was influenced by M3
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:people.person .
?x0 ns:influence.influence_node.influenced ?x1 .
?x0 ns:influence.influence_node.influenced M1 .
?x0 ns:influence.influence_node.influenced_by M2 .
?x0 ns:influence.influence_node.influenced_by M3 .
?x1 ns:film.writer.film ?x2 .
?x2 a ns:film.film
}