System and method for processing queries for combined hierarchical dimensions
First Claim
Patent Images
1. A method of querying a plurality of data sources, the method comprising:
- receiving an abstract query for querying the plurality of data sources, wherein the abstract query specifies a first data source with a first level and a second data source with a second level thereby defining a multiple source hierarchical dimension;
generating a first data source specific query specifying the first level of the first data source;
executing the first data source specific query against the first data source to produce results for the first level, wherein the results for the first level include a value for the first level;
generating a context expression for the second data source, wherein the context expression relates the first level to the second level;
generating a second data source specific query specifying the second level and including the context expression for the second data source;
executing the second data source specific query against the second data source to produce results for the second level; and
returning the results for the first level and the results for the second level.
2 Assignments
0 Petitions
Accused Products
Abstract
An abstract query is received for querying data sources for a combined hierarchical dimension having at least one hierarchy. The abstract query is mapped into data source specific queries by generating context expressions according to the at least one hierarchy. The data source specific queries are executed in an order according to the at least one hierarchy to produce value results for the combined hierarchical dimension.
-
Citations
19 Claims
-
1. A method of querying a plurality of data sources, the method comprising:
-
receiving an abstract query for querying the plurality of data sources, wherein the abstract query specifies a first data source with a first level and a second data source with a second level thereby defining a multiple source hierarchical dimension; generating a first data source specific query specifying the first level of the first data source; executing the first data source specific query against the first data source to produce results for the first level, wherein the results for the first level include a value for the first level; generating a context expression for the second data source, wherein the context expression relates the first level to the second level; generating a second data source specific query specifying the second level and including the context expression for the second data source; executing the second data source specific query against the second data source to produce results for the second level; and returning the results for the first level and the results for the second level. - View Dependent Claims (2, 3)
-
-
4. A system for querying a plurality of data sources, the system comprising:
-
a business intelligence module for defining an abstract query specifying multiple levels in multiple data sources, thereby defining a multiple source hierarchical dimension; and a query engine module configured to; generate a first data source specific query specifying a first level of a first data source; execute the first data source specific query against the first data source to produce results for the first level, wherein the results for the first level include a value for the first level; generate a context expression for a second data sour wherein the context expression relates the first level to a second level of a second data source; generate a second data source specific query specifying the second level and including the context expression for the second data source; execute the second data source specific query against the second data source to produce results for the second level; and return the results for the first level and the results for the second level. - View Dependent Claims (5, 6)
-
-
7. A computer readable storage medium, comprising executable instructions to:
-
receive an abstract query specifying first and second levels in a multiple source hierarchical dimension, wherein the first level references a primary first data source, and the second level references a primary second data source; generate a first data source specific query specifying the first level for the first data source; execute the first data source specific query against the first data source to produce results for the first level, wherein the results for the first level include a value for the first level; generate a context expression for the second data source, wherein the context expression relates the first level to the second level; generate a second data source specific query specifying the second level and including the context expression for the second data source; execute the second data source specific query against the second data source to produce results for the second level; and return the results for the first and second levels. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A computer readable storage medium, comprising executable instructions to:
-
receive an abstract drill-down query from a first level in a first data source to a second level in a second data source forming a multiple source hierarchical dimension; generate a first data source specific query specifying the first level for the first data source; execute the first data source specific query against the first data source to produce results for the first level, wherein the results for the first level include a value for the first level; generate a context expression for the second data source, wherein the context expression relates the first level to the second level; generate a second data source specific query specifying the second level and including the context expression for the second data source; execute the second data source specific query against the second data source to produce results for the second level; and return the results for the first and second levels.
-
-
19. A computer readable storage medium, comprising executable instructions to:
-
receive an abstract drill-up query from a first level in a first data source to a second level in a second data source forming a multiple source hierarchical dimension; generate a first data source specific query specifying the first level for the first data source; execute the first data source specific query against the first data source to produce results for the first level, wherein the results for the first level include a value for the first level; generate a context expression for the second data source, wherein the context expression relates the first level to the second level; generate a second data source specific query specifying the second level and including the context expression for the second data source; execute the second data source specific query against the second data source to produce results for the second level; and return the results for the first and second levels.
-
Specification