×

Database query language transformation method, transformation apparatus and database query system

  • US 9,223,827 B2
  • Filed: 04/03/2008
  • Issued: 12/29/2015
  • Est. Priority Date: 06/23/2006
  • Status: Active Grant
First Claim
Patent Images

1. A method, comprising:

  • transforming a concept-based query into logic rules, said transforming comprising concept to predicate transformation and property to variable transformation based on a pre-determined mapping table, said logic rules comprising an expression of a plurality of conditions and a conclusion, said conclusion being output when all of said plurality of conditions are established;

    checking validity of said logic rules by determining whether said logic rules conform to pre-determined requirements and belong to a range of objects that a computing device can analyze and process, said checking validity of said logic rules comprising;

    syntax checking whether said logic rules conform to defined syntax of a logic rule descriptive language; and

    semantic checking whether said logic rules are logically valid;

    for logic rules determined to be logically invalid, modifying said concept-based query to obtain valid logic rules;

    optimizing logic rules that are valid by establishing a dependency model for relations between predicates in said logic rules, so that said logic rules can be translated into SQL query statements, said dependency model indicating an order for generating said SQL query statements; and

    translating logic rules that have been optimized into said SQL query statements using a pre-determined mapping table, said pre-determined mapping table mapping predicates to relations in a relational database and mapping variables to entities in said relational database.

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