Any time you ask a question, the answer will update your internal distribution of potential future (or present unknown) states of the world. The information gain of a question is the reduction in entropy of your internal future world state distribution. You can assign a value to this information gain using a loss function, which will tell you the expected loss by making the maximum likelihood bet about the future state of the world given your current knowledge of the world. The difference in expected losses is the "value" of the information.
To bring this into the realm of the practical, if there is a payout for knowledge, you should choose to learn things that minimize the chance that you will make a costly bad decision, with an eye to how probable those outcomes are. If there is no payout, you should choose to learn things that will produce the greatest information gain, which is in areas where you are currently very ignorant.
TLDR: Choose to learn things that will help you avoid likely catastrophes when learning for profit, learn a little bit about a lot of very different things when learning for fun.