"Night on the Galactic Railroad" by Kenji Miyazawa was first published in 1934. It is a classic Japanese fantasy novel.