CONVERTING A DATABASE QUERY TO A MULTI-DIMENSIONAL EXPRESSION QUERY
First Claim
Patent Images
1. An article of manufacture, comprising:
- a machine readable medium having instructions which when executed by a machine cause the machine to perform operations comprising;
receiving a normalized query;
parsing the normalized query to determine a result object, a data source, and a normalized filter condition;
translating the result object to a first part of a multi-dimensional expression query;
translating the normalized filter condition to a second part of the multi-dimensional expression query by translating the normalized operators and predicates in the normalized filter condition based on multi-dimensional expression translation rules;
translating the data source to a third part of the multi-dimensional expression query; and
merging the first part, the second part and the third part to form the multi-dimensional expression query.
4 Assignments
0 Petitions
Accused Products
Abstract
Disclosed is a method and system for receiving a query in a first format, parsing the query to determine a result object, a data source and a filter condition in the query. The filter condition is converted to a normalized filter condition by analyzing a semantic context of one or more member sets in the filter condition, converting the one or more member sets into a normal form and replacing logical operators between the one or more member sets with normalized operators. The normalized filter condition along with the result object and the data source is then translated to a multi-dimensional database query in a second format.
-
Citations
20 Claims
-
1. An article of manufacture, comprising:
a machine readable medium having instructions which when executed by a machine cause the machine to perform operations comprising; receiving a normalized query; parsing the normalized query to determine a result object, a data source, and a normalized filter condition; translating the result object to a first part of a multi-dimensional expression query; translating the normalized filter condition to a second part of the multi-dimensional expression query by translating the normalized operators and predicates in the normalized filter condition based on multi-dimensional expression translation rules; translating the data source to a third part of the multi-dimensional expression query; and merging the first part, the second part and the third part to form the multi-dimensional expression query. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
11. A computer implemented method for translating a normalized query to a multi-dimensional database query, the method comprising:
-
receiving a normalized query; parsing the normalized query to determine a result object, a data source, and a normalized filter condition in the normalized query; translating the result object to a first part of a multi-dimensional expression query; translating the normalized filter condition to a second part of the multi-dimensional expression query by translating the normalized operators and predicates in the normalized filter condition based on multi-dimensional expression translation rules; translating the data source to a third part of the multi-dimensional expression query; and merging the first part, the second part and the third part to form the multi-dimensional expression query. - View Dependent Claims (12, 13, 14, 15, 16)
-
-
17. A computer system including a processor and a memory, the memory comprising instructions that are executable by the processor, the instructions comprising:
-
a parser to retrieve a result object, and a data source from a query; a multi-dimensional expression engine in communication with the parser to convert the result object, the data source and a normalized filter condition of the query to an intermediate multi-dimensional expression query based on the multi-dimensional expression rules; and a translator in communication with the multi-dimensional expression engine to translate the intermediate multi-dimensional expression query to a multi-dimensional expression query based on syntax of a multi-dimensional expression query language. - View Dependent Claims (18, 19, 20)
-
Specification