IP Library › Granted Patent US 9,251,238
Granted Patent B2
US 9,251,238 · App. 14/618,803 · Granted Feb 2, 2016

Data warehouse queries using SPARQL

Inventors: Aline Senart (Le Bar sur Loup, FR); Corentin Follenfant (Antibes, FR); Anne-Elisabeth Gazet (Antibes, FR)
Assignee: SAP SE
G06F17/30592G06F17/30533G06F17/30563G06F17/30731G06F17/30917
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,251,238
App. No.
14/618,803
Filed
Feb 10, 2015
Granted
Feb 2, 2016
Kind
B2
Examiner
LY, ANH
Art Unit
2162
USPC
707/605
Abstract

Disclosed is a system allowing to query data warehouses using SPARQL. An aspect of the system may support the representation of multidimensional data as virtual graphs. Another aspect of the system may provide mapping of SPARQL queries directed against multidimensional data vis-à-vis the graphs to native queries directed against the multidimensional data. Responses from the native queries may then be translated to a SPARQL response format.

Claims (42)

1. A computer-implemented method for querying a multidimensional database configured according to a dimensional model, the method comprising:

at a computing device having one or more processors and memory storing one or more programs for execution by the one or more processors:

receiving a Simple Protocol And Resource Description Framework Query Language (SPARQL) query;

generating a native query from the SPARQL query using a mapping file comprising metadata that describes a multidimensional database;

mapping a first Resource Description Framework (RDF) class specified in the SPARQL query with a first column in the multidimensional database;

mapping a first property corresponding to the first RDF class specified in the SPARQL query with first values corresponding to the first column in the multidimensional database;

executing the native query on the multidimensional database;

receiving a native result comprising data stored in the multidimensional database resulting from execution of the native query against the multidimensional database; and

generating a SPARQL result from the native result using the mapping file, the SPARQL result representing a response to the SPARQL query.

2. The method of claim 1 , wherein the multidimensional database is a data warehouse, the native query language is Structured Query Language (SQL), and the native query is expressed in SQL.

3. The method of claim 1 , wherein the multidimensional database is organized in a star schema.

4. The method of claim 1 , wherein the multidimensional database is organized in a snowflake schema.

5. The method of claim 1 , wherein the native result further comprises one or more aggregations of data stored in the multidimensional database that was retrieved in response to the native query.

6. The method of claim 1 , wherein the native query is expressed as an Multidimensional Expressions (MDX) query.

7. A database query system comprising:

a processor; and

a data storage device having stored thereon computer executable program code, which, when executed by the processor, causes the processor to perform a method of:

receiving a Simple Protocol And Resource Description Framework Query Language (SPARQL) query;

generating a native query from the SPARQL query using a mapping file comprising metadata that describes a multidimensional database;

mapping a first Resource Description Framework (RDF) class specified in the SPARQL query with a first column in the multidimensional database;

mapping a first property corresponding to the first RDF class specified in the SPARQL query with first values corresponding to the first column in the multidimensional database;

executing the native query on the multidimensional database;

receiving a native result comprising data stored in the multidimensional database resulting from execution of the native query against the multidimensional database; and

generating a SPARQL result from the native result using the mapping file, the SPARQL result representing a response to the SPARQL query.

8. The system of claim 7 wherein the multidimensional database is a data warehouse, the native query language is Structured Query Language (SQL), and the native query is expressed in SQL.

9. The system of claim 7 , wherein the multidimensional database is organized in a star schema.

10. The system of claim 7 , wherein the multidimensional database is organized in a snowflake schema.

11. The system of claim 7 , wherein the native result further comprises one or more aggregations of data stored in the multidimensional database that was retrieved in response to the native query.

12. The system of claim 7 , wherein the native query is expressed as an Multidimensional Expressions (MDX) query.

13. A non-transitory computer-readable storage medium having stored thereon computer executable program code, which, when executed by a computer, causes the computer to perform a method of:

receiving a Simple Protocol And Resource Description Framework Query Language (SPARQL) query;

generating a native query from the SPARQL query using a mapping file comprising metadata that describes a multidimensional database;

mapping a first Resource Description Framework (RDF) class specified in the SPARQL query with a first column in the multidimensional database;

mapping a first property corresponding to the first RDF class specified in the SPARQL query with first values corresponding to the first column in the multidimensional database;

executing the native query on the multidimensional database;

receiving a native result comprising data stored in the multidimensional database resulting from execution of the native query against the multidimensional database; and

generating a SPARQL result from the native result using the mapping file, the SPARQL result representing a response to the SPARQL query.

14. The non-transitory computer-readable storage medium of claim 13 , wherein the multidimensional database is a data warehouse, the native query language is Structured Query Language (SQL), and the native query is expressed in SQL.

15. The non-transitory computer-readable storage medium of claim 13 , wherein the multidimensional database is organized in a star schema.

16. The non-transitory computer-readable storage medium of claim 13 , wherein the multidimensional database is organized in a snowflake schema.

17. The non-transitory computer-readable storage medium of claim 13 , wherein the native result further comprises one or more aggregations of data stored in the multidimensional database that was retrieved in response to the native query.

18. The non-transitory computer-readable storage medium of claim 13 , wherein the native query is expressed as an Multidimensional Expressions (MDX) query.

Continuity (2)
Continuation 13718190 · Dec 18, 2012
Related Publication 20150154275A1 · Jun 4, 2015