Structure and Complexity of Bag Consistency
Albert Atserias, Phokion G. Kolaitis

TL;DR
This paper extends the classical theory of acyclic hypergraphs and local-to-global consistency from relations to bags (multisets), establishing complexity results and a dichotomy theorem for global consistency problems.
Contribution
It introduces a study of local-to-global consistency for bags, proving an equivalence with acyclic hypergraphs and analyzing the computational complexity of the global consistency problem.
Findings
Global consistency for bags is NP-complete for cyclic schemas.
Global consistency for bags is polynomial-time solvable for acyclic schemas.
The study contrasts the complexity results for bags with those for relations.
Abstract
Since the early days of relational databases, it was realized that acyclic hypergraphs give rise to database schemas with desirable structural and algorithmic properties. In a by-now classical paper, Beeri, Fagin, Maier, and Yannakakis established several different equivalent characterizations of acyclicity; in particular, they showed that the sets of attributes of a schema form an acyclic hypergraph if and only if the local-to-global consistency property for relations over that schema holds, which means that every collection of pairwise consistent relations over the schema is globally consistent. Even though real-life databases consist of bags (multisets), there has not been a study of the interplay between local consistency and global consistency for bags. We embark on such a study here and we first show that the sets of attributes of a schema form an acyclic hypergraph if and only if…
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.
Taxonomy
TopicsAdvanced Database Systems and Queries · Semantic Web and Ontologies · Data Management and Algorithms
