Escolar Documentos
Profissional Documentos
Cultura Documentos
and Issues
Jalel Eddine Hajlaoui*1
* Laboratory of MIRACL FSEG, University of Sfax-Tunisia
1
Higher Institute of Applied Science and Technology,
University of Sousse-Tunisia
hajlaouijalel.ig@gmail.com
I. INTRODUCTION
Nesrine Hamdani
Higher Institute of Applied Science and Technology
University of Sousse-Tunisia
nesrine.hamdani@gmail.com
rules by transforming the ECA formalism to the ECG (EventConditions-Graph of analysis) mechanism. Herein, an XML
design of analysis rules is proposed to model both the logical
and the physical level of analysis rules. Hence, analysis rules
are stored in the decision system in XML documents. This
contribution lacks an implementation of the overall concepts of
the ECG.
Olegas and Smaizys, [22] argue the use of business rules
for supporting active data analysis and automation of business
decisions making. They generate executable Multi
Dimensional eXpression (MDX) instructions from specified
business rules via XML transformations. Such MDX
instructions are used to define multidimensional data selection
in Microsoft OLAP API software systems related to the
knowledge represented as business rules and facts discovered
from current business data. OLAP Cubes are generated
dynamically by selecting new dimensions and performing drill
downs according to the business situation evaluated by
assessment of current business data (facts) conforming to the
business policy (business rules). Remaining unsolved problems
of incomplete business rule set resolution and business rule set
transformation schema design is a main shortcoming of this
proposal.
TABLE I.
Bouattour
et al.2009
[19]
Olegas
and
Smaizys,
2006 [23]
OLTP
methods
Relative
temporal
events
Calendar
events
Cloosed loop
workflow
EBNF
notations
XML
XML,
XSLT
MDX
SQL
MDX
Event Detection
Zwick et
al. 2006
[17]
Unary OLAP
operators
Binary OLAP
operators
Modeling of
Analysis
Rules
Query
Language
Software
prototype
Events
Analysis report
Automatic
DBMS execution
GUI
XML
Conditions
Occured
events
Curves
Graph of analysis
Specifying of analysis rules
Cubes
E. Motivating example
Our example concerns the analysis of the cube ' VEHICLE
RENTALS ' for which the conceptual star schema is depicted
in figure 4.
VEHICLE
RENTALS
VEHICLE
Immat
Amount
Duration
Brand
Category
TIME
DateLoc
Month
AGENCY
Type
AllVehicles
Code_Ag
City
Quarter
Year
AllTimes
Region
Country
AllAgencies
SG1
SG2
SG3
is fired when the total amount exceeds 2500 euros and the
total duration is above 25 days. The relative condition for the
analysis rule is: Year = 2013. The Figure 4 shows the analysis
graph associated with the presented analysis rule.
This rule is composed of three sub-graphs:
The first subgraph SG1 begins with a cube representing
vehicle rentals by City, Year and Brand. This subgraph
follows a sequence of OLAP operations to get a cube that
represents vehicle rentals of the Jerba city along January
2013 by each vehicle type. It will intervene in a binary
operation (UNION) in the subgraph below.
Similarly, the second subgraph SG2 begins with a cube
representing vehicle rentals by City, Quarter and Brand.
This subgraph follows a sequence of OLAP operations to
get a cube that represents vehicle rentals of the Bizerte
city along January 2013 by each vehicle type. It will
intervene in a binary operation (UNION) in the subgraph
below.
The third subgraph SG3 begins, meanwhile, by the two
end cubes of the two previous subgraphs. It provides a
data cube containing vehicle rentals in January 2013. This
cube allows making a comparison of returns for sport
vehicles as specified in the initial analysis scenario.
In our implementation, we use Pentaho Business Analytics
[24] as an OLAP engine for handling the various OLAP
operators specified in our analysis graph. The first task is to
load the XML file storing our analysis graph as depicted in the
figure 6. When the defined event (i.e. the end of month of
January and measures thresholds are exceeded) is detected and
the relative condition (year=2013) is satisfied, our prototype
triggers automatically the sequences of OLAP operators over
the cube VEHICLE RENTALS and generates queries as MDX
instructions as shown in the top right part of the figure 7. In
the left side of this screenshot, the user can consult the
Pentaho analytical view of the cube VEHICLE RENTALS to
check the outputs of the resulted MDX queries.
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[10]
[11]
[12]
[13]
[14]
[15]
[16]
[17]
[18]
[19]
[20]
[21]
[22]
[23]
[24]
REFERENCES
[1]
[2]
W.H.Inmon, Building the Data Warehouse, John Wiley & Sons. 1996.
J.T.S. Ribeiro and A.J.M.M. Weijters, LNCS 7044, pp. 274283, 2011.
[25]