Creative Commons Attribution 4.0 International license
We review two algorithms which allow to build a factorized representation of the answers set of join queries. In a nutshell, the representation builds a circuit representing the answers set of a join query by starting from atomic relations and iteratively combine them by either constructing the Cartesian product or the disjoint union of previously computed relations. The first one can be seen as the trace of the celebrated Yannakakis algorithm, building the answer set from the inputs to the output of the circuit while the second adopts a top-down approach which can be seen as a generalization of the exhaustive DPLL algorithm, originally designed to solve the #SAT problem.
@InProceedings{capelli:LIPIcs.ICDT.2026.3,
author = {Capelli, Florent},
title = {{Building Relational Circuits}},
booktitle = {29th International Conference on Database Theory (ICDT 2026)},
pages = {3:1--3:20},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-413-0},
ISSN = {1868-8969},
year = {2026},
volume = {365},
editor = {ten Cate, Balder and Funk, Maurice},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ICDT.2026.3},
URN = {urn:nbn:de:0030-drops-256172},
doi = {10.4230/LIPIcs.ICDT.2026.3},
annote = {Keywords: Conjunctive queries, factorized databases, knowledge compilation}
}