The knowledge itself can be got for free from a book which is on top of a barrel near 3 wounded soldiers in the Southern Guard Camp.
Also available for 5 energy from a villager there, he's near the Trade manager (Anti), and is talking to two Goblins. Finally, you can get it from Ambrosia, the stable keeper, at 200 amity.