Who influenced a writer and cinematographer of M1 and M2 and was influenced by a film producer
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:people.person .
?x0 ns:influence.influence_node.influenced ?x1 .
?x0 ns:influence.influence_node.influenced_by ?x2 .
?x1 ns:film.cinematographer.film M1 .
?x1 ns:film.cinematographer.film M2 .
?x1 ns:film.writer.film M1 .
?x1 ns:film.writer.film M2 .
?x2 a ns:film.producer
}