The answer will be 'yes' if the provided sentence contains an explicit mention that answers the given question. Otherwise, the answer should be 'no'. Instances where the answer is implied from the sentence using "instinct" or "common sense" (as opposed to being written explicitly in the sentence) should be labeled as 'no'.
Example: Sentence: Jack played basketball for an hour after school, after which he was very tired. 
Question: How long did Jack play basketball?
Example solution: Yes.
Example explanation: The answer to this question (an hour)  lies in its text.

Problem: Sentence: Allan crouched over his desk once more, pen in hand and mind blank. 
Question: How long did it take for Allan to crouch over his desk?

Solution: No.