The Selfish Models Property: Bounding the Complexity of Query Containment and Entailment Problems
Abstract
Query containment is the fundamental problem of deciding, given two database queries, if the result of the first query is always contained in the result of the second query. For a number of established query classes, an instance of this problem can be decided by computing a set of models of the first query, and then evaluating the second query on each of the models. We formalize this phenomenon by introducing the selfish models property; this property gives an avenue for establishing both the decidability of and complexity upper bounds for containment problems. Using this property, we show how existing results can be uniformly derived, and we present two significant novel positive results for first-order query containment problems, exhibiting complexity upper bounds for containment problems that were not previously known to be decidable.
Create a lesson
Metadata
- Categories
- cs.DB, cs.LO
- Comments
- Version of an article that appeared in PODS '19
Related papers
DecideSQL: Probabilistic Semantic Query Processing with Decision Models
Shared title terminologycs.DBOktie Hassanzadeh, Long Vu, Dharmashankar Subramanian
Do Semantic Query Engines Need LLMs? An Experimental Study of Decision Models
Shared title terminologycs.DBOktie Hassanzadeh, Long Vu, Dharmashankar Subramanian
Fixed-Capacity Limits of Linearizable Mergeable Cardinality Sketches: Tight Bounds and CapPCSA
Shared title terminologycs.DBBowen Jiang, Xue Wang, Tao Yao
Natural-Language-to-GPML: Dual-Oracle Witness Synthesis, Orthogonal Subspace Merging, and Live Schema-Constrained Decoding for ISO/IEC 39075 Graph Queries
Shared title terminologycs.DBMadhulatha Mandarapu, Sandeep Kunkunuru
Bound to be Complete: Efficient Verification for SQL Equivalence via U-Expressions
Shared title terminologycs.DBHaoran Ding, Zhaoguo Wang, Zuming Jiang et al.
Bounded Treewidth Rulesets Are Not Finitely Controllable
Shared title terminologycs.DBPiotr Ostropolski-Nalewaja, Michaël Thomazo