<!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>LoLA as Abstract Planning Engine of Planics?</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Artur Niewiadomski</string-name>
          <email>artur.niewiadomski@uph.edu.pl</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Karsten Wolf</string-name>
          <email>karsten.wolf@uni-rostock.de</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>ICS, Siedlce University</institution>
          ,
          <addr-line>3-Maja 54, 08-110 Siedlce</addr-line>
          ,
          <country country="PL">Poland</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>ICS, University of Rostock</institution>
          ,
          <addr-line>18051 Rostock</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>An abstract planning (AP) is the first phase of the web service composition in the Planics framework. We propose an automatic translation of AP to reachability problem in high-level Petri nets, and exploiting the LoLA tool to solve it. We present our approach together with a prototype implementation, and preliminary experimental results. ? Partially supported by the European Union from resources of the European Social Fund. Project PO KL “Information technologies: Research and their interdisciplinary applications”, Agreement UDA-POKL.04.01.01-00-051/10-00.</p>
      </abstract>
      <kwd-group>
        <kwd>Web Service Composition</kwd>
        <kwd>Abstract Planning</kwd>
        <kwd>Planics</kwd>
        <kwd>LoLA</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        Planics [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] is a system that solves the Web service composition problem by
dividing it into several stages. The first phase, called the abstract planning, deals
with an ontology which contains a hierarchy of classes describing sets of
realworld services and processed object types.
      </p>
      <p>
        This paper reports the use of LoLA [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] tool as an abstract planning engine.
To this aim, we developed a translator which takes an ontology and a user
query as the input, and builds a high-level Petri net augmented with a
statepredicate formula P . The translation is performed in such a way that some
marking satisfying P is reachable only if the planning problem has a solution.
Moreover, the comparison of very first results with those obtained with
SMTbased abstract planner [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] shows that our new approach is very promising.
At this early stage of our work we assume that service descriptions do not contain
alternatives, and we do not take the type inheritance into account. According to
the restrictions above, the main ideas of our translation are as follows. The object
types of Planics become LoLA sorts, i.e., domains for tokens on places. These
sorts are records consisting of components corresponding to object attributes.
Moreover, for each object type we put a single place in a high-level output net,
      </p>
      <p>PNSE’14 – Petri Nets and Software Engineering
and thus worlds (sets of objects in some states) are represented by markings.
The Planics services, which transform worlds by producing new objects and
changing states of existing ones, become transitions consuming and producing
tokens from/to world places w.r.t. service descriptions. Finally, the part of user
query specifying the initial worlds is translated to a set of (initially marked)
places and transitions which put appropriate tokens to world places. Similarly,
a set of special places and transitions, together with a state-predicate formula,
correspond to the query fragment concerning the goal of the plan. Moreover,
some reductions of an input ontology have been implemented. Their aim is to
remove all object types and attributes which are neither used by services, nor
query, what leads to a significant improvement of LoLA performance.
3</p>
    </sec>
    <sec id="sec-2">
      <title>Experiments and Conclusion</title>
      <p>In order to evaluate the efficiency of our approach, we generated a number of
parametrized random benchmarks using Planics Ontology Generator. Then, we
tried to solve them exploiting a prototype Planics2LoLA implementation and
LoLA tool, as well as an SMT-based planner. The obtained results are
summarized in Table 1. We marked in bold the better ones. The overall conclusion is
that due to ontology reductions applied during the translation, LoLA in many
cases outperforms the SMT-based abstract planner.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>D.</given-names>
            <surname>Doliwa</surname>
          </string-name>
          et al. PlanICS
          <article-title>- a Web Service Compositon Toolset</article-title>
          . Fundam. Inform.,
          <volume>112</volume>
          (
          <issue>1</issue>
          ):
          <fpage>47</fpage>
          -
          <lpage>71</lpage>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>A.</given-names>
            <surname>Niewiadomski</surname>
          </string-name>
          and
          <string-name>
            <given-names>W.</given-names>
            <surname>Penczek</surname>
          </string-name>
          .
          <article-title>Towards SMT-based Abstract Planning in PlanICS Ontology</article-title>
          .
          <source>In Proc. of KEOD</source>
          <year>2013</year>
          , pages
          <fpage>123</fpage>
          -
          <lpage>131</lpage>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>K.</given-names>
            <surname>Schmidt. LoLA: A Low Level</surname>
          </string-name>
          <article-title>Analyser</article-title>
          .
          <source>In Application and Theory of Petri Nets</source>
          <year>2000</year>
          , volume
          <volume>1825</volume>
          <source>of LNCS</source>
          , pages
          <fpage>465</fpage>
          -
          <lpage>474</lpage>
          . Springer Berlin Heidelberg,
          <year>2000</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>