×

System and method of translating a universal query language to SQL

  • US 20020078041A1
  • Filed: 10/12/2001
  • Published: 06/20/2002
  • Est. Priority Date: 10/13/2000
  • Status: Abandoned Application
First Claim
Patent Images

1. A method of translating a query based on a resource-property model into a statement for querying a relational database, comprising:

  • for each rule property in or derived from the resource-property query, substituting the rule string for the rule property;

    for each resource and resource property in or derived from the query, assigning a relational table having an id to the resource or resource property and entering the assigned table id into a table list;

    for each resource property in or derived from the query, determining any implied conditions based on the resource property and entering the implied conditions into a condition list;

    for each primitive property in or derived from the query, assigning a table and column to the primitive property and entering the table and column into a column list;

    for each predicate in or derived from the query, resolving the predicate into one or more conditions and entering the one or more conditions into the condition list; and

    forming an a relational query statement from the column list, the table list and the condition list.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×