QUERY BASED RULE SETS
First Claim
Patent Images
1. A computer-implemented method for processing an abstract rule, comprising:
- receiving an abstract rule having a conditional statement and a consequential statement;
wherein the consequential statement defines a particular recommendation that is returned when the conditional statement is satisfied;
wherein the conditional statement and the consequential statement are defined using logical field definitions defined in an abstraction model that models underlying physical data in a manner making a schema of the physical data transparent to a user of the abstraction model;
determining one or more functions required to evaluate the conditional statement;
determining at least one function, from the one or more required functions, that can be processed by a query engine;
generating a query statement comprising the determined at least one function, such that the resulting query statement evaluates a portion of the conditional statement;
wherein the resulting query statement is formatted for processing by the query engine;
determining at least one remaining function of the one or more required functions, wherein the at least one remaining function is not included in the query statement; and
transforming the at least one remaining function into an executable rule, wherein the executable rule is formatted for processing by a rule engine according to the determined logical sequence.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the invention provide techniques for processing abstract rule sets in a query engine. In general, the functions and Boolean logic incorporated in an abstract rule are analyzed to determine whether the rule may be processed by a query engine. As a result, the abstract rule as a whole may be processed by a query engine, may be processed in a rule engine, or may be processed in two stages in a query engine and a rule engine.
-
Citations
25 Claims
-
1. A computer-implemented method for processing an abstract rule, comprising:
-
receiving an abstract rule having a conditional statement and a consequential statement;
wherein the consequential statement defines a particular recommendation that is returned when the conditional statement is satisfied;
wherein the conditional statement and the consequential statement are defined using logical field definitions defined in an abstraction model that models underlying physical data in a manner making a schema of the physical data transparent to a user of the abstraction model;determining one or more functions required to evaluate the conditional statement; determining at least one function, from the one or more required functions, that can be processed by a query engine; generating a query statement comprising the determined at least one function, such that the resulting query statement evaluates a portion of the conditional statement;
wherein the resulting query statement is formatted for processing by the query engine;determining at least one remaining function of the one or more required functions, wherein the at least one remaining function is not included in the query statement; and transforming the at least one remaining function into an executable rule, wherein the executable rule is formatted for processing by a rule engine according to the determined logical sequence. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer readable storage medium containing a program which, when executed, performs an operation, comprising:
-
receiving an abstract rule having a conditional statement and a consequential statement;
wherein the consequential statement defines a particular recommendation that is returned when the conditional statement is satisfied;
wherein the conditional statement and the consequential statement are defined using logical field definitions defined in an abstraction model that models underlying physical data in a manner making a schema of the physical data transparent to a user of the abstraction model;determining one or more functions required to evaluate the conditional statement; determining at least one function, from the one or more required functions, that can be processed by a query engine; generating a query statement comprising the determined at least one function, such that the resulting query statement evaluates a portion of the conditional statement;
wherein the resulting query statement is formatted for processing by the query engine;determining at least one remaining function of the one or more required functions, wherein the at least one remaining function is not included in the query statement; and transforming the at least one remaining function into an executable rule, wherein the executable rule is formatted for processing by a rule engine according to the determined logical sequence. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A system, comprising:
-
a processor; and a memory containing a program configured to process an abstract rule by performing an operation, comprising; receiving an abstract rule having a conditional statement and a consequential statement;
wherein the consequential statement defines a particular recommendation that is returned when the conditional statement is satisfied;
wherein the conditional statement and the consequential statement are defined using logical field definitions defined in an abstraction model that models underlying physical data in a manner making a schema of the physical data transparent to a user of the abstraction model;generating a query statement comprising at least one function required to evaluate a portion of the conditional statement, wherein the query statement is formatted for processing by the query engine. - View Dependent Claims (16, 17, 18, 19)
-
-
20. A computer-implemented method for processing an abstract rule, comprising:
-
receiving an abstract rule having a conditional statement and a consequential statement;
wherein the consequential statement defines a particular recommendation that is returned when the conditional statement is satisfied;
wherein the conditional statement and the consequential statement are defined using logical field definitions defined in an abstraction model that models underlying physical data in a manner making a schema of the physical data transparent to a user of the abstraction model;generating a query statement comprising at least one function required to evaluate a portion of the conditional statement, wherein the query statement is formatted for processing by the query engine. - View Dependent Claims (21, 22, 23, 24, 25)
-
Specification