KR2025Proceedings of the 22nd International Conference on Principles of Knowledge Representation and ReasoningProceedings of the 22nd International Conference on Principles of Knowledge Representation and Reasoning

Melbourne, Australia. November 11-17, 2025.

Edited by

ISSN: 2334-1033
ISBN: 978-1-956792-08-9

Sponsored by
Published by

Copyright © 2025 International Joint Conferences on Artificial Intelligence Organization

A Logic-Based Framework for Database Repairs

  1. Nicolas Fröhlich(Institut für Theoretische Informatik, Leibniz Universität Hannover)
  2. Arne Meier(Institut für Theoretische Informatik, Leibniz Universität Hannover)
  3. Nina Pardal(Department of Computer Science, University of Huddersfield)
  4. Jonni Virtema(School of Computer Science, University of Sheffield)

Keywords

  1. Database Repairs
  2. Semiring
  3. Complexity

Abstract

We introduce a general abstract framework for database repairs, where the repair notions are defined using formal logic. We distinguish between integrity constraints and so-called query constraints. The former are used to model consistency and desirable properties of the data (such as functional dependencies and independencies), while the latter relate two database instances according to their answers to the query constraints. The framework allows for a distinction between hard and soft queries, allowing the answers to a core set of queries to be preserved, as well as defining a distance between instances based on query answers. We illustrate how different repair notions from the literature can be modelled in our framework. The framework generalises both set-based and cardinality based repairs to semiring annotated databases. Finally, we initiate a complexity-theoretic analysis of consistent query answering and checking existence of a repair in our setting.