<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>An OLAP Endpoint for RDF Data Analysis Using Analysis Graphs</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Median Hilal?</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Christoph G. Schuetz</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Michael Schre</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Data &amp; Knowledge Engineering, Johannes Kepler University Linz</institution>
          ,
          <country country="AT">Austria</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Department of Business Informatics</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>Exploiting Resource Description Framework (RDF) data for Online Analytical Processing (OLAP), especially Linked Open Data (LOD), could allow analysts to obtain interesting insights. To conduct OLAP analysis over RDF data, analysts should know the speci c semantics, structure, and querying mechanisms of such data. Furthermore, these data should ideally adhere to a multidimensional structure to be accessible to OLAP. In this demo paper, we present an OLAP endpoint that allows casual analysts to perform self-service OLAP analysis over RDF datasets. Speci cally, analysts can instantiate semantic web analysis graphs, which are prede ned models of the analysis processes. Semantic web analysis graphs are built on top of multidimensional structures that can be superimposed over arbitrary RDF datasets.</p>
      </abstract>
      <kwd-group>
        <kwd>Linked Open Data</kwd>
        <kwd>Multidimensional Model</kwd>
        <kwd>Self-Service Business Intelligence</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Online Analytical Processing (OLAP) systems support business analysts in their
decision-making processes by allowing them to view the data at di erent
granularities. In order to be accessible to OLAP, these data are organized in a
multidimensional (MD) structure. An MD model consists of facts which are the
subjects of the analysis and quanti ed by measures, and hierarchically-organized
dimensions allowing for measure aggregation. Traditionally, OLAP systems have
targeted enterprise-internal data. Yet, external RDF data, such as DBpedia
and Wikidata, are an important source of knowledge that is still largely
unexploited for OLAP analysis. External RDF data, however, do not correspond
to a structure easily accessible to OLAP systems. The superimposition of
analytical schemas is, therefore, a common strategy to render these data accessible
to OLAP [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Ideally, these superimposed analytical schemas should adhere to an
MD structure. Furthermore, the analyst should be familiar with the data
structure, semantics, and query language in order to perform analysis over external
? Median Hilal is funded by Erasmus Mundus - ASSUR Program.
RDF data. RDF data sources typically feature complex and heterogeneous data
models and SPARQL serves as the query language, which is not familiar to most
business analysts. Consequently, mechanisms of self-service business intelligence
(SSBI) are required as they facilitate the tasks of casual analysts [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
      </p>
      <p>
        In this demo paper1, we present a self-service OLAP endpoint [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] using
Semantic Web Analysis Graphs, which allow for expressing and exploiting
interesting analysis patterns that are built on top of MD schemas which are
superimposed over RDF data sources. To motivate our approach, we consider the RDF
data of annotated news2, which are available at factforge endpoint3. The dataset
contains mentions of entities in the news; a Mention has a source, creationDate,
category, mentionsEntity, and con denceScore. Consider Julia, a data journalist
preparing a report about trending industries in the news in a speci c time
period. Julia needs to identify the top mentioned industries, and for each industry,
compare the number of mentions for biggest companies in terms of number of
employees. Afterwards, she wants to manipulate the results by news categories.
Performing that manually is misleading, cumbersome, and needs a lot of skills.
Nevertheless, with our approach, the knowledge about this analysis process can
be modelled as a dynamic analysis graph which refers to a superimposed MD
schema. This analysis graph can be easily reused in multiple cases as it contains
variables that can be bound by the analyst to concrete values without a need of
technical knowledge. Consequently, Julia can access an OLAP endpoint,
instantiate the analysis graph to suit her needs using a simple interface, and view the
results. The system automatically generates the corresponding SPARQL queries
to retrieve the data from sources and delivers the results [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>Approach</title>
      <p>Multidimensional schemas (MDS) can be superimposed over arbitrary RDF
datasets to express MD analytical possibilities. Superimposition means that the
data do not originally follow an MD structure, but this structure is rather
imposed on top of data that are left unchanged. A mapping, however, relates MDS
to the data in a GLAV (global-as-view) fashion using SPARQL queries. An OWL
ontology is established to express the MDS metamodel. This metamodel can be
instantiated to express MD schemas for particular RDF sources. The upper part
of Fig. 1 shows an example instantiation of the MDS metamodel for the news
example. Mention is the fact. Source, Category, Entity, and Time are dimensions
with some having hierarchies. ConfScore and NumOfMentions are measures.
Entity dimension illustrates specialization as MentionedEntity is specialized to
Person and Organizationn, which is further specialized to Company. Company
rolls up to Industry and has number of employees NumOfEmps as an attribute.
1 A video demonstrating the developed prototype can be found at https://youtu.</p>
      <p>be/ymhkqla8J1I
2
http://ontotext.com/semantic-solutions/dynamic-semantic-publishingplatform/linked-data-integration-for-global-publishers/
3 http://factforge.net/sparql</p>
      <p>An OLAP Endpoint for RDF Data Analysis Using Analysis Graphs</p>
      <p>
        We extend Analysis Graphs, proposed for relational data warehousing [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ],
to become Semantic Web Analysis Graphs (SWAG) that model the analytical
process on the schema level, and are a facilitator for SSBI over MDS as they
provide accesses to prepared reports [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. The nodes of an analysis graph are
analysis situations, each representing a multidimensional query. The edges of
an analysis graph are navigation steps, each representing one or more OLAP
operations that transform the source analysis situation into the target analysis
situation. Analysis graph schemas may contain variables to be bound during
instantiation. The lower part of Fig. 1 shows a simpli ed example of an analysis
graph from the motivating scenario.
      </p>
      <p>Descriptor
Dimension</p>
      <p>Level
Fact
subLevelOf
hasMeasure
hasLevel
rol sUpTo
Measure</p>
      <p>Category
CategoryOfNews
NumOfMentions</p>
      <p>ConfScore</p>
      <p>Month</p>
      <p>Source
SourceWebSite
Mention
Figure 2 illustrates the analysis process using analysis graphs. The analyst rst
selects an analysis situation to start from in the analysis graph. Then, the analyst
can view the analysis situation speci cation and unbound parameters and bind
them supported by auto-completion. Once the form is submitted, a SPARQL
query which corresponds to the analysis situation is generated and sent to the
data source's endpoint. The results are then retrieved and can be viewed in
tabular form or as charts. Afterwards, the analyst can select a navigation to
one of the subsequent analysis situations. Once a navigation is performed, the
target analysis situation is activated with the operations corresponding to the
performed navigation. The graphical user interface facilitates the process and
guides the user. Figure 3 sketches the system architecture. The OLAP Endpoint
is implemented as Java Server Pages (JSP). D3 force layout is used to visualize
the analysis graph, while Google charts are used to visualize the results. The
endpoint is controlled via the Controller. The overall analysis process is
coordinated and performed by the Analysis Graphs Execution Engine. Parsing and
reasoning over MDS and SWAG ontologies and their instances is performed by
OWL Handler, which is implemented using Jena libraries. SPARQL Query
Creator is implemented using Jena ARQ library, and is responsible for generating</p>
      <p>Specification</p>
      <p>Start
select analysis situation
navigate parameters</p>
      <p>Analysis Graph
query</p>
      <p>Results
query
back to analysis</p>
      <p>graph
select navigation
SPARQL queries that correspond to the MD queries speci ed by bound analysis
situations. Connection Manager is responsible for accessing external required
les and interacting with the dataset Endpoint.</p>
      <p>interacts OLAP Endpoint</p>
      <p>SPARQL Query</p>
      <p>Creator</p>
      <p>Controller</p>
      <p>Analysis
Graphs Execution</p>
      <p>Engine
OWL Handler</p>
      <p>Connection
Manager</p>
      <p>System</p>
    </sec>
    <sec id="sec-3">
      <title>Future Work</title>
      <p>We plan to enable analysts to manipulate analysis graphs on the y, thus
extending or editing the analysis situations and navigations at runtime or navigating
without a prede ned schema. Furthermore, we plan to conduct a user study to
evaluate the usability of the approach and improve it correspondingly.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>P.</given-names>
            <surname>Alpar</surname>
          </string-name>
          and
          <string-name>
            <given-names>M.</given-names>
            <surname>Schulz</surname>
          </string-name>
          .
          <article-title>Self-service business intelligence</article-title>
          .
          <source>Business &amp; Information Systems Engineering</source>
          ,
          <volume>58</volume>
          (
          <issue>2</issue>
          ):
          <volume>151</volume>
          {
          <fpage>155</fpage>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>D.</given-names>
            <surname>Colazzo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Goasdoue</surname>
          </string-name>
          ,
          <string-name>
            <surname>I.</surname>
          </string-name>
          <article-title>Manolescu, and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Roatis</surname>
          </string-name>
          .
          <article-title>RDF analytics: lenses over semantic graphs</article-title>
          .
          <source>In Proceedings of the 23rd international conference on World wide web</source>
          , pages
          <volume>467</volume>
          {
          <fpage>478</fpage>
          . ACM,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>M.</given-names>
            <surname>Hilal</surname>
          </string-name>
          .
          <article-title>A proposal for self-service OLAP endpoints for linked RDF datasets</article-title>
          .
          <source>In European Knowledge Acquisition Workshop</source>
          , pages
          <volume>245</volume>
          {
          <fpage>250</fpage>
          . Springer,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4. T. Neubock and
          <string-name>
            <given-names>M.</given-names>
            <surname>Schre</surname>
          </string-name>
          .
          <article-title>Modelling knowledge about data analysis processes in manufacturing</article-title>
          .
          <source>IFAC-PapersOnLine</source>
          ,
          <volume>48</volume>
          (
          <issue>3</issue>
          ):
          <volume>277</volume>
          {
          <fpage>282</fpage>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>