arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.14435cs.DB
收藏

Datalog 在(前)半环上的收敛性

Convergence of Datalog over (Pre-) Semirings

Mahmoud Abo Khamis, Hung Q. Ngo, Reinhard Pichler, Dan Suciu, Yisu Remy Wang

AI总结:

本文研究 datalog 在任意有序半环上的递归语义与收敛步数,刻画保证收敛的代数性质,并给出可对任意程序使用半朴素求值的半环类别。

摘要:

递归查询传统上是在 datalog 框架中研究的,这是一种将递归限制为集合上的单调查询的语言,因而保证能够在输入规模的多项式时间内收敛。但现代大数据系统需要超越布尔空间的递归计算。本文研究 datalog 在任意半环上解释时的收敛性。我们考虑一个有序半环,将 datalog 程序的语义定义为该半环中的最小不动点,并研究达到该不动点所需的步数(如果能够达到的话)。我们识别出与 datalog 程序某些收敛性质相对应的半环代数性质。最后,我们描述了一类有序半环,在这类半环上可以对任意 datalog 程序使用半朴素求值算法。

英文摘要:

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 paper 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑