Using ASP(Q) to Handle Inconsistent Prioritized Data
Pith reviewed 2026-05-08 13:51 UTC · model grok-4.3
The pith
ASP(Q) encodings let systems compute query answers from inconsistent data by selecting optimal repairs according to fact priorities.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
We encode the computation of answers under Pareto-optimal, globally-optimal, and completion-optimal repair semantics into ASP(Q) programs, thereby obtaining the first implementations of the globally-optimal repair semantics and of the grounded semantics, a polynomial-time under-approximation of all optimal-repair variants, while preserving the known complexity bounds for the underlying logical theories.
What carries the argument
ASP(Q) programs that translate a given priority relation on conflicting facts into constraints selecting only Pareto-, globally-, or completion-optimal repairs and then evaluate adapted AR, brave, and IAR queries over those repairs.
Load-bearing premise
A priority relation on facts can be used to define the three optimal repairs so that ASP(Q) programs correctly compute the corresponding query answers without exceeding the stated polynomial-hierarchy complexity.
What would settle it
An example database, priority relation, and query for which the ASP(Q) program returns an answer that no optimal repair supports, or whose running time exceeds the polynomial-hierarchy bound claimed for the semantics.
Figures
read the original abstract
We explore the use of answer set programming (ASP) and its extension with quantifiers, ASP(Q), for inconsistency-tolerant querying of prioritized data, where a priority relation between conflicting facts is exploited to define three notions of optimal repairs (Pareto-, globally- and completion-optimal). We consider the variants of three well-known semantics (AR, brave and IAR) that use these optimal repairs, and for which query answering is in the first or second level of the polynomial hierarchy for a large class of logical theories. Notably, this paper presents the first implementation of globally-optimal repair-based semantics, as well as the first implementation of the grounded semantics, which is a tractable under-approximation of all these optimal repair-based semantics. Our experimental evaluation sheds light on the feasibility of computing answers under globally-optimal repair semantics and the impact of adopting different semantics, approximations, and encodings.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper explores the use of answer set programming (ASP) and its extension with quantifiers, ASP(Q), for inconsistency-tolerant querying of prioritized data. It defines three notions of optimal repairs (Pareto-, globally-, and completion-optimal) induced by a priority relation on conflicting facts, develops corresponding variants of the AR, brave, and IAR semantics, states that query answering lies in the first or second level of the polynomial hierarchy for a large class of theories, presents the first implementations of globally-optimal repair-based semantics and of the grounded semantics (a tractable under-approximation), and reports experimental results on feasibility and the impact of different semantics and encodings.
Significance. If the ASP(Q) encodings are shown to be faithful to the semantic definitions, the work is significant for supplying the first implementations of globally-optimal and grounded repair semantics. This bridges theoretical inconsistency-tolerant reasoning with practical computation, enabling prioritized data repair in logic-based systems and providing a tractable approximation that can be used across multiple optimality criteria.
major comments (1)
- The load-bearing step is the claim that the ASP(Q) programs for Pareto-, globally-, and completion-optimal repairs (and their AR/brave/IAR variants) produce answer sets that correspond exactly to the repairs satisfying the optimality criteria. The stated polynomial-hierarchy complexity bounds hold only if these encodings introduce no extra quantifier alternations or spurious models; an explicit argument or proof of semantic equivalence between the logical optimality definitions and the ASP(Q) rules is required to support both the complexity results and the novelty of the implementations.
minor comments (1)
- The abstract refers to an experimental evaluation but provides no information on the datasets, instance sizes, or performance metrics used; including these details would improve the clarity of the feasibility claims.
Simulated Author's Rebuttal
We thank the referee for the positive assessment of our work and for the constructive major comment. We address the point below and will revise the manuscript to strengthen the presentation of the encodings.
read point-by-point responses
-
Referee: The load-bearing step is the claim that the ASP(Q) programs for Pareto-, globally-, and completion-optimal repairs (and their AR/brave/IAR variants) produce answer sets that correspond exactly to the repairs satisfying the optimality criteria. The stated polynomial-hierarchy complexity bounds hold only if these encodings introduce no extra quantifier alternations or spurious models; an explicit argument or proof of semantic equivalence between the logical optimality definitions and the ASP(Q) rules is required to support both the complexity results and the novelty of the implementations.
Authors: We agree that establishing semantic equivalence is essential for the validity of the complexity results and the correctness of the implementations. The current manuscript defines the optimality criteria, presents the ASP(Q) encodings, and provides informal arguments that the answer sets correspond to the optimal repairs. However, these arguments stop short of a complete formal proof. In the revised version we will add a dedicated subsection (or appendix) containing a formal proof of equivalence for the Pareto-, globally-, and completion-optimal repairs under the AR, brave, and IAR semantics. The proof will show that every answer set of the ASP(Q) program corresponds to an optimal repair and vice versa, and that no additional quantifier alternations or spurious models are introduced beyond those already accounted for in the complexity analysis. revision: yes
Circularity Check
No circularity: new ASP(Q) encodings implement independent semantic definitions
full rationale
The paper defines Pareto-, globally-, and completion-optimal repairs from a given priority relation on facts, then supplies ASP(Q) programs whose answer sets are claimed to correspond to those repairs under AR/brave/IAR variants. These encodings are presented as novel implementations that preserve the stated PH complexity bounds; no equation or result is obtained by fitting parameters to data and relabeling the fit as a prediction, nor does any central claim reduce to a self-citation whose content is itself unverified. The work is self-contained against external benchmarks (prior repair semantics and ASP(Q) solvers) and introduces the first concrete programs for globally-optimal and grounded semantics.
Axiom & Free-Parameter Ledger
axioms (1)
- domain assumption Query answering under the defined optimal-repair semantics lies in the first or second level of the polynomial hierarchy for a large class of logical theories.
Reference graph
Works this paper leans on
-
[1]
A short survey on inconsistency han- dling in ontology-mediated query answering.K ¨unstliche In- telligenz34(4):443–451. Bourgaux, C. 2016.Inconsistency Handling in Ontology- Mediated Query Answering. (Gestion des incoh´erences pour l’acc`es aux donn ´ees en pr ´esence d’ontologies). Ph.D. Dis- sertation, University of Paris-Saclay, France. Bourgaux, C
work page 2016
-
[2]
Ceri, S.; Gottlob, G.; and Tanca, L
Tractable reasoning and efficient query answering in description logics: The DL-Lite family.Jour- nal of Automated Reasoning (JAR)39(3):385–429. Ceri, S.; Gottlob, G.; and Tanca, L. 1990.Logic Program- ming and Databases. Surveys in computer science. Dixit, A. A., and Kolaitis, P. G
work page 1990
-
[3]
Gebser, M.; Kaminski, R.; and Schaub, T
Multi-shot ASP solving with clingo.CoRR abs/1705.09811. Gebser, M.; Kaminski, R.; and Schaub, T
-
[4]
A Proofs for Section 3 Proposition 1.K ≻ |=G brave q(⃗ a)iffΠG brave is coherent
Prioritized repairing and consistent query answering in rela- tional databases.Annals of Mathematics and Artificial Intel- ligence (AMAI)64(2-3):209–246. A Proofs for Section 3 Proposition 1.K ≻ |=G brave q(⃗ a)iffΠG brave is coherent. Proof Sketch.(⇐)Assume thatΠ G brave has a quantified an- swer setM. SinceM∈AS(P 1), the setRthat contains all facts whos...
work page 2012
-
[5]
SinceC ∩(R \ B r)̸=∅, it follows thatM in(C)⊆ R \ B r
Claim 2.For everyC ∈Conf(K)such thatC ⊆ fR0, M in(C)⊆ R \ B r Proof of claim.By definition ofB r =R w(B), if there was α∈M in(C)such thatα∈ B r, it would hold thatC ⊆ B r. SinceC ∩(R \ B r)̸=∅, it follows thatM in(C)⊆ R \ B r. (end of claim proof) We define(β i)i∈N ∈ C N withβ 0 ∈ C ∩(R 0 \(R ∩ B r)) (suchβ 0 exists sinceC ∩(R 0 \(R∩B r))̸=∅) and fori∈N: ...
work page 2022
-
[6]
B Alternative ASP(Q) Encoding for G-AR For G-AR semantics, we considered the following alterna- tive ASP(Q) encoding. ΠG2 AR =∀stΠReachAllΠRep∃stΠPartGImp :C G2 AR withC G2 AR =ΠSatIfCause {:-not sat,not global improvement.} andΠ PartGImp is obtained fromΠ GImp by removing the constraint (:-not global improvement). This second program for G-AR,Π G2 AR, in...
work page 2016
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.