<!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>WSML2Reasoner - A Comprehensive Reasoning Framework for the Semantic Web</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Reto Krummenacher</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Daniel Winkler</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Adrian Marte</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Semantic Technology Institute (STI), University of Innsbruck</institution>
          ,
          <country country="AT">Austria</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>The amount of data on the Internet is rapidly growing. Formal languages are used to annotate such data in order to make it machine-understandable; i.e., allow machines to reason about it, to check consistency, to answer queries, or to infer new facts. Essential for this are formalisms that allow for tractable and e cient reasoning algorithms. Particular care is demanded in e ciently responding to the trade-o between expressivity and usefulness. The updated Web Ontology Language (OWL 2) provides dialects that are restricted in their semantic expressivity for optimizing the reasoning behavior; e.g., the OWL 2 EL or OWL 2 RL pro les. Such dialects are very important to respond to the aforementioned trade-o . Pro les re ect particular requirements and yield purposeful balance between expressivity and computational complexity. The support for dialects is not only given in OWL 2, but also in the Rule Interchange Format (RIF) standards. RIF speci es formalisms for the knowledge exchange between di erent rule systems. The same applies for the WSML language that provides variants for Description Logics and rule-based reasoning. The goal remains the same, formalisms that are expressive enough to be useful, while exhibiting reasoning characteristics that can scale to the size of the Web. Leveraging this is exactly the objective of the WSML2Reasoner framework. In Section 2 we present WSML2Reasoner and our reasoners IRIS and Elly. We show how the Datalog engine IRIS is used as reasoner for RIF-BLD, and how the ELP reasoner Elly supports the OWL 2 EL and RL pro les. In Section 3 we provide a short example of what shall be shown, amongst other things, during the demo session, and we conclude with Section 4.1</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
    </sec>
    <sec id="sec-2">
      <title>Reasoners for the Semantic Web</title>
      <p>The WSML2Reasoner framework serves as entry point for all the supported
OWL, RIF and WSML reasoning.2 It is based on a highly modular architecture
and combines validation, normalization and transformation algorithms for
working with ontology descriptions in WSML. The framework includes two default
reasoning engines termed IRIS and Elly, and two libraries, namely RIF4J and
1 This work is supported by the EU FP7 IPs SOA4All and LarKC.
2 http://tools.sti2.at/wsml2reasoner/
WSMO4J,3 that provide the object models for RIF-BLD and WSML,
respectively. The third-party OWL API yields the data model for the manipulation of
OWL ontologies.4 It adds the reasoner interface that is implemented by Elly
for supporting OWL 2 EL and RL. Figure 1 depicts the relevant software
components of the WSML2Reasoner framework.</p>
      <p>RIF4J</p>
      <p>WSML2Reasoner</p>
      <p>OWL API
Object Model</p>
      <p>LP Reasoner</p>
      <p>DL Reasoner</p>
      <p>OWL Reasoner
WSMO4J</p>
      <p>Datalog</p>
      <p>Reasoner
IRIS</p>
      <p>
        ELLY
WSML is a formal language for the speci cation of ontologies and the
description of Semantic Web services [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. The latest version WSMLv2.0 provides an
alignment of the Logic Programming-based variants WSML-Rule/Flight with
RIF, and an updated semantics for the WSML-DL dialect.
      </p>
      <p>Although WSML2Reasoner is designed to support various reasoners, the
default release is shipped with IRIS (Section 2.2) and Elly (Section 2.3). These
reasoners o er the most complete support for the semantics of WSML, and
include the built-ins de ned by RIF-DTB. All together, WSML2Reasoner provides
a comprehensive reasoning infrastructure for the WSML language family.</p>
      <sec id="sec-2-1">
        <title>2.2 IRIS and RIF Dialects</title>
        <p>The Datalog engine IRIS provides the core for both WSML2Reasoner and Elly.5
In fact, IRIS was initially developed with the WSML stack in mind. The
integration of RIF4J and WSML2Reasoner | including the translation modules
from RIF rule bases to WSML logical expressions | on top of IRIS realizes the
targeted RIF reasoner.</p>
        <p>
          The RIF Datatypes and Built-Ins document speci es a list of datatypes,
built-in functions and built-in predicates that are expected to be supported by
all RIF dialects [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ]. IRIS has been updated to support the full range of built-ins
with the exception of the list-related ones.
3 http://rif4j.sourceforge.net/; http://wsmo4j.sourceforge.net/
4 http://owlapi.sourceforge.net
5 http://www.iris-reasoner.org/
        </p>
        <p>
          The expressivity of RIF Core corresponds to Datalog, and due to the very
nature of IRIS, RIF Core is fully captured. The RIF-BLD pro le matches, in
terms of expressivity, the language of de nite Horn rules with equality and a
standard rst-order semantics [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ]. IRIS was extended to support the full range
of language constructs in RIF-BLD, including equality in rule conclusions. RIF
Core and RIF-BLD are at the basis of the W3C recommendation on how to
interpret combinations of RIF documents and RDF data, as well as RDFS and
OWL ontologies [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ]. Consequently, IRIS ful lls the main prerequisites for serving
as fully- edged rule-based reasoner for the (Semantic) Web.
2.3
        </p>
      </sec>
      <sec id="sec-2-2">
        <title>ELLY and the OWL 2 EL and RL Pro les</title>
        <p>
          ELP is a hybrid between Logic Programming and Description Logics (DL) that
combines the tractable DLs EL++ and DLP [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ]. These two formalisms yield the
logical foundation for the OWL 2 pro les EL and RL, which are thus fully
captured by the semantics of ELP [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ]. Since ELP does not only de ne the semantics
of the language, but also a tractable reasoning algorithm that translates ELP rule
bases into Datalog, a corresponding extension to IRIS could be implemented.
        </p>
        <p>
          Elly is a reasoner for entailment and satis ability checking of ELP rule
bases.6 It includes an object model for ELP and a reasoner based on the
translation to Datalog [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ]; as such, Elly is implemented on top of IRIS. As ELP
subsumes the semantics of OWL 2 EL and RL, Elly, in integration with the
parsers, object models and reasoning interfaces of the OWL API, becomes a
fully- edged OWL 2 EL and RL reasoner.7
3
        </p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>RIF-BLD Application Scenario</title>
      <p>
        To illustrate how the framework can be leveraged to reason with RIF-BLD rules,
we present a scenario based on one of the use cases discussed in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. The aim
of the chosen example \Publishing Rules for Interlinked Metadata" is to enrich
Semantic Web data by application of RIF encoded rules. Table 1 extends the
scenario, such that it uses movie metadata that is published on DBPedia8 and
combines it with RIF rules to capture implicit knowledge; e.g., categorizing black
and white (B/W) movies depending on their release date.
      </p>
      <p>The RIF-BLD reasoner can then be used for entailment checking against or
querying over the speci ed rule base. For the purpose of this demo, there is a user
interface made public at http://iris.sti2.at/reasoners/rif-reasoner/. For
the modeled scenario, the reasoner returns a variable binding to the movies
\Primer" and \The Gold Rush" when querying for low-budget movies
(?- ?Movie#ex:LowBudgetMovie); the latter is also computed to be a B/W
movie. Note that the example uses an abridged RIF presentation syntax and
omits namespace declarations; the reasoner solely supports RIF-BLD XML
Serialization Syntax, a corresponding example is linked from the Web interface.
6 http://elly.sourceforge.net/
7 Elly is listed on http://www.w3.org/2007/OWL/wiki/Implementations.
8 see http://dbpedia.org
?Movie#ex:BlackWhiteMovie
:?Movie#dbo:Film
?Movie[dbp:released -&gt; ?Date]</p>
      <p>External(pred:date-less-than(?Date "1930-01-01"^^xs:date))
?Movie#ex:LowBudgetMovie
:?Movie#dbo:Film
?Movie[dbp:budget -&gt; ?Budget]</p>
      <p>External(pred:numeric-less-than(?Budget "5000000"^^xs:float))
ex:pr#dbo:Film ex:pr[
rdfs:label -&gt; "Primer"^^xs:string
dbp:released -&gt; "2004-10-08"^^xs:date
dbp:budget -&gt; "7000.0"^^xs:float]
ex:gr#dbo:Film ex:gr[
rdfs:label -&gt; "The Gold Rush"^^xs:string
dbp:released -&gt; "1925-06-26"^^xs:date
dbp:budget -&gt; "923000.0"^^xs:float]
4</p>
    </sec>
    <sec id="sec-4">
      <title>Conclusions</title>
      <p>WSML2Reasoner, together with the other presented software components, evolved
to a comprehensive reasoning framework for the (Semantic) Web. Emphasized
in this respect is a strict conformance to existing Web standards, such as RIF,
OWL and in our context WSML too.</p>
      <p>With this demonstration, we present the current status of WSML2Reasoner,
and emphasize on the application of IRIS as RIF-BLD reasoner; not excluding
other examples and online demonstrators for Elly and WSML2Reasoner:
{ WSML-DL v2.0, http://iris.sti2.at/reasoners/wsml-dl-reasoner/
{ WSML-Rule v2.0, http://iris.sti2.at/reasoners/wsml-rule-reasoner/
{ Datalog, http://www.iris-reasoner.org/demo</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Boley</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kifer</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>RIF Basic Logic Dialect</article-title>
          .
          <source>W3C Recommendation</source>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2. de Bruijn, J.,
          <string-name>
            <surname>Lausen</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Polleres</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fensel</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>The Web Service Modeling Language WSML: An Overview</article-title>
          .
          <source>In: 3rd Eur. Semantic Web Conf</source>
          . pp.
          <volume>590</volume>
          {
          <issue>604</issue>
          (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3. de Bruijn, J.:
          <source>RIF RDF and OWL Compatibility. W3C Recommendation</source>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4. Krotzsch,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Rudolph</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Hitzler</surname>
          </string-name>
          ,
          <string-name>
            <surname>P.</surname>
          </string-name>
          : ELP:
          <article-title>Tractable Rules for OWL 2</article-title>
          .
          <source>In: 7th Int'l Semantic Web Conf</source>
          . pp.
          <volume>649</volume>
          {
          <issue>664</issue>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Motik</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Grau</surname>
            ,
            <given-names>B.C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Horrocks</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wu</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fokoue</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>OWL 2 Web Ontology Language Pro les</article-title>
          .
          <source>W3C Recommendation</source>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Paschke</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hirtle</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ginsberg</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Patranjan</surname>
            ,
            <given-names>P.L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>McCabe</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>RIF Use Cases and Requirements</article-title>
          . W3C Working Draft (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Polleres</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Boley</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kifer</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>RIF Datatypes and Built-Ins 1.0</article-title>
          .
          <string-name>
            <given-names>W3C</given-names>
            <surname>Recommendation</surname>
          </string-name>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Winkler</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>ELLY - An ELP Reasoner</article-title>
          .
          <source>Master Thesis</source>
          , Semantic Technology Institute (STI) Innsbruck, University of Innsbruck (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>