Patent ID: 7783643

Claim:
A computer program comprising instructions stored in a memory that, when executed by a processor, cause the processor to: perform a pre-processing stage by parsing documents contained in a collection with a grammar in order to identify one or more concepts contained therein, and assign concept labels to the documents contained in the collection according to the grammar; and perform a post-processing stage to apply the grammar to a query to convert the query to one or more concepts and map the concepts to the concept labels that match the concepts, wherein the query is normalized, the normalized query is parsed and converted into fragments according to a feature lexicon, the fragments are inflated by selectively merging state information provided by a session service with a meaning representation for the query, and the inflated fragments are converted into a meaning resolution through a meaning resolution stage that determines whether there is a valid interpretation of a key-value grouping of each of the fragments, such that the meaning resolved fragments are associated with the concepts.