What cinematographer was influenced by M2 's male writer , influenced by M1 , and influenced by a cinematographer
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.cinematographer .
?x0 ns:influence.influence_node.influenced_by ?x1 .
?x0 ns:influence.influence_node.influenced_by ?x2 .
?x0 ns:influence.influence_node.influenced_by M1 .
?x1 ns:film.writer.film M2 .
?x1 ns:people.person.gender ns:m.05zppz .
?x2 a ns:film.cinematographer
}