FC-Datalog 作为高效字符串查询的框架
FC-Datalog as a Framework for Efficient String Querying
AI总结:
本文提出 FC-Datalog 作为核心字符串查询语言,通过定义具有理想复杂度的片段,实现线性组合复杂度,并模拟确定性正则表达式。
摘要:
核心 spanner 是一类文档 spanner,捕获了 IBM 的 AQL 的核心功能。FC 是一种基于字符串的逻辑,围绕单词方程构建,当扩展了正则语言约束时,可视为核心 spanner 的逻辑。最近引入的 FC-Datalog 通过递归扩展了 FC,允许我们为核心 spanner 定义递归关系。此外,由于 FC-Datalog 捕获了 P,它也是字符串上 Datalog 的一个易处理版本。这为优化提供了机会。我们提出了一系列 FC-Datalog 片段,这些片段在模型检查的复杂性、表达能力和检查片段成员资格的效率方面具有理想的性质。这导致了一系列片段,它们都捕获了 LOGSPACE,我们进一步限制以获得线性组合复杂度。这为我们提供了一个框架,可以为特定应用定制片段。为了展示这一点,我们在 FC-Datalog 的一个定制片段中模拟了确定性正则表达式。
英文摘要:
Core spanners are a class of document spanners that capture the core functionality of IBM's AQL. FC is a logic on strings built around word equations that when extended with constraints for regular languages can be seen as a logic for core spanners. The recently introduced FC-Datalog extends FC with recursion, which allows us to define recursive relations for core spanners. Additionally, as FC-Datalog captures P, it is also a tractable version of Datalog on strings. This presents an opportunity for optimization. We propose a series of FC-Datalog fragments with desirable properties in terms of complexity of model checking, expressive power, and efficiency of checking membership in the fragment. This leads to a range of fragments that all capture LOGSPACE, which we further restrict to obtain linear combined complexity. This gives us a framework to tailor fragments for particular applications. To showcase this, we simulate deterministic regex in a tailored fragment of FC-Datalog.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。