Patent Document ID: 8538976
Application ID: 13026377

Base Claim:
1. A computer-implemented method of integrating a physical query statement in a data abstraction model comprising a first plurality of logical fields used to expose an underlying physical database, the method comprising: parsing the physical query statement to identify a plurality of output fields specified by the physical query statement; upon determining that a first output field of the identified plurality of output fields has a corresponding logical field, of the first plurality of logical fields, mapping the first output field of the physical query statement to the corresponding logical field provided by the data abstraction model; upon determining that a second output field of the identified plurality of output fields does not have any corresponding logical field, generating a second logical field mapping to the second output field, wherein the second logical field includes an access method mapping the second logical field to the second output field; upon determining that a naming conflict exists between the second output field and one of the plurality of logical fields: determining a second name to assign to the second logical field to resolve the determined naming conflict, wherein the second name is different from a first name; and adding the second logical field having the second name to the plurality of logical fields, wherein the naming conflict is resolved without having to replace any logical field in the data abstraction model; and upon determining that no naming conflict exists between the second output field and one of the plurality of logical fields: determining a first name to assign to the second logical field; and adding the second logical field having the first name to the plurality of logical fields.

---

Claim 4:
4. The method of claim 1 , further comprising, providing a query interface to compose abstract queries, wherein the query interface allows a user to select between composing an abstract query from a data abstraction model comprising the first plurality of logical fields and a data abstraction model comprising the plurality of logical fields, the first logical field, and the second logical field.