Applied Sciences (Nov 2022)

Brief Report on the Advanced Use of Prolog for Data Warehouses

  • François Pinet

DOI
https://doi.org/10.3390/app122111223
Journal volume & issue
Vol. 12, no. 21
p. 11223

Abstract

Read online

Data warehouses have demonstrated their applicability in numerous application fields such as agriculture, the environment and health. This paper proposes a general framework for defining a data warehouse and its aggregations using logic programming. The objective is to show that data managers can easily express, in Prolog, traditional data warehouse queries and combine data aggregation operations with other advanced Prolog features. It is shown that this language provides advanced features to aggregate information in an in-memory database. This paper targets data managers; it shows them the direct writing of data warehouse queries in Prolog using an easily understandable syntax. The queries are not necessarily in an optimal form from a processing point of view, but a data manager can easily use or write them.

Keywords