TASK DEFINITION: A question that is free of any grammatical or logcal errors, should be labeled 'yes', otherwise it should be indicated as 'no'. A question is grammatically correct if all its entities i.e. nouns, verbs, adjectives, prepositions, pronouns, adverbs are at appropriate position. A question is logically correct if the semantic makes sense.
PROBLEM: Sentence: He tried and tried to please every person who came to the store, but they all picked smaller puppies. 
Question: How long did he try to please the persons who came to the store?

SOLUTION: Yes.

PROBLEM: Sentence: Britain finally ceded the island to Spain in the year 1802, under the terms of the Treaty of Amiens. 
Question: How long did it take them to write the treaty?

SOLUTION: Yes.

PROBLEM: Sentence: In this way the other major congressional interests can be brought together in the new committee's work. 
Question: How long did it take to form the new committee?

SOLUTION:
Yes.

