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

信息流逻辑中的可执行一阶查询

Executable First-Order Queries in the Logic of Information Flows

Heba Aamer, Bart Bogaerts, Dimitri Surinx, Eugenia Ternovska, Jan Van den Bussche

AI总结:

本文提出前向信息流逻辑(FLIF),以图导航方式建模有限访问模式下的查询处理,证明其等价于一阶逻辑的可执行片段,并给出一般表达式到io-不相交形式的转化方法。

摘要:

信息流逻辑(LIF)最近被提出作为知识表示领域中的一个通用框架。在该框架中,过程性任务仍然可以以声明式、基于逻辑的方式进行建模。本文聚焦于有限访问模式下的查询处理任务,这是数据库文献中一个被广泛研究的问题。我们表明 LIF 非常适合对该任务进行建模。为实现这一目标,我们在一阶设定下引入了 LIF 的一种变体,称为“前向”LIF(FLIF)。FLIF 采用一种新颖的图导航方法;它是一种类似 XPath 的语言,但结果证明它等价于 Nash 和 Ludäscher 所定义的一阶逻辑的“可执行”片段。人们还可以将 FLIF 表达式中的变量分类为输入和输出。输入和输出不相交的表达式,称为 io-不相交 FLIF 表达式,允许特别透明地翻译为遵守访问限制的代数查询计划。最后,我们证明一般的 FLIF 表达式总是可以转化为 io-不相交形式。

英文摘要:

The logic of information flows (LIF) has recently been proposed as a general framework in the field of knowledge representation. In this framework, tasks of procedural nature can still be modeled in a declarative, logic-based fashion. In this paper, we focus on the task of query processing under limited access patterns, a well-studied problem in the database literature. We show that LIF is well-suited for modeling this task. Toward this goal, we introduce a variant of LIF called "forward" LIF (FLIF), in a first-order setting. FLIF takes a novel graph-navigational approach; it is an XPath-like language that nevertheless turns out to be equivalent to the "executable" fragment of first-order logic defined by Nash and Ludäscher. One can also classify the variables in FLIF expressions as inputs and outputs. Expressions where inputs and outputs are disjoint, referred to as io-disjoint FLIF expressions, allow a particularly transparent translation into algebraic query plans that respect the access limitations. Finally, we show that general FLIF expressions can always be put into io-disjoint form.

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

↑