=Paper=
{{Paper
|id=Vol-3739/abstract-25
|storemode=property
|title=Stable Model Semantics for Description Logic Terminologies (Extended Abstract)
|pdfUrl=https://ceur-ws.org/Vol-3739/abstract-25.pdf
|volume=Vol-3739
|authors=Federica Di Stefano,Mantas Ε imkus
|dblpUrl=https://dblp.org/rec/conf/dlog/0001S24a
}}
==Stable Model Semantics for Description Logic Terminologies (Extended Abstract)==
Stable Model Semantics for Description Logic Terminologies (Extended Abstract) Federica Di Stefano1 , Mantas Ε imkus1,2 1 Institute of Logic and Computation, Vienna University of Technology, Austria 2 Department of Computing Science, UmeΓ₯ University, Sweden Abstract 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. Keywords Stable Models, Quantified Equilibrium Logic, Terminologies, Computational Complexity 1. Introduction and Motivation Description Logics are often seen as fragments of the classical first-order logic, equipped with a syntax that is more convenient for knowledge representation [1]. In particular, this means that most DLs nowadays make the open-world assumption (OWA), in which, intuitively, everything that is not forbidden is considered possible. However, it is acknowledged that supporting the closed-world assumption (CWA) is also important in order to enable commonsense reasoning in DLs, e.g., by means of default negation (see, e.g., the overview and the references in [2]). In [3], we consider Description Logics under the stable model semantics of Quantified Equilibrium Logic (QEL) [4] which provides an elegant logical formalization of the stable model semantics of logic programs with default negation [5]. The stable model semantics of QEL turns out to be an appropriate semantics for terminologies in πβπβ. A terminology π― consists of statements of the form π΄ := πΆ, where a concept name π΄ is defined using a complex concept expression πΆ. A terminology may contain terminological cycles, where a definition of some concept name may be recursive, as in the following terminology: BasicUser := User β Β¬PrivilegedUser PrivilegedUser := Admin β βpromotedBy.PrivilegedUser Here BasicUser and PrivilegedUser are (intensional or defined) concept names defined using (exten- sional) base predicates User , Admin, and promotedBy. A concrete semantics for terminologies tells us how to interpret the defined concept names given an extension for the base predicates. Suppose the base predicates correspond to the following facts: User (π) User (π) promotedBy(π, π) promotedBy(π, π) In the last three decades, essentially three semantics have been proposed to deal with terminologies: the least fixpoint semantics, the greatest fixpoint semantics, and the descriptive semantics. The descriptive semantics [6] is nowadays the classical semantics for DLs, deemed as the most natural semantics and it sees β:=β as a logical equivalence; in our example, it produces two possible extensions for the defined concept names: (i) BasicUser(π), BasicUser(π) DL 2024: 37th International Workshop on Description Logics, June 18β21, 2024, Bergen, Norway $ federica.stefano@tuwien.ac.at (F. Di Stefano); simkus@dbai.tuwien.ac.at (M. Ε imkus) Β© 2024 Copyright for this paper by its authors. Use permitted under Creative Commons License Attribution 4.0 International (CC BY 4.0). CEUR ceur-ws.org Workshop ISSN 1613-0073 Proceedings (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 [7] 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 [3] 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 [8]. 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 [3] can be summarized as follows: β’ We define a semantics for general DL knowledge bases using Quantified Equilibrium Logic (QEL) [4]. 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 [9], 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 rea- soning tasks. This is achieved by proving a tree-model property and employing 2-way alternating tree automata [10]. 2. Stable Model Semantics and Contributions 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 β βπΉ π₯ . 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. 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 affected by this double nature of implication, as they are βexplicitβ implications in DLs. Definition 2. Assume a KB π¦ = (π― , π) and an HT interpretation (β, π₯ ). We write: π(β,π₯ ) = πβ π΄(β,π₯ ) = π΄β π(β,π₯ ) = πβ β€(β,π₯ ) = Ξβ β₯(β,π₯ ) = β (πβ )(β,π₯ ) = {(π, πβ² ) | (πβ² , π) β πβ } (Β¬πΆ)(β,π₯ ) = Ξβ β πΆ π₯ (β,π₯ ) (β,π₯ ) (β,π₯ ) (β,π₯ ) (πΆ1 β πΆ2 )(β,π₯ ) = πΆ1 β© πΆ2 (πΆ1 β πΆ2 )(β,π₯ ) = πΆ1 βͺ πΆ2 (βπ .πΆ)(β,π₯ ) = {π β Ξβ | βπβ² : (π, πβ² ) β π (β,π₯ ) β§ πβ² β πΆ (β,π₯ ) } (π, πβ² ) β π (β,π₯ ) implies πβ² β πΆ (β,π₯ ) and {οΈ }οΈ (βπ .πΆ)(β,π₯ ) = π β Ξβ | βπβ² : (π, πβ² ) β π π₯ implies πβ² β πΆ π₯ Figure 1: HT semantics for DLs. - (β, π₯ ) |= πΆ β π·, if πΆ (β,π₯ ) β π·(β,π₯ ) and πΆ π₯ β π·π₯ ; - (β, π₯ ) |= π¦, if β |= π and (β, π₯ ) |= πΆ β π·, for all πΆ β π· β π― . 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 β βπΉ π₯ . 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 πβ. The standard reasoning tasks of satisfiability, concept satisfiability, subsumption and instance checking are adapted to stable models in the obvious way [3]. Identifying a stable model of a KB requires checking minimality (see (ii) in Definition 3), which is computationally difficult. Theorem 1. Concept satisfiability in πβπβπͺ under the stable model semantics is undecidable. The result above is based on a reduction from the domino problem. The constructed TBox is negation- free, thus the undecidability result applies to circumscribed πβπβπͺ with all predicates minimized, extending the results of [9] 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. 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. In [3], 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. Theorem 2. If a terminology π― has a stable model, then it has a tree-shaped stable model. 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 iff 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]. Theorem 3. For πβπβ terminologies under the stable model semantics, the problems of satisfiability, concept subsumption, and concept satisfiability are ExpTime-complete. 3. Conclusions 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. Acknowledgments 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. References [1] F. Baader, I. Horrocks, C. Lutz, U. Sattler, An Introduction to Description Logic, Cambridge University Press, 2017. doi:10.1017/9781139025355. [2] T. Schneider, M. Ε imkus, Ontologies and data management: A brief survey, KΓΌn- stliche Intell. 34 (2020) 329β353. URL: https://doi.org/10.1007/s13218-020-00686-3. doi:10.1007/ S13218-020-00686-3. [3] F. Di Stefano, M. Ε imkus, Stable model semantics for description logic terminologies, in: AAAI, AAAI Press, 2024, pp. 10484β10492. [4] D. Pearce, A. Valverde, Quantified equilibrium logic and foundations for answer set programs, in: Proc. of ICLP 2008, volume 5366 of Lecture Notes in Computer Science, Springer, 2008, pp. 546β560. [5] D. Pearce, Equilibrium logic, Ann. Math. Artif. Intell. 47 (2006) 3β41. [6] B. Nebel, Terminological cycles: Semantics and computational properties, in: J. F. Sowa (Ed.), Principles of Semantic Networks - Explorations in the Representation of Knowledge, The Morgan Kaufmann Series in representation and reasoning, Morgan Kaufmann, 1991, pp. 331β361. URL: https: //doi.org/10.1016/B978-1-4832-0771-1.50018-7. doi:10.1016/B978-1-4832-0771-1.50018-7. [7] F. Baader, Terminological cycles in KL-ONE-based knowledge representation languages, in: Proc. of AAAI 1990, AAAI Press / The MIT Press, 1990, pp. 621β626. [8] H. Knublauch, D. Kontokostas, Shapes constraint language (W3C SHACL), https://www.w3.org/ TR/shacl/, 2017. Accessed: 2024-01-24. [9] P. A. Bonatti, C. Lutz, F. Wolter, The complexity of circumscription in description logic, J. Artif. Intell. Res. 35 (2009) 717β773. [10] M. Y. Vardi, Reasoning about the past with two-way automata, in: Proc. of ICALP 1998, volume 1443 of Lecture Notes in Computer Science, Springer, 1998, pp. 628β641. [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: 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.