<!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>COBRA, a Demo</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Rafael Pen~aloza</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Aparna Saisree Thuluva</string-name>
          <email>saisree.thuluva@tu-dresden.de</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Center for Advancing Electronics Dresden</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Institute for Theoretical Computer Science, Technische Universitat Dresden</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>COBRA is a tool for performing context-based reasoning in OWL ontologies, with an emphasis on its applications. COBRA is built on top of standard OWL reasoning tools, and uses the OWL-API, which makes it easy to use, maintain, and keep up-to-date with reasoning technologies. To understand the behaviour of COBRA, we must rst explain the idea of context-based reasoning. We consider as input for the system an annotated OWL ontology. Intuitively, this annotated ontology is a compact representation of a class of ontologies, which we call contexts. More precisely, every axiom in an OWL ontology is annonated, using the owl:annotation tag, with a list of labels that express the contexts that this axiom belongs to. For example, if we have two contexts C1 and C2 containing axioms 1 and 2; and 2 and 3, respectively, then the annotated input ontology O will contain three axioms 1; 2, and 3 annotated with fc1g, fc1; c2g, and fc2g, respectively. One of the main goals of context-based reasoning is to identify the class of contexts that entail a given logical consequence. An obvious method for solving this reasoning problem would be to rst extract all the di erent contexts from the annotated ontology, and perform standard reasoning in all of them. Given the speed of state-of-the-art OWL reasoners, this approach, in the following called the nave approach produces a very e cient reasoning procedure for realistic OWL ontologies, assuming that the number of contexts is small. However, as the number of contexts grows, so does the total execution time of the nave method, by a linear factor. To handle cases where the number of contexts is high (e.g., above a thousand) more e ective methods based on axiom-pinpointing, for detecting large clusters of contexts entailing the consequence, through only one call to the reasoner, and a variant of Reiter's Hitting Set Tree (HST) algorithm [3] for ensuring that all possible contexts have been detected through a systematic search. Speci cally, we use the HST approach for computing the so-called boundary of a consequence described in [1]. Notice that in this case, the HST approach can be further optimized, since the background lattice required in [1] corresponds to the class of all sets of labels, with union and intersection as operators, which are easier to compute. COBRA implements the nave and the HST methods via a sequence of blackbox calls to standard OWL reasoners. For the HST method, it must call a rea? Partially supported by DFG within the Cluster of Excellence `cfAED' ?? Supported by the International MSc Program in Computational Logic (MCL)</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        soner capable of explanation services. Speci cally, the reasoner must not only
answer whether a consequence holds from an ontology or not, but in the a
rmative case, additionally provide a justi cation; that is, a minimal sub-ontology
still entailing this consequence. Additionally, since the nave and the HST
algorithms both require reasoning over several, slightly di erent, ontologies,
incremental reasoning tools have a strong positive impact in the performance of the
overall system. The current version of COBRA uses the explanation capabilities
of HermiT [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] and the very e cient incremental reasoner ELK [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] whenever the
input ontology adheres to the OWL 2 EL pro le of OWL 2.
      </p>
      <p>
        A typical application scenario for context-based reasoning is in the area of
error-tolerant reasoning, where the di erent contexts correspond to the repairs of
an unwanted consequence (see [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] for details). For that reason, COBRA provides
also an ontology-annotation service based on the computation of all repairs.
In a nutshell, the system receives as input a classical OWL ontology O, and an
unwanted consequence of O. It then computes all the repairs w.r.t. this unwanted
consequence, and annotates O considering each repair as a context. Notice that
applying this tool to Snomed CT can lead to situations with over ten million
contexts.
      </p>
      <p>The demo will showcase the behaviour of the di erent components of the tool
and their use for practical applications, with special emphasis on error-tolerant
reasoning.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>F.</given-names>
            <surname>Baader</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Knechtel</surname>
          </string-name>
          , and
          <string-name>
            <given-names>R.</given-names>
            <surname>Pen</surname>
          </string-name>
          <article-title>~aloza. Context-dependent views to axioms and consequences of semantic web ontologies</article-title>
          .
          <source>J. Web Sem</source>
          .,
          <volume>12</volume>
          :
          <fpage>22</fpage>
          {
          <fpage>40</fpage>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>M.</given-names>
            <surname>Ludwig</surname>
          </string-name>
          and
          <string-name>
            <given-names>R.</given-names>
            <surname>Pen</surname>
          </string-name>
          <article-title>~aloza. Error-tolerant reasoning in the description logic EL</article-title>
          .
          <source>In Proc. of JELIA'14</source>
          , volume
          <volume>8761</volume>
          <source>of LNCS</source>
          , pages
          <volume>107</volume>
          {
          <fpage>121</fpage>
          . Springer,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>R.</given-names>
            <surname>Reiter</surname>
          </string-name>
          .
          <article-title>A theory of diagnosis from rst principles</article-title>
          .
          <source>Arti cial Intelligence</source>
          ,
          <volume>32</volume>
          (
          <issue>1</issue>
          ):
          <volume>57</volume>
          {
          <fpage>95</fpage>
          ,
          <year>1987</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>R.</given-names>
            <surname>Shearer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Motik</surname>
          </string-name>
          ,
          <string-name>
            <given-names>and I.</given-names>
            <surname>Horrocks. HermiT: A Highly-E cient OWL</surname>
          </string-name>
          <article-title>Reasoner</article-title>
          .
          <source>In Proc. of OWLED 2008 EU</source>
          , Karlsruhe, Germany,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>F. S.</given-names>
            <surname>Yevgeny</surname>
          </string-name>
          <string-name>
            <surname>Kazakov</surname>
          </string-name>
          ,
          <article-title>Markus Krotzsch. The incredible elk - from polynomial procedures to e cient reasoning with el ontologies</article-title>
          .
          <source>J. Autom. Reas.</source>
          ,
          <volume>53</volume>
          (
          <issue>1</issue>
          ):1{
          <fpage>61</fpage>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>