<!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>Stable Model Semantics for Description Logic Terminologies (Extended Abstract)</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Federica Di Stefano</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Mantas Šimkus</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>(i) BasicUser(a)</institution>
          ,
          <addr-line>BasicUser(b)</addr-line>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Department of Computing Science, Umeå University</institution>
          ,
          <country country="SE">Sweden</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Institute of Logic and Computation, Vienna University of Technology</institution>
          ,
          <country country="AT">Austria</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>This paper is an extended abstract of our recent work on proposing a stable model semantics for Description Logic terminologies. Our semantics is based on Quantified Equilibrium Logic and overcomes some limitations of previous approaches. We prove that standard reasoning problems w.r.t. terminologies in ℒℐ under the stable model semantics are decidable in deterministic single exponential time. In contrast, we show that concept satisfiability w.r.t. general KBs in ℒℐ under the stable model semantics is undecidable.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Stable Models</kwd>
        <kwd>Quantified Equilibrium Logic</kwd>
        <kwd>Terminologies</kwd>
        <kwd>Computational Complexity</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction and Motivation</title>
      <p>
        (ii) PrivilegedUser(), PrivilegedUser()
While the extension (i) is natural and expected, the extension (ii) is questionable: the membership of
 and  in PrivilegedUser is not well-founded (there is only a self-supported justification). Baader [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]
advocates fixpoint semantics to overcome some weaknesses of the descriptive semantics. However, the
semantics of Baader is too strong in this example: it rejects both (i) and (ii). The stable model semantics
based on QEL proposed in [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] is stronger than the classical semantics, in the sense that some classical
models of a KB or terminology will be rejected as implausible (like (ii) in our example above), and
accepts (i). Enabling default negation, the stable model semantics of QEL allows to combine the OWA
and the CWA in a natural way. The reconciliation of OWA and CWA specifically in DL terminologies is
a problem whose relevance is boosted by the new W3C SHACL standard for expressing constraints
over RDF graphs [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. SHACL is syntactically very close to DL terminologies, but its semantics has not
been fully established yet (but it clearly leans towards CWA). The main contributions of [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] can be
summarized as follows:
• We define a semantics for general DL knowledge bases using Quantified Equilibrium Logic
(QEL) [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. The use of QEL in defining the semantics allows us to elegantly support fixed predicates ,
which are needed for modeling (extensional) base predicates in terminologies.
• We provide a strong undecidability results for reasoning in ℒℐ and ℒℐ in the presence of
role minimization. In particular, for ℒℐ the proof is given for KBs without negation, which
means that it carries over and applies to circumscribed ℒℐ KBs where all predicates are set
to be minimized. This complements the negative results in [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], which rely on the use of varying
predicates.
• We define a stable model semantics for DL terminologies. To achieve this, we instantiate our
stable model semantics for general KBs. Intuitively, for a given terminology  , we require all
base concept and role names of  to be interpreted as fixed predicates, i.e. they are not subject to
minimization. In addition, we provide two alternative definitions of stable models, based on level
mappings and fixpoint computation . We prove that the semantics are equivalent.
• We study the case of ℒℐ terminologies and prove ExpTime-completeness for the standard
reasoning tasks. This is achieved by proving a tree-model property and employing 2-way alternating
tree automata [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ].
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Stable Model Semantics and Contributions</title>
      <p>QEL is based on Here-and-There Logic (HT) with an additional minimality requirement. In contrast to
the classical case, an interpretation in the logic HT consists of a pair of structures (ℐ,  ) sharing the
same domain and interpreting individuals in the same way. The interpretation ℐ is the ‘here’ world
while  is the ‘there’ world. We call assumed everything that is true ‘there’, and founded everything
that is true ‘here’. The two ‘worlds’ are related by the inclusion relation, i.e. ℐ ⊆  : ‘here’ is included
in ‘there’, i.e. ℐ ⊆  , for all predicates . Fixed predicates can be easily expressed by requiring that ℐ
and  agree on a set  of predicates. In this case, we write ℐ ⊆   .</p>
      <p>Definition 1. A Here-and-There (HT) interpretation is a pair (ℐ,  ) of interpretations with ℐ ⊆  . We
define an interpretation function · (ℐ, ) using the equations in Figure 1.</p>
      <p>In the HT logic, the implication is intuitionistic: in jargon it needs to be ‘founded’, meaning that the
HT interpretation must model it, and ‘assumed’, meaning that the ‘there’ world must model it. In DLs,
the universally quantified concept of the form ∀. can be translated in FOL as ∀(((, ) → ()).
Thus the interpretation must align with the interpretation of implication in quantified HT. As a matter
of fact, concept inclusions are also afected by this double nature of implication, as they are ‘explicit’
implications in DLs.</p>
      <p>Definition 2.</p>
      <p>Assume a KB  = ( , ) and an HT interpretation (ℐ,  ). We write:
(ℐ, ) = ℐ
(ℐ, ) = ℐ</p>
      <p>(ℐ, ) = ℐ
(− )(ℐ, ) = {(, ′) | (′, ) ∈ ℐ }
(1 ⊓ 2)(ℐ, ) = 1(ℐ, ) ∩ 2(ℐ, )
⊤(ℐ, ) = Δℐ
(¬)(ℐ, ) = Δℐ ∖</p>
      <p>⊥(ℐ, ) = ∅
(1 ⊔ 2)(ℐ, ) = 1(ℐ, ) ∪ 2(ℐ, )
(∃.)(ℐ, ) = { ∈ Δℐ | ∃′ : (, ′) ∈ (ℐ, ) ∧ ′ ∈ (ℐ, )}
(∀.)(ℐ, ) = {︁ ∈ Δℐ | ∀′ : ((,, ′′)) ∈∈ (ℐ,im)pilmiepslie′s∈′∈(ℐ, ) and }︁
- (ℐ,  ) |=  ⊑ , if (ℐ, ) ⊆ (ℐ, ) and  ⊆  ;
- (ℐ,  ) |= , if ℐ |=  and (ℐ,  ) |=  ⊑ , for all  ⊑  ∈  .</p>
      <p>Definition 3 (Stable model). Given  ⊆  ∪ , an interpretation  is a stable model of a KB 
under fixed predicates  , if
(i) the HT interpretation ( ,  ) is a model of , and
(ii) there is no ℐ s.t. (ℐ,  ) is a model of  and ℐ ⊂   .</p>
      <p>Intuitively, a model is stable if it cannot be further improved in a better ‘here’ world. In the semantics
introduced above, the negation ¬ behaves as negation as failure or default negation in logic programs.
Given an HT model, the ‘there’ is a classical model and a concept  true at some domain element in the
‘there’ can be thought of as ‘to be justified’. An HT model is not stable if the truth of an atom in the
‘there’ cannot be proved. Intuitively, the truth of ¬ at a domain element  in a stable model amounts
to ‘we cannot justify  at ’.</p>
      <p>
        The standard reasoning tasks of satisfiability , concept satisfiability , subsumption and instance checking
are adapted to stable models in the obvious way [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. Identifying a stable model of a KB requires checking
minimality (see (ii) in Definition 3), which is computationally dificult.
      </p>
      <p>Theorem 1. Concept satisfiability in ℒℐ under the stable model semantics is undecidable.</p>
      <p>
        The result above is based on a reduction from the domino problem. The constructed TBox is
negationfree, thus the undecidability result applies to circumscribed ℒℐ with all predicates minimized,
extending the results of [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] relying on the use of varying predicates. We prove that under the stable
model semantics reasoning w.r.t. KBs in ℒℐ can be reduced to reasoning w.r.t. KBs in ℒℐ.
Thus standard reasoning problems in ℒℐ are undecidable.
      </p>
      <p>Terminologies. A key feature of terminologies is the separation of the predicates in a terminology
 into two sets: def( ) are the intensional predicates that are defined using concept definitions based
on the extensional predicates in base( ). In the context of the stable model semantics, it is thus natural
to not require minimization of the predicates in base( ), i.e. the extensions of these predicates should
remain fixed during the minimization process. Based on this observation, a stable model semantics for
terminologies  can be immediately obtained by instantiating Definition 3, which covers general KBs:
(a) view every concept definition  :=  ∈  as an inclusion  ⊑ , and (b) use  = base( ) as the
set of fixed predicates.</p>
      <p>
        In [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], we define an equivalent stable model semantics for terminologies based on level mappings,
similarly to [11]. Level mappings allow tracking the justifications of defined predicates. Roughly
speaking, a model of a terminology is stable if all occurrences of defined concepts are well-founded,
meaning that they are supported by a finite justification. We use level mapping to guide the unraveling
of stable models, preserving the well-foundedness.
      </p>
      <p>Theorem 2. If a terminology  has a stable model, then it has a tree-shaped stable model.</p>
      <p>Given a terminology  , we can construct a 2ATA A (with Büchi acceptance condition) whose number
of states is polynomial in the size of  and such that  has a tree-shaped stable model if A is not
empty, i.e. A accepts a tree. The automaton A is the intersection of two automata on labeled trees.
The first automaton A checks that the input tree is a classical model of the terminology, it can be
constructed in the usual way [12]. The second automaton A checks the well-foundedness of defined
concepts and can be constructed in a similar way of [13].</p>
      <p>Theorem 3. For ℒℐ terminologies under the stable model semantics, the problems of satisfiability,
concept subsumption, and concept satisfiability are ExpTime-complete.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Conclusions</title>
      <p>We expect that our result for terminologies in ℒℐ can be extended to ℒℐ following the
techniques of [13]. Finite model reasoning in terminologies under the stable model semantics is also
a relevant open problem: it has the potential to provide new insights into, e.g., the complexity of
static analysis problems for SHACL. Another natural direction (also relevant for SHACL) is to study
terminologies that support regular expressions over roles, which enable recursive navigation of paths in
an interpretation.</p>
    </sec>
    <sec id="sec-4">
      <title>Acknowledgments</title>
      <p>This work was partially supported by the Austrian Science Fund (FWF) project P30873, and by the
Wallenberg AI, Autonomous Systems, and Software Program (WASP), funded by the Knut and Alice
Wallenberg Foundation.
[11] M. Andresel, J. Corman, M. Ortiz, J. L. Reutter, O. Savkovic, M. Šimkus, Stable model semantics for
recursive SHACL, in: Proc. of WWW 2020, ACM / IW3C2, 2020, pp. 1570–1580.
[12] D. Calvanese, T. Eiter, M. Ortiz, Answering regular path queries in expressive description logics:</p>
      <p>An automata-theoretic approach, in: Proc. of AAAI 2007, AAAI Press, 2007, pp. 391–396.
[13] U. Sattler, M. Y. Vardi, The hybrid  -calculus, in: Proc. of IJCAR 2001, volume 2083 of Lecture
Notes in Computer Science, Springer, 2001, pp. 76–91. URL: https://doi.org/10.1007/3-540-45744-5_7.
doi:10.1007/3-540-45744-5\_7.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>F.</given-names>
            <surname>Baader</surname>
          </string-name>
          , I. Horrocks,
          <string-name>
            <given-names>C.</given-names>
            <surname>Lutz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>U.</given-names>
            <surname>Sattler</surname>
          </string-name>
          , An Introduction to Description Logic, Cambridge University Press,
          <year>2017</year>
          . doi:
          <volume>10</volume>
          .1017/9781139025355.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>T.</given-names>
            <surname>Schneider</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Šimkus</surname>
          </string-name>
          ,
          <article-title>Ontologies and data management: A brief survey</article-title>
          ,
          <source>Künstliche Intell</source>
          .
          <volume>34</volume>
          (
          <year>2020</year>
          )
          <fpage>329</fpage>
          -
          <lpage>353</lpage>
          . URL: https://doi.org/10.1007/s13218-020-00686-3. doi:
          <volume>10</volume>
          .1007/ S13218-020-00686-3.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>F.</given-names>
            <surname>Di Stefano</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Šimkus</surname>
          </string-name>
          ,
          <article-title>Stable model semantics for description logic terminologies</article-title>
          , in: AAAI, AAAI Press,
          <year>2024</year>
          , pp.
          <fpage>10484</fpage>
          -
          <lpage>10492</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>D.</given-names>
            <surname>Pearce</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Valverde</surname>
          </string-name>
          ,
          <article-title>Quantified equilibrium logic and foundations for answer set programs</article-title>
          ,
          <source>in: Proc. of ICLP</source>
          <year>2008</year>
          , volume
          <volume>5366</volume>
          of Lecture Notes in Computer Science, Springer,
          <year>2008</year>
          , pp.
          <fpage>546</fpage>
          -
          <lpage>560</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>D.</given-names>
            <surname>Pearce</surname>
          </string-name>
          , Equilibrium logic, Ann. Math. Artif. Intell.
          <volume>47</volume>
          (
          <year>2006</year>
          )
          <fpage>3</fpage>
          -
          <lpage>41</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>B.</given-names>
            <surname>Nebel</surname>
          </string-name>
          , Terminological cycles:
          <article-title>Semantics and computational properties</article-title>
          , in: J. F. Sowa (Ed.),
          <source>Principles of Semantic Networks - Explorations in the Representation of Knowledge</source>
          , The Morgan Kaufmann Series in representation and reasoning, Morgan Kaufmann,
          <year>1991</year>
          , pp.
          <fpage>331</fpage>
          -
          <lpage>361</lpage>
          . URL: https: //doi.org/10.1016/B978-1
          <source>-4832-0771-1</source>
          .
          <fpage>50018</fpage>
          -
          <lpage>7</lpage>
          . doi:
          <volume>10</volume>
          .1016/B978-1
          <source>-4832-0771-1</source>
          .
          <fpage>50018</fpage>
          -
          <lpage>7</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>F.</given-names>
            <surname>Baader</surname>
          </string-name>
          ,
          <article-title>Terminological cycles in KL-ONE-based knowledge representation languages</article-title>
          ,
          <source>in: Proc. of AAAI</source>
          <year>1990</year>
          , AAAI Press / The MIT Press,
          <year>1990</year>
          , pp.
          <fpage>621</fpage>
          -
          <lpage>626</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>H.</given-names>
            <surname>Knublauch</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Kontokostas</surname>
          </string-name>
          ,
          <article-title>Shapes constraint language (W3C SHACL)</article-title>
          , https://www.w3.org/ TR/shacl/,
          <year>2017</year>
          . Accessed:
          <fpage>2024</fpage>
          -01-24.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>P. A.</given-names>
            <surname>Bonatti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Lutz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Wolter</surname>
          </string-name>
          ,
          <article-title>The complexity of circumscription in description logic</article-title>
          ,
          <source>J. Artif. Intell. Res</source>
          .
          <volume>35</volume>
          (
          <year>2009</year>
          )
          <fpage>717</fpage>
          -
          <lpage>773</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>M. Y.</given-names>
            <surname>Vardi</surname>
          </string-name>
          ,
          <article-title>Reasoning about the past with two-way automata</article-title>
          ,
          <source>in: Proc. of ICALP</source>
          <year>1998</year>
          , volume
          <volume>1443</volume>
          of Lecture Notes in Computer Science, Springer,
          <year>1998</year>
          , pp.
          <fpage>628</fpage>
          -
          <lpage>641</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>