Back to Search Start Over

Convergence of datalog over (Pre-) Semirings.

Authors :
Abo Khamis, Mahmoud
Ngo, Hung Q.
Pichler, Reinhard
Suciu, Dan
Wang, Yisu Remy
Source :
Journal of the ACM; Apr2024, Vol. 71 Issue 2, p1-55, 55p
Publication Year :
2024

Abstract

Recursive queries have been traditionally studied in the framework of datalog, a language that restricts recursion to monotone queries over sets, which is guaranteed to converge in polynomial time in the size of the input. But modern big data systems require recursive computations beyond the Boolean space. In this article, we study the convergence of datalog when it is interpreted over an arbitrary semiring. We consider an ordered semiring, define the semantics of a datalog program as a least fixpoint in this semiring, and study the number of steps required to reach that fixpoint, if ever. We identify algebraic properties of the semiring that correspond to certain convergence properties of datalog programs. Finally, we describe a class of ordered semirings on which one can use the semi-naïve evaluation algorithm on any datalog program. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
00045411
Volume :
71
Issue :
2
Database :
Complementary Index
Journal :
Journal of the ACM
Publication Type :
Academic Journal
Accession number :
176722475
Full Text :
https://doi.org/10.1145/3643027