Adventure paths cannot inherently be railroads, because they do not inherently restrain player action and force them down a very specific path that the DM wants them on.
The adventure path might show us that the Duke is behind the current plot and he has the item we are looking for, but we...