摘要 |
A system and method for translating (a universal query language UQL (40, 42) into a relational query language such as SQL (46). The method first determines whether there are any UQL rule properties. If so, the rule is substituted for the rule property. Next, for each resource and resource property, a relational table is assigned and given an ID (fig. 6). Assigned tables are placed into a table list. Following this step, for each resource property, implied conditions are generated and placed into a condition list and if needed, additional tables are generated and assigned ids. Then for each UQL primitive property, a table and column is identified according to a table column and placed into a column list. |