<!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>Reasoning on Business Processes and Ontologies in a Logic Programming Environment</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Michele Missikoff</string-name>
          <email>missikoff@iasi.cnr.it</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Maurizio Proietti</string-name>
          <email>maurizio.proietti@iasi.cnr.it</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Fabrizio Smith</string-name>
          <email>fabrizio.smith@iasi.cnr.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>DIEI, Università degli Studi de L‟Aquila</institution>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>IASI-CNR</institution>
          ,
          <addr-line>Viale Manzoni 30, 00185, Rome</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <fpage>17</fpage>
      <lpage>21</lpage>
      <abstract>
        <p>In this paper we present a semantic approach to Business Process (BP) Management. The proposal is based on a synergic use of an ontological framework (OPAL), to capture the semantics of a business scenario, and a business process modelling framework (BPAL), to represent the underlying application logic. Both frameworks are grounded in a logic-based formalism (Logic Programming) and therefore it is possible to apply effective reasoning methods to make inferences over a BPKB (Business Process Knowledge Base) stemming from the fusion of the two.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>Business Process (BP) management is constantly gaining popularity in various
industrial sectors and in the public administration. But, despite the growing academic
interest and the penetration in the business domain, heterogeneous and ad-hoc
solutions that often lack a formal semantics have been so far proposed to deal with
several arisen issues, such as: cross-enterprise integration and collaboration, adoption
of organizational and data models in conjunction with workflow models, query and
retrieval of BP fragments, BP composition.</p>
      <p>
        In order to increase the level of automation in the specification, analysis,
implementation and monitoring of BPs, various papers have advocated the
enhancement of BP management tools by means of well-established techniques from
the area of the Semantic Web, like, for instance, computational ontologies [
        <xref ref-type="bibr" rid="ref1 ref2">1,2</xref>
        ]. The
use of an ontology allows an unambiguous definition of the entities occurring in the
domain, and eases the interoperability between software applications and the
reuse/exchange of knowledge between human actors. However, there are still several
open issues regarding the combination of workflow languages (with their specific
execution semantics) and ontologies, and the accomplishment of reasoning tasks
involving both these components.
      </p>
      <p>
        In this paper we present a logic-based framework that aims at providing a uniform
and formal representation of both the behavioral (i.e., workflow-related) and the
structural (i.e., ontology-related) domain knowledge about a business process. Our
framework is also equipped with a powerful inference mechanism supported by the
tools developed in the area of Logic Programming [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
      </p>
    </sec>
    <sec id="sec-2">
      <title>Business Process Knowledge Representation</title>
      <p>The knowledge about business processes and the context where they operate, is stored
in a Business Process Knowledge Base (BPKB), as exemplified in Figure 1 and
briefly described in the following.</p>
      <p>
        OPAL [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] is an ontology representation framework supporting business experts in
building a structural ontology, where concepts are defined in terms of their
information structure and static relationships. OPAL provides a set of upper level
concepts and a set of design principles (patterns) to capture the active entities (actors),
passive entities (objects), and transformations (processes). A significant core of an
OPAL ontology can be formalized by a fragment of OWL, by using the OWL-RL [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]
profile. OWL-RL, is an OWL subset designed for practical implementations using
rule-based technologies such as logic programming [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
      </p>
      <p>
        BPAL [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] (Business Process Abstract modelling Language), is a logic-based
language (grounded in Horn Logic) that provides a declarative modeling method
capable of fully capturing the procedural knowledge in a business process. BPAL
constructs are based on the BPMN 2.0 specification [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] and provide a comprehensive
modelling method that spans from the ground level (to model the traces that are
produced by the execution of a BP), to the BP schema (BPS) modelling level (where
the designer actually defines the diagram that represents the business logic of the BP),
to the meta-modelling level (the basic formation rules that guide the designer in the
specification of the BP schema).
      </p>
      <p>Semantic Annotation is a correspondence between elements of the BP schema and
elements of the Reference Ontology specified using the „sigma‟ predicate. It consists
of a set of assertions of the form (Act,Conc), where Act is a constant that denotes an
entity of a BP schema, and Conc is a constant used to denote a concept defined in the
ontology. This relation allows us to specify the meaning of the entities of a business
process in terms of a suitable conceptualization of the domain of interest.</p>
      <p>Reasoning on Business Processes and Ontologies in a Logic Programming Environment 19
2</p>
    </sec>
    <sec id="sec-3">
      <title>Reasoning with the Business Process Knowledge Base</title>
      <p>The components of the BPKB introduced in the previous section are formalized by a
First Order Logic theory, defined as</p>
      <p>BPKB = BRO   M  B  T
where: BRO is an OPAL Business Reference Ontology; is the semantic annotation,
i.e. a set of assertions of the form (Act,Conc); M is the theory formalizing the
metamodel and the related notion of well-formedness of a BP schema; B is a set of BPAL
BP schemas, i.e. a set of assertions (ground facts) constructed from the BPAL
alphabet; T is the theory formalizing the trace semantics of a BP schema and the
notion of correctness of a trace w.r.t. that schema.</p>
      <p>
        A relevant property of the BPKB is that it has a straightforward translation to a
logic program [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], which can be effectively used for reasoning within a Prolog
environment. This translation allows us to deal within a uniform framework with
several kinds of reasoning tasks and combinations thereof, within the uniform
framework of logic programming. Every component of the BPKB defines a set of
predicates that can be used for querying the knowledge base. The reference ontology
BRO and the semantic annotation allow us to express queries in terms of the
ontology vocabulary. The predicates defined by the meta-model theory M and by the
BP schemas B allow us to query the schema level of a BP, verifying properties
regarding the flow elements occurring in it (activities, events, gateways) and their
relationships (sequence flows). Finally, the predicates defined by the trace theory T,
allow us to express queries about the behavior of a BP schema at execution time, i.e.,
verify properties regarding the execution semantics of a BP schema.
      </p>
      <p>
        In order to provide the user with a simple and expressive query language that does
not require to understand the technicalities of the logic engine, we proposed in [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]
QuBPAL, a simple query language based on the SELECT-FROM-WHERE paradigm
that can be translated to Prolog1 queries for their evaluation. As example we report in
the following a QuBPAL query:
      </p>
      <p>SELECT &lt;?p,?s,?e &gt;FROM *
WHERE activity(?s::ReceivingPO), activity(?e::Delivering),</p>
      <p>
        precedence(WaitingClearence,Delivering,?p,?s,?e)
This query returns all the well-formed process fragments (i.e., structured blocks [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ])
such: (i) start with an activity of ReceivingPO (i.e., an activity annotated with the
concept ReceivingPO), (ii) end with an activity of Delivering, and (iii) contain an
activity of WaitingClearence which is always executed (not necessary immediately)
before Delivering. The SELECT statement defines the output of the query evaluation,
which in this case is a process fragment identified by the triple &lt;?p,?s,?e&gt;, where ?p
is a BP identifier, ?s is the starting element, and ?e is the ending element. The FROM
statement indicates the process(es) from which data is to be retrieved, in this case “*”
1 In particular queries not involving T are translated to Datalog queries with stratified negation.
stands for the whole repository. In the WHERE statement it can be specified an
expression which restricts the data returned by the query.
3
      </p>
    </sec>
    <sec id="sec-4">
      <title>Implementation</title>
      <p>
        A prototype of the proposed framework has been implemented as a Java application,
interfaced with the XSB logic programming and deductive database system [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. The
BPAL platform is depicted in Figure 2. On the left part of this figure, enclosed in a
dotted line, we have are grouped the components involved in the set up phase, where
the BPKB is built.
The process repository B is populated by process schemas modeled by business
experts in XPDL (XML Process Definition Language [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ]) and translated into BPAL
by means of the service XPDL2BPAL. The business reference ontology BRO is
imported from the Athos OPAL Ontology Management System [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] and is added to
the BPKB together with the semantic annotation of the BP schemas. Both BRO and
are represented in the OWL language. OWL ontologies (restricted to the RL profile)
are imported into the BPKB in the triple notation by the service OWL2LP. A Prolog
translation of the OWL 2 RL/RDF rules [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] is also included in the BPKB to
implement reasoning over the ontology. The BPKB is completed by the logic
programs encoding the meta-model theory M, and the trace theory T. After the
population of the BPKB the reasoning tasks can be performed at run time by querying
the knowledge base through QuBPAL queries, that are translated into Prolog by the
service QBPAL2Prolog and evaluated as goals by the XSB engine. These component
are enclosed in a dotted rectangle on the right part of Figure 2.
      </p>
      <p>Reasoning on Business Processes and Ontologies in a Logic Programming Environment 21
4</p>
    </sec>
    <sec id="sec-5">
      <title>Conclusions</title>
      <p>In this paper we presented the main ideas of a framework conceived to complement
existing business modeling tools by providing advanced reasoning services. The
proposed platform consists of several parts: (i) an ontological framework, OPAL, to
capture the semantics of the business scenario; (ii) a business process modeling
framework, BPAL, to capture the application logic; (ii) a reasoning engine, based on
Logic Programming, that operates on the above two structures in an integrated way;
(iv) a BP query language, developed on top of the reasoning engine; finally, (v) a
verification mechanism, tightly connected to the latter.</p>
      <p>The discussed BP Knowledge Base constitutes the base of a knowledge
representation framework that we want to extend in several directions. First of all by
handling any graph-structured BP schema (without the blocked assumption), and
hence the verification of behavioral properties over (possibly) infinite sets of traces.
We are also investigating the verification at run time (i.e. over a running instance of
the process during its enactment) and the a-posteriori analysis (i.e., log mining) over
the information stored during the execution. On an engineering ground, we are
exploring the problem of manipulating, merging and aggregating a set of business
process fragments in the contexts of BP Composition and BP Re-engineering.
5</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Hepp</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Leymann</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Domingue</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wahler</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fensel</surname>
            .,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Semantic business process management: A vision towards using semantic web services for business process management</article-title>
          .
          <source>In: ICEBE</source>
          <year>2005</year>
          , pp.
          <fpage>535</fpage>
          -
          <lpage>540</lpage>
          . IEEE Computer Society, Los Alamitos (
          <year>2005</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Roman</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          , et al.:
          <source>Web Service Modeling Ontology. Applied Ontology</source>
          ,
          <volume>1</volume>
          (
          <issue>1</issue>
          ):
          <fpage>77</fpage>
          -
          <lpage>106</lpage>
          ,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Lloyd</surname>
            ,
            <given-names>J.W.</given-names>
          </string-name>
          :
          <article-title>Foundations of Logic Programming</article-title>
          . Springer-Verlag, Berlin,
          <year>1987</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>D</given-names>
            <surname>‟Antonio</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            ,
            <surname>Missikoff</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Taglino</surname>
          </string-name>
          ,
          <string-name>
            <surname>F.</surname>
          </string-name>
          :
          <article-title>Formalizing the OPAL eBusiness ontology design patterns with OWL</article-title>
          .
          <source>In the 3rd I-ESA Conference</source>
          ,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>5. OWL 2: Profiles, http://www.w3.org/TR/owl2-profiles.</mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Grosof</surname>
            ,
            <given-names>B. N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Horrocks</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Volz</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Decker</surname>
            ,
            <given-names>S.:</given-names>
          </string-name>
          <article-title>Description Logic Programs: Combining Logic Programs with Description Logic</article-title>
          .
          <source>In the Proc. of WWW</source>
          <year>2003</year>
          , Budapest, Hungary.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>De Nicola</surname>
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Missikoff</surname>
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Proietti</surname>
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Smith</surname>
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>An Open Platform for Business Process Modeling</article-title>
          and Verification,
          <source>International Conference on Database and Expert Systems Applications</source>
          , DEXA,
          <year>September 2010</year>
          . LNCS 6261 Springer
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>Business</given-names>
            <surname>Process</surname>
          </string-name>
          Model and
          <string-name>
            <surname>Notation V.</surname>
          </string-name>
          <year>2</year>
          .
          <issue>0</issue>
          ,
          <year>2009</year>
          , http://www.omg.org/spec/BPMN/ 2.0.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Missikoff</surname>
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Proietti</surname>
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Smith F. A Business Process</surname>
          </string-name>
          <article-title>Knowledge Base for Composite Services Development</article-title>
          . International
          <string-name>
            <surname>Workshop</surname>
            <given-names>BSME</given-names>
          </string-name>
          , Malaga,
          <year>June 2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <source>The XSB Logic Programming System. Version 3</source>
          .1,
          <string-name>
            <surname>Aug</surname>
          </string-name>
          .
          <year>2007</year>
          , http://xsb.sourceforge.net.
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          <source>11.XPDL 2</source>
          .1 Complete Specification, Oct.
          <year>2008</year>
          , http://www.wfmc.org/xpdl.html.
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>ATHENA</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          <year>A3</year>
          .
          <article-title>2 “Updated version of the Ontology Authoring and Management System with semantic search functions"</article-title>
          ,
          <source>ATHENA IP</source>
          , deliverable,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>