Stable model semantics for guarded existential rules and description logics : decidability and complexity

Gottlob, Georg and Hernich, André and Kupke, Clemens and Lukasiewicz, Thomas (2021) Stable model semantics for guarded existential rules and description logics : decidability and complexity. Journal of the ACM, 68 (5). pp. 1-87. 35. ISSN 1557-735X (

[thumbnail of Gottlob-etal-JACM-2021-Stable-model-semantics-for-guarded-existential-rules-and-description] Text. Filename: Gottlob_etal_JACM_2021_Stable_model_semantics_for_guarded_existential_rules_and_description.pdf
Accepted Author Manuscript
Restricted to Repository staff only until 22 October 2022.

Download (1MB) | Request a copy


This work investigates the decidability and complexity of database query answering under guarded existential rules with nonmonotonic negation according to the classical stable model semantics. In this setting, existential quantification is interpreted via Skolem functions, and the unique name assumption is adopted. As a first result, we show the decidability of answering first-order queries based on such rules by a translation into the satisfiability problem for guarded second-order formulas having the tree-model property. To obtain precise complexity results for unions of conjunctive queries, we transform the original problem in polynomial time into an intermediate problem that is easier to analyze: query answering for guarded disjunctive existential rules with stratified negation. We obtain precise bounds for the general setting and for various restricted settings. We also consider extensions of the original formalism with negative constraints, keys, and the possibility of negated atoms in queries. Finally, we show how the above results can be used to provide decidability and complexity results for a natural adaptation of the stable model semantics to description logics such as ELHI and the DL-Lite family.