<!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>Learning Query Inseparable ELH Ontologies (Extended Abstract)</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Ana Ozaki</string-name>
          <email>ana.ozaki@uib.no</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Cosimo Persia</string-name>
          <email>cosimo.persia@uib.no</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Andrea Mazzullo</string-name>
          <email>mazzullo@inf.unibz.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Free University of Bozen-Bolzano</institution>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>University of Bergen</institution>
          ,
          <country country="NO">Norway</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>In this extended abstract we give an overview of our work [6], published at AAAI 2020, on learning description logic (DL) ontologies. We focus on learning ontologies formulated as ELH terminologies [2]. The problem of building ontologies is treated as a learning problem [4, 5, 3] in which a learner (the ontology engineer) attempts to acquire the necessary information to build an ontology by posing queries to a teacher (the domain expert), who knows about the domain of the ontology. This scenario can be modelled within Angluin's exact learning model [1], where a learner interacts with a teacher in order to learn a hypothesis that reflects (by some notion of similarity, approximation or equivalence) an abstract target which, in this case, is a DL ontology. The learner can formulate questions of two kinds. In the first one, the learner chooses a set of assertions A and a query q expressible in a query language Q, and asks the teacher if the target ontology T , together with A, entails q. Example 1. Assume T = fPalmTree v TropicalTreeg. Then, the learner can ask whether (T ; fPalmTree(a)g) j= TropicalTree(a), receiving the answer 'yes'. This is an instance of what is called a membership query in Angluin's model (note that the term 'query' here refers to the kind of question posed by the learner, not to a query in a query language). In the second, called inseparability query, the learner checks if the hypothesis and the target entail the same queries in a query language Q on a fixed set of assertions A . If so then the hypothesis and the target are query inseparable w.r.t. A and Q. In case they are not (query) inseparable, the learner receives from the teacher a query in Q showing that the hypothesis and the target can still be distinguished w.r.t. A and Q. We consider the cases in which Q is the language of atomic queries AQs, instance queries IQs, conjunctive queries CQs and rooted conjunctive queries CQrs (i.e., CQs where each variable is reachable from an individual name in its graph representation). Example 2. Consider T = fPalmTree v TropicalTree; TropicalTree v Treeg, and H = fPalmTree v TropicalTree; PalmTree v Treeg. Even though H is not equivalent to T , it is query inseparable w.r.t. A = fPalmTree(a)g and AQs. However, if A = fTropicalTree(a)g then T and H are not inseparable w.r.t A and AQs.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        As illustrated in Example 2, query inseparability is a less strict notion than
logical equivalence, investigated by Konev et al. [
        <xref ref-type="bibr" rid="ref3 ref4 ref5">4, 5, 3</xref>
        ]. We assume that the
      </p>
      <p>A. Ozaki et al.
learner knows the vocabulary of the ontology about the domain of interest (but
not how terms relate to each other and how they can be combined to form the
ontology), and that the teacher answers accordingly. We study, in the model just
described, the complexity of learning query inseparable ELH ontologies.</p>
      <p>The complexity of learning in this case depends on the interactions between
the learner and the teacher in order to learn a query inseparable ontology, where
posing a (membership or inseparability) query counts as one step of computation.
We consider two notions of complexity. In the case of query inseparability, they
depend also on the size of the fixed ABox, which is considered to be part of
input. One is based on the number and size of queries posed by the learner. This
is the query complexity. The other is based on the overall time spent by the
learner—time complexity (for learning). Polynomial time learnability implies
polynomial query learnability but not the converse.</p>
      <p>
        However, answering inseparability queries is more challenging for an expert
than answering membership queries. For this reason, we also consider an approach
for learning ontologies, based on Valiant’s probably approximately correct (PAC)
model [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] that avoids inseparability queries. Table 1 summarises, in the first two
columns, polynomial query learnability results for finding a logically equivalent
hypothesis, and our query inseparability results. We also consider the cases where
ontologies contain CIs with complex concepts only on the left hand side (EL(H)lhs),
or only on the right hand side (EL(H)rhs). The symbol 3 means ‘polynomial
query learnable’, while 7 means the negation of 3. The last column of the table
shows that query inseparable ontologies are polynomial query learnable in the
PAC model. Our main contributions are shaded in grey. In addition, we show
that there is a case in which one can achieve PAC learnability in polynomial
time but not polynomial query learnability with membership and inseparability
queries (and thus also not polynomial time learnability).
      </p>
      <p>Query inseparability may not be preserved after that the predefined set of
assertions is updated (Example 3).</p>
      <p>Example 3. If the fixed set of assertions in Example 2 is updated to A =
fTropicalTree(a)g, then H and T of Example 2 are not anymore query inseparable
w.r.t. A and AQ, because (T ; A ) j= Tree(a), while H does not.</p>
      <p>For this reason, we also study conditions under which query inseparability
is guaranteed to be preserved. We first observe that, if every individual in the
updated data instance A is bisimilar to an individual in the fixed data instance
A , then IQ-inseparability is preserved. This result does not hold if we just
require the existence of a homomorphism from the old ABox to the updated
one and vice-versa. We then show that there is an algorithm that can compute
a hypothesis that would preserve IQ inseparability under an extended class of
possible updates while still preserving IQ inseparability. The update in Example 3
is covered by this extended class of updates even though there is no bisimulation
between the old and the new set of assertions. In case query inseparability is
not preserved, the learning algorithm can pose further queries starting from the
previously built hypothesis.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>Dana</given-names>
            <surname>Angluin</surname>
          </string-name>
          .
          <article-title>Queries and concept learning</article-title>
          .
          <source>Machine Learning</source>
          ,
          <volume>2</volume>
          (
          <issue>4</issue>
          ):
          <fpage>319</fpage>
          -
          <lpage>342</lpage>
          ,
          <year>1988</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>Franz</given-names>
            <surname>Baader</surname>
          </string-name>
          , Diego Calvanese,
          <string-name>
            <surname>Deborah</surname>
            <given-names>McGuinness</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>Daniele</given-names>
            <surname>Nardi</surname>
          </string-name>
          , and
          <string-name>
            <surname>Peter</surname>
          </string-name>
          Patel-Schneider, editors.
          <source>The Description Logic Handbook: Theory</source>
          , Implementation, and
          <string-name>
            <surname>Applications</surname>
          </string-name>
          . Cambridge University Press, second edition,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>Mario</given-names>
            <surname>Ricardo Cruz Duarte</surname>
          </string-name>
          , Boris Konev, and Ana Ozaki.
          <article-title>ExactLearner: A tool for exact learning of EL ontologies</article-title>
          .
          <source>In KR</source>
          , pages
          <fpage>409</fpage>
          -
          <lpage>414</lpage>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>Boris</given-names>
            <surname>Konev</surname>
          </string-name>
          , Carsten Lutz, Ana Ozaki, and
          <string-name>
            <given-names>Frank</given-names>
            <surname>Wolter</surname>
          </string-name>
          .
          <article-title>Exact Learning of Lightweight Description Logic Ontologies</article-title>
          .
          <source>Journal of Machine Learning Research</source>
          ,
          <volume>18</volume>
          (
          <issue>201</issue>
          ):
          <fpage>1</fpage>
          -
          <lpage>63</lpage>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>Boris</given-names>
            <surname>Konev</surname>
          </string-name>
          , Ana Ozaki, and
          <string-name>
            <given-names>Frank</given-names>
            <surname>Wolter</surname>
          </string-name>
          .
          <article-title>A model for learning description logic ontologies based on exact learning</article-title>
          .
          <source>In AAAI</source>
          , pages
          <fpage>1008</fpage>
          -
          <lpage>1015</lpage>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>Ana</given-names>
            <surname>Ozaki</surname>
          </string-name>
          , Cosimo Persia, and
          <string-name>
            <given-names>Andrea</given-names>
            <surname>Mazzullo</surname>
          </string-name>
          .
          <article-title>Learning query inseparable ELH ontologies</article-title>
          .
          <source>In AAAI</source>
          , pages
          <fpage>2959</fpage>
          -
          <lpage>2966</lpage>
          . AAAI Press,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>L. G.</given-names>
            <surname>Valiant</surname>
          </string-name>
          .
          <article-title>A theory of the learnable</article-title>
          .
          <source>Commun. ACM</source>
          ,
          <volume>27</volume>
          (
          <issue>11</issue>
          ):
          <fpage>1134</fpage>
          -
          <lpage>1142</lpage>
          ,
          <year>1984</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>