What Japanese film director that influenced M1 and was influenced by M2 and M3 did M4 and M5 influence
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.director .
?x0 ns:influence.influence_node.influenced M1 .
?x0 ns:influence.influence_node.influenced_by M2 .
?x0 ns:influence.influence_node.influenced_by M3 .
?x0 ns:influence.influence_node.influenced_by M4 .
?x0 ns:influence.influence_node.influenced_by M5 .
?x0 ns:people.person.nationality ns:m.03_3d
}