首页> 外文期刊>Journal of Computer and System Sciences >Reasonina about Strings in Databases
【24h】

Reasonina about Strings in Databases

机译:关于数据库中字符串的原因

获取原文
获取原文并翻译 | 示例
       

摘要

In order to enable the database programmer to reason about relations over strings of arbitrary length, we introduce alignment calculus, a modal extension of the relational calculus. In addition to relations, a state in the model consists of a two-dimensional array where the strings are aligned on top of each other. The basic modality in the language (a transpose, or “slide”) rearranges this alignment, and more complex formulae can be formed using a syntax reminiscent of regular expres- sions, in addition to the usual connectives and quantifiers. It turns out that the computational counterpart of the string-based portion of the logic is the class of multitape two-way finite state automata. which are devices particularly well suited for the implementation of string matching. A computational counterpart of the full logic is obtained from relational algebra by performing selection with these devices. Safety of formulae in alignment calculus implies that new strings generated from old ones have to be of bounded length. While an undecidable property in general, this boundedness is decidable for an important subclass of formulae. As far as expressive power is concerned, alignment calculus includes previous proposals for querying string databases and gives full Turing computability. The language can be restricted to define exactly the regular sets and the sets in each level of the polynomial-time hierarchy above P.
机译:为了使数据库程序员能够推理任意长度的字符串之间的关系,我们引入了对齐演算,这是关系演算的一种模式扩展。除了关系外,模型中的状态还包括一个二维数组,其中字符串在彼此的顶部对齐。语言的基本形式(移调或“幻灯片”)重新排列了这种对齐方式,并且除了常用的连接词和量词之外,还可以使用类似于常规表达式的语法来形成更复杂的公式。事实证明,逻辑的基于字符串的部分的计算对应项是多带双向有限状态自动机的类别。这些设备特别适合于字符串匹配的实现。通过使用这些设备执行选择,可以从关系代数获得完整逻辑的计算副本。对齐演算中公式的安全性意味着从旧字符串生成的新字符串必须具有一定的长度。虽然通常是不可确定的属性,但对于公式的重要子类来说,此有界是可确定的。就表达能力而言,对齐演算包括先前用于查询字符串数据库的提议,并具有完整的图灵可计算性。可以限制该语言以精确地定义规则集和P之上的多项式时间层次结构的每个级别中的集。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号