Query Answering with Guarded Existential Rules under Stable Model Semantics
Hai Wan, Guohui Xiao, Chenglin Wang, Xianqiao Liu, Junhong Chen, Zhe Wang
Abstract
In this paper, we study the problem of query answering with guarded existential rules (also called GNTGDs) under stable model semantics. Our goal is to use existing answer set programming (ASP) solvers. However, ASP solvers handle only finitely-ground logic programs while the program translated from GNTGDs by Skolemization is not in general. To address this challenge, we introduce two novel notions of (1) guarded instantiation forest to describe the instantiation of GNTGDs and (2) prime block to characterize the repeated infinitely-ground program translated from GNTGDs. Using these notions, we prove that the ground termination problem for GNTGDs is decidable. We also devise an algorithm for query answering with GNTGDs using ASP solvers. We have implemented our approach in a prototype system. The evaluation over a set of benchmarks shows encouraging results.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Related papers
- Answering Queries with Negation over Existential RulesStefan Ellmauthaler, Markus Krötzsch, Stephan MennickeAAAI 2022 · 6 citations
- Rewriting the Infinite ChaseMichael Benedikt, Maxime Buron, Stefano Germano, Kevin Kappelmann et al.VLDB 2022 · 7 citations
- Deciding the Loosely Guarded Fragment and Querying Its Horn Fragment Using ResolutionSen Zheng, Renate A. SchmidtAAAI 2020 · 6 citations
- Evaluating Epistemic Logic Programs via Answer Set Programming with QuantifiersWolfgang Faber, Michael MorakAAAI 2023 · 4 citations
- Resilient Logic Programs: Answer Set Programs Challenged by OntologiesSanja Lukumbuzya, Magdalena Ortiz, Mantas SimkusAAAI 2020 · 8 citations
