Disjunctive ASP with Functions: Decidable Queries and Effective Computation
Mario Alviano, Wolfgang Faber, Nicola Leone

TL;DR
This paper demonstrates that query answering in disjunctive ASP with functions and stratified negation is decidable for finitely recursive queries, providing an effective evaluation method via an extended magic set technique.
Contribution
It introduces a decidable class of disjunctive ASP with functions, extending the magic set technique for effective query evaluation.
Findings
Query answering is decidable for finitely recursive ASP^{fs}_{fr} queries.
The extended magic set technique preserves query equivalence and finiteness.
Finitely ground programs can be evaluated with existing ASP solvers.
Abstract
Querying over disjunctive ASP with functions is a highly undecidable task in general. In this paper we focus on disjunctive logic programs with stratified negation and functions under the stable model semantics (ASP^{fs}). We show that query answering in this setting is decidable, if the query is finitely recursive (ASP^{fs}_{fr}). Our proof yields also an effective method for query evaluation. It is done by extending the magic set technique to ASP^{fs}_{fr}. We show that the magic-set rewritten program is query equivalent to the original one (under both brave and cautious reasoning). Moreover, we prove that the rewritten program is also finitely ground, implying that it is decidable. Importantly, finitely ground programs are evaluable using existing ASP solvers, making the class of ASP^{fs}_{fr} queries usable in practice.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
