Extremal Fitting Problems for Conjunctive Queries
Balder ten Cate, Víctor Dalmau, Maurice Funk, Carsten Lutz
University of Amsterdam · Universitat Pompeu Fabra
Key points
From the paper's conclusion- We also pinpoint the complexity of the associated existence and verification problems, and determine the size of fitting CQs.
Abstract
The fitting problem for conjunctive queries (CQs) is the problem to construct a CQ that fits a given set of labeled data examples. When a fitting CQ exists, it is in general not unique. This leads us to propose natural refinements of the notion of a fitting CQ, such as most-general fitting CQ, most-specific fitting CQ, and unique fitting CQ. We give structural characterizations of these notions in terms of (suitable refinements of) homomorphism dualities, frontiers, and direct products, which enable the construction of the refined fitting CQs when they exist. We also pinpoint the complexity of the associated existence and verification problems, and determine the size of fitting CQs. We study the same problems for unions of CQs (UCQs).
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Testability of Homomorphism Inadmissibility: Property Testing Meets Database TheoryarXiv · 2026
- Tight Width Minimisation of Self-Join-Free Quantified Conjunctive QueriesarXiv · 2026
- A Principled Solution to the Disjunction Problem of Diagrammatic Query RepresentationsProceedings of the ACM on Management of Data · 2026
- Containment of Conjunctive Queries with Negative Information over SemiringsarXiv · 2026
- Few Rows Tell Them Apart: Equivalence of Queries Mixing Set and Bag SemanticsarXiv · 2026
- Attacking Diophantus: Special Cases of Bag ContainmentarXiv · 2026