Using Color Refinement to Boost Enumeration and Counting for Acyclic CQs of Binary Schemas
Cristian Riveros, Benjamin Scheidt, Nicole Schweikardt

TL;DR
This paper introduces the color-index, an index structure based on color refinement, to efficiently evaluate and count acyclic conjunctive queries over binary schemas, often outperforming the database size.
Contribution
The paper proposes the color-index, leveraging color refinement for fast enumeration and counting of acyclic conjunctive queries, a novel approach in database query evaluation.
Findings
Preprocessing time is linear in the size of the color-index.
Enumeration and counting can be performed with constant delay and time proportional to the index size.
The index size can be significantly smaller than the database, enabling more efficient query processing.
Abstract
We present an index structure, called the color-index, to boost the evaluation of acyclic conjunctive queries (ACQs) over binary schemas. The color-index is based on the color refinement algorithm, a widely used subroutine for graph isomorphism testing algorithms. Given a database , we use a suitable version of the color refinement algorithm to produce a stable coloring of , an assignment from the active domain of to a set of colors . The main ingredient of the color-index is a particular database whose active domain is and whose size is at most . Using the color-index, we can evaluate any free-connex ACQ over with preprocessing time and constant delay enumeration. Furthermore, we can also count the number of results of over in time . Given that could be much smaller than (even…
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
TopicsGraph Labeling and Dimension Problems · Advanced Combinatorial Mathematics
