Which Japanese screenwriter did a male cinematographer of M3 influence
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.writer .
?x0 ns:influence.influence_node.influenced_by ?x1 .
?x0 ns:people.person.nationality ns:m.03_3d .
?x1 ns:film.cinematographer.film M3 .
?x1 ns:people.person.gender ns:m.05zppz
}