<!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>Rule-based Autocompletion of Business Process Models</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Thomas Hornung</string-name>
          <email>hornungt@informatik.uni-freiburg.de</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Agnes Koschmider</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Andreas Oberweis</string-name>
          <email>oberweis@aifb.uni-karlsruhe.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Institute of Applied Informatics and Formal Description Methods Universit ̈at Karlsruhe (TH)</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Institute of Computer Science, Albert-Ludwigs University Freiburg</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <fpage>49</fpage>
      <lpage>52</lpage>
      <abstract>
        <p>Several methods based upon textual programming languages or graphical notations have been proposed for manual modeling of business process models. But since manual process modeling is time-consuming and increases the amount of structural modeling errors, we aim at supporting the user during the process modeling phase. In this paper we present an initial idea for an automatic approach for completion of business process models that recommends appropriate completions to initial process fragments based on business rules and structural constraints.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        A missing semantic representation of Petri net components hampers to utilize
reasoning techniques that make it possible to (semi-)automatically reason about
Petri net data. Therefore we describe traditional Petri nets with the Ontology
Language OWL [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. These so-called semantic business process models (SBPM)
combine process modeling methods with semantic technologies to support
automatic processing of process components and they make it possible to implement
an efficient algorithm for (semi-)automatic similarity computation between
process model variants [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. Each Petri net element has a corresponding element in
the SBPM as described in [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] with two extensions: first we introduce a
property isSelected with the domain Place or Transition and the range boolean
(true or false) that ensures that appropriate recommendations are made only
for the selected process element. The property initialElement with the
domain PetriNet and the range Node (Place or Transition) indicates the start
element of a process as depicted in Figure 2.
2.2
      </p>
      <sec id="sec-1-1">
        <title>Classification of rule types</title>
        <p>
          Since ontologies are not good at modeling the dynamic state of Petri nets we
additionally use the Semantic Web Rule Language (SWRL) to capture the
dynamic nature of Petri nets and to model business rules that a process model
needs to satisfy. Rule-based modeling in general ranges from Event–Condition–
Action rules for databases [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ] to logic-based languages like Prolog [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ], and rule
engine approaches like Jess [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ]. We distinguish the following three types of rules
in our autocompletion scenario:
1. Constraint rules: They concern the integrity of semantic business process
models. These constraints are automatically pre-specified for every business
process model by our autocompletion system, since they express restrictions
on the OWL-based Petri net description, i.e. successors of places are
transitions and vice versa.
2. Event-Condition-Action rules: They concern the integrity of semantic
business process models and have a syntax described by IF, THEN, AND, OR,
e.g. “If customer order is checked THEN manufacture item AND send
article”.
3. Dynamic rules: These rules are applied during process modeling by the
modeler and may vary from one to another, e.g. ”in a specific context an amount
of 1000 Euro is considered a high loss”.
2.3
        </p>
      </sec>
      <sec id="sec-1-2">
        <title>Formalization of rules</title>
        <p>The next step of the autocompletion process is to formalize the rules which were
classified in the previous section. To do this we first introduce the notion of order,
i.e. which action is performed before or after the other. This is formalized with
the SWRL predicates bef ore(action1, action2) and af ter(action1, action2),
which evaluate to true, when action1 appears before action2 in the business
process model or after respectively. These predicates can be specified on the
semantic information provided by the OWL serialization of the process model
ontology and allow for trivial checking of the constraint rules via an additional
SWRL predicate arcP ossible(action, net), that is satisfied if the selected action
is a transition and the first element in the process fragment under consideration
is a place or vice versa.</p>
        <p>To infer Event-Condition-Action style rules we compare the OWL version of the
currently modeled process with given serializations of business process fragments
in a repository. This is best illustrated with an example: given the business
rule “IF request is checked THEN forward order” we would check the following
conditions with the help of the beforementioned predicates:</p>
        <p>Finally dynamic rules can be realized by changing the action part of a
business rule to a question for the modeler.
3</p>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>Conclusion</title>
      <p>
        Often business processes are modeled according to specific business rules. In this
paper we have described our idea of realizing an autocompletion of business
process models. The main elements are that we use semantic business process models
based on an OWL representation of Petri nets that allows us to efficiently
compute the semantic similarity between process model variants. Additionally we use
the Semantic Web Rule Language, which is based upon a combination of OWL
DL with Unary/Binary Datalog RuleML [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], to model additional constraints
imposed by business rules. Although the implementation of the recommendation
system is not finished yet a study which has been conducted seems to confirm
our approach.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Koschmider</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Oberweis</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Modeling semantic business process models</article-title>
          . In Rittgen, P., ed.:
          <article-title>Handbook of Ontologies for Business Interaction</article-title>
          . Idea group publishing edn. (
          <year>2007</year>
          )
          <article-title>(to appear).</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Horrocks</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Patel-Schneider</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Boley</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tabet</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Grosof</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dean</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>SWRL: A Semantic Web Rule Language Combining OWL and RuleML</article-title>
          . http://www.w3.org/Submission/2004/SUBM-SWRL-
          <volume>20040521</volume>
          / (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>McGuinness</surname>
            ,
            <given-names>D.L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>van Harmelen</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>OWL Web Ontology Language Overview</article-title>
          .
          <source>Technical report, World Wide Web Consortium (W3C)</source>
          (
          <year>2003</year>
          ) Internet: http://www.w3.org/TR/owl-features/.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Ehrig</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Koschmider</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Oberweis</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Measuring Similarity between Semantic Business Process Models</article-title>
          .
          <source>In: Proc. of the Fourth Asia-Pacific Conference on Conceptual Modelling</source>
          ,
          <string-name>
            <surname>Australia</surname>
          </string-name>
          (
          <year>2007</year>
          )
          <article-title>(to appear).</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Gatziu</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dittrich</surname>
            ,
            <given-names>K.R.:</given-names>
          </string-name>
          <article-title>Events in an Active Object-oriented Database System</article-title>
          .
          <source>In: Rules in Database Systems</source>
          . (
          <year>1993</year>
          )
          <fpage>23</fpage>
          -
          <lpage>39</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Clocksin</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mellish</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          : Programming in Prolog.
          <volume>3</volume>
          <fpage>edn</fpage>
          . Springer (
          <year>1987</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Friedman-Hill</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          :
          <article-title>Jess: the Java Expert System Shell, sandia national laboratories</article-title>
          . http://herzberg.ca.sandia.gov/jess/ (
          <year>2001</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Boley</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tabet</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wagner</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          :
          <article-title>Design Rationale for RuleML: A Markup Language for Semantic Web Rules</article-title>
          . In: SWWS. (
          <year>2001</year>
          )
          <fpage>381</fpage>
          -
          <lpage>401</lpage>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>