Patent ID: 7840584

Claim:
A method for constructing abstract queries defined by logical fields, the method comprising: providing an initial abstract data model defining a plurality of logical fields mapped to physical data having a particular schema; receiving a first abstract query comprising at least one condition and a result criterion, the condition and the result criterion each comprising at least one of the plurality of logical fields; transforming the first abstract query into an executable query with reference to the initial abstract data model; executing the executable query; returning results produced by execution of the executable query; and generating, by operation of one or more computer processors, another abstract data model comprising only the at least one of the plurality of logical fields of the result criterion, and comprising, for each of the at least one of the plurality of logical fields of the result criterion: retrieving, from the initial abstract data model, a logical field definition for logical field; updating the logical field definition to refer to a portion of the results; and adding the updated logical field definition to the another abstract data model.