<!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>Separating Positive and Negative Data Examples by Concepts and Formulas: The Case of Restricted Signatures (Abstract)</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Jean Christoph Jung</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Carsten Lutz</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Hadrien Pulcini</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Frank Wolter</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>University of Bremen</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>University of Liverpool</institution>
          ,
          <country country="UK">UK</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>There are several applications that fall under the broad term of supervised learning and seek to compute a logical expression that separates positive from negative examples given in the form of labeled data items in a knowledge base. A prominent example is concept learning for description logics (DLs) where the aim is to automatically construct a concept description that can then be used, for instance, in ontology engineering [4, 21, 20, 30, 8, 9, 27]. A further example is reverse engineering of database queries (also called query by example, QBE), which has a long history in database research [28, 29, 32, 31, 17, 1, 6, 18, 23] and which has also been studied in the presence of a DL ontology [12, 24]. Note that a closed world semantics is adopted for QBE in databases while an open world semantics is required when the data is assumed to be incomplete as in the presence of ontologies, but also, for example, in reverse engineering of SPARQL queries [2]. Another example is entity comparison in RDF graphs, where one aims to nd meaningful descriptions that separate one entity from another [26, 25] and a nal example is generating referring expressions (GRE) where the aim is to describe a single data item by a logical expression such as a DL concept, separating it from all other data items. GRE has originated in linguistics [19], but has recently received interest in DL-based ontology-mediated querying [7]. A fundamental problem common to all these applications is to decide whether a separating expression exists at all. There are several degrees of freedom in de ning this problem. One concerns the negative examples: is it enough that they do not entail the separating formula (weak separability ) or are they required to entail its negation (strong separability )? Another one concerns the question whether additional helper symbols are admitted in the separating formula (projective separability ) or not (non-projective separability ). The emerging family of problems has recently been investigated in [10, 14], concentrating on the case where the separating expression is a DL concept or formulated in a decidable fragment of rst-order logic (FO) such as the guarded fragment (GF) and the guarded negation fragment (GNF). In the work reported about in this abstract [15], we add a signature that is given as an additional input and require separating expressions to be formulated in . This makes it possible to `direct' separation towards expressions based on desired features and to exclude features that are not supposed to be used for separation such as gender and skin color. In</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        the projective case, helper symbols from outside are also admitted, but must
be `fresh' in that they cannot occur in the given knowledge base. The
signature brings the separation problem closer to the problem of deciding whether
an ontology is a conservative extension of another ontology [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ], also a form of
separation, and to deciding the existence of uniform interpolants [22]. It turns
out, in fact, that lower bounds for these problems can often be adapted to weak
separability with signature. In constrast, for strong separability we observe a
close connection to Craig interpolation.
      </p>
      <p>We consider both weak and strong separability, generally assuming that the
ontology is formulated in the same logic that is used for separation. We
concentrate on combined complexity, that is, the input to the decision problems
consists of the knowledge base that comprises an ABox and an ontology, the
positive and negative examples in the form of lists of individuals (for DLs) or
lists of tuples of individuals (for FO fragments that support more than one free
variable), and the signature. In the following, we summarize our main results.</p>
      <p>
        We start with weak projective separability in ALCI, present a
characterization in terms of -homomorphisms that generalizes characterizations from [
        <xref ref-type="bibr" rid="ref10 ref14">10,
14</xref>
        ], and then give a decision procedure based on tree automata. This yields a
2ExpTime upper bound, and a matching lower bound is obtained by reduction
from conservative extensions. In contrast, weak projective (and non-projective)
separability in ALCI without a signature is only NExpTime-complete [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. The
non-projective case with signature remains open. We then show that weak
separability is undecidable in any fragment of FO that extends GF (such as GNF) or
ALCF IO (such as the two-variable fragment of FO with counting quanti ers).
In both cases, the proof is by adaptation of undecidability proofs for
conservative extensions [
        <xref ref-type="bibr" rid="ref11 ref13">13, 11</xref>
        ] and applies to both the projective and the non-projective
case. This should be contrasted with the fact that weak separability is
decidable and 2ExpTime-complete for GF and for GNF without a signature, both
in the projective and in the non-projective case [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]. The decidability status
of (any version of) separability in ALCF IO without a signature is open. It is
known, however, that projective and non-projective weak separability without a
signature are undecidable in the two-variable fragment of FO [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ].
      </p>
      <p>
        We then turn to strong separability. Here, the projective and the
non-projective case coincide and will thus not be distinguished in what follows. We
again start with ALCI for which we show 2ExpTime-completeness, and thus
the increase in complexity that results from adding a signature is even more
pronounced. In fact, strong separability without a signature is only
ExpTimecomplete in ALCI [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]. The proofs are rather di erent from those used in the
weak case. The upper bound proof uses a characterization of non-separability in
terms of the existence of a set of types that can be realized in a model of the
ontology at elements that are all ALCI( )-bisimilar. A matching lower bound
is proved by a reduction from the word problem of exponentially space bounded
ATMs. Alternatively, the 2ExpTime upper bound can be proved by a polynomial
time reduction to Craig interpolant existence in ALCIO, the extension of ALCI
with nominals. In fact, it has recently be shown that Craig interpolant existence
in ALCIO is decidable in 2ExpTime [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
      </p>
      <p>
        For the guarded fragments GF and GNF, we show decidability in 3ExpTime
and 2ExpTime-completeness, respectively. The upper bounds are proved by
providing a polynomial time reduction to the respective Craig interpolant existence
problems. Since GNF has the Craig interpolation property (CIP) [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], interpolant
existence reduces to validity and is thus 2ExpTime-complete. GF does not
enjoy the CIP and the 3ExpTime upper bound for interpolant existence has only
been established recently [16].
      </p>
      <p>Acknowledgments. Supported by the DFG Collaborative Research Center
1320 EASE - Everyday Activity Science and Engineering.
16. Jung, J.C., Wolter, F.: Living without Beth and Craig: Explicit
definitions and interpolants in the guarded fragment (2020), available at
http://arxiv.org/abs/2007.01597
17. Kalashnikov, D.V., Lakshmanan, L.V., Srivastava, D.: Fastqre: Fast query reverse
engineering. In: Proc. of SIGMOD. pp. 337{350 (2018)
18. Kimelfeld, B., Re, C.: A relational framework for classi er engineering. ACM Trans.</p>
      <p>Database Syst. 43(3), 11:1{11:36 (2018), https://doi.org/10.1145/3268931
19. Krahmer, E., van Deemter, K.: Computational generation of referring expressions:</p>
      <p>A survey. Computational Linguistics 38(1), 173{218 (2012)
20. Lehmann, J., Fanizzi, N., Buhmann, L., d'Amato, C.: Concept learning. In:
Perspectives on Ontology Learning, pp. 71{91. AKA / IOS Press (2014)
21. Lehmann, J., Hitzler, P.: Concept learning in description logics using re nement
operators. Machine Learning 78, 203{250 (2010)
22. Lutz, C., Wolter, F.: Foundations for uniform interpolation and forgetting in
expressive description logics. In: Proc. of IJCAI. pp. 989{995. IJCAI/AAAI (2011)
23. Martins, D.M.L.: Reverse engineering database queries from examples:
State-ofthe-art, challenges, and research opportunities. Information Systems (2019)
24. Ortiz, M.: Ontology-mediated queries from examples: a glimpse at the DL-Lite
case. In: Proc. of GCAI. pp. 1{14 (2019)
25. Petrova, A., Kostylev, E.V., Grau, B.C., Horrocks, I.: Query-based entity
comparison in knowledge graphs revisited. In: Proc. of ISWC. pp. 558{575. Springer
(2019)
26. Petrova, A., Sherkhonov, E., Grau, B.C., Horrocks, I.: Entity comparison in RDF
graphs. In: Proc. of ISWC. pp. 526{541 (2017)
27. Sarker, M.K., Hitzler, P.: E cient concept induction for description logics. In:</p>
      <p>Proc. of AAAI. pp. 3036{3043 (2019)
28. Tran, Q.T., Chan, C., Parthasarathy, S.: Query by output. In: Proc. of PODS. pp.</p>
      <p>535{548. ACM (2009)
29. Tran, Q.T., Chan, C.Y., Parthasarathy, S.: Query reverse engineering. VLDB J.</p>
      <p>23(5), 721{746 (2014)
30. Tran, T., Ha, Q., Hoang, T., Nguyen, L.A., Nguyen, H.S.: Bisimulation-based
concept learning in description logics. Fundam. Inform. 133(2-3), 287{303 (2014)
31. Weiss, Y.Y., Cohen, S.: Reverse engineering spj-queries from examples. In: Proc.</p>
      <p>of PODS. pp. 151{166. ACM (2017)
32. Zhang, M., Elmeleegy, H., Procopiuc, C.M., Srivastava, D.: Reverse engineering
complex join queries. In: Proc. of SIGMOD. pp. 809{820. ACM (2013)</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Arenas</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Diaz</surname>
            ,
            <given-names>G.I.:</given-names>
          </string-name>
          <article-title>The exact complexity of the rst-order logic de nability problem</article-title>
          .
          <source>ACM Trans. Database Syst</source>
          .
          <volume>41</volume>
          (
          <issue>2</issue>
          ),
          <volume>13</volume>
          :1{
          <fpage>13</fpage>
          :
          <fpage>14</fpage>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Arenas</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Diaz</surname>
            ,
            <given-names>G.I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kostylev</surname>
            ,
            <given-names>E.V.</given-names>
          </string-name>
          :
          <article-title>Reverse engineering SPARQL queries</article-title>
          .
          <source>In: Proc. of WWW</source>
          . pp.
          <volume>239</volume>
          {
          <issue>249</issue>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Artale</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jung</surname>
            ,
            <given-names>J.C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mazzullo</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ozaki</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wolter</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Living without Beth and Craig: Explicit de nitions and interpolants in description logics with nominals (</article-title>
          <year>2020</year>
          ), available at https://arxiv.org/abs/
          <year>2007</year>
          .02736
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Badea</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          , Nienhuys-Cheng, S.:
          <article-title>A re nement operator for description logics</article-title>
          .
          <source>In: Proc. of ILP</source>
          . pp.
          <volume>40</volume>
          {
          <issue>59</issue>
          (
          <year>2000</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Barany</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Benedikt</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>ten Cate</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Some model theory of guarded negation</article-title>
          .
          <source>J. Symb. Log</source>
          .
          <volume>83</volume>
          (
          <issue>4</issue>
          ),
          <volume>1307</volume>
          {
          <fpage>1344</fpage>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Barcelo</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Romero</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>The complexity of reverse engineering problems for conjunctive queries</article-title>
          .
          <source>In: Proc. of ICDT</source>
          . pp.
          <volume>7</volume>
          :
          <issue>1</issue>
          {7:
          <issue>17</issue>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Borgida</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Toman</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Weddell</surname>
            ,
            <given-names>G.E.</given-names>
          </string-name>
          :
          <article-title>On referring expressions in query answering over rst order knowledge bases</article-title>
          .
          <source>In: Proc. of KR</source>
          . pp.
          <volume>319</volume>
          {
          <issue>328</issue>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8. Buhmann, L.,
          <string-name>
            <surname>Lehmann</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Westphal</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bin</surname>
            ,
            <given-names>S.:</given-names>
          </string-name>
          <article-title>DL-learner - structured machine learning on semantic web data</article-title>
          .
          <source>In: Proc. of WWW</source>
          . pp.
          <volume>467</volume>
          {
          <issue>471</issue>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Fanizzi</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rizzo</surname>
          </string-name>
          , G.,
          <string-name>
            <surname>d'Amato</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Esposito</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>DLFoil: Class expression learning revisited</article-title>
          .
          <source>In: Proc. of EKAW</source>
          . pp.
          <volume>98</volume>
          {
          <issue>113</issue>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Funk</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jung</surname>
            ,
            <given-names>J.C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pulcini</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wolter</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Learning description logic concepts: When can positive and negative examples be separated?</article-title>
          <source>In: Proc. of IJCAI</source>
          . pp.
          <volume>1682</volume>
          {
          <issue>1688</issue>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Ghilardi</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wolter</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Did I damage my ontology? A case for conservative extensions in description logics</article-title>
          .
          <source>In: Proc. of KR</source>
          . pp.
          <volume>187</volume>
          {
          <fpage>197</fpage>
          . AAAI Press (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Gutierrez-Basulto</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jung</surname>
            ,
            <given-names>J.C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sabellek</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Reverse engineering queries in ontology-enriched systems: The case of expressive Horn description logic ontologies</article-title>
          .
          <source>In: Proc. of IJCAI-ECAI</source>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Jung</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Martel</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schneider</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wolter</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Conservative extensions in guarded and two-variable fragments</article-title>
          .
          <source>In: Proc. of ICALP</source>
          . pp.
          <volume>108</volume>
          :
          <issue>1</issue>
          {
          <fpage>108</fpage>
          :
          <fpage>14</fpage>
          .
          <string-name>
            <surname>Schloss</surname>
            <given-names>Dagstuhl { LZI</given-names>
          </string-name>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Jung</surname>
            ,
            <given-names>J.C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pulcini</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wolter</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Logical separability of incomplete data under ontologies</article-title>
          .
          <source>In: Proc. of KR</source>
          (
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Jung</surname>
            ,
            <given-names>J.C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pulcini</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wolter</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Separating positive and negative data examples by concepts and formulas: The case of restricted signature</article-title>
          . In: https://arxiv.org/abs/
          <year>2007</year>
          .02736 (
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>