I'd say it is only railroaded in the sense that it is organized into chapters, and you have to do certain things within each chapter to proceed to the next one.
However, within each chapter, you are relatively free to do whatever you want or in what order you want to do things.
The first few hours are very railroaded, but that's basically the "tutorial area" + first bigger dungeon so you get your "kingdom".