...
首页> 外文期刊>SIAM Journal on Computing >First-order languages expressing constructible spatial database queries
【24h】

First-order languages expressing constructible spatial database queries

机译:表示可构造空间数据库查询的一阶语言

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

摘要

The research presented in this paper is situated in the framework of constraint databases introduced by Kanellakis, Kuper, and Revesz in their seminal paper of 1990, specifically, the language with real polynomial constraints (FO + poly). For reasons of efficiency, this model is implemented with only linear polynomial constraints, but this limitation to linear polynomial constraints has severe implications on the expressive power of the query language. In particular, when used for modeling spatial data, important queries that involve Euclidean distance are not expressible. The aim of this paper is to identify a class of two-dimensional constraint databases and a query language within the constraint model that go beyond the linear model and allow the expression of queries concerning distance. We seek inspiration in the Euclidean constructions, i.e., constructions by ruler and compass. We first present a programming language that captures exactly the first-order ruler-and-compass constructions that are expressible in a first-order language with real polynomial constraints. If this language is extended with a while operator, we obtain a language that is complete for all ruler-and-compass constructions in the plane. We then transform this language in a natural way into a query language on finite point databases, but this language turns out to have the same expressive power as FO + poly and is therefore too powerful for our purposes. We then consider a safe fragment of this language and use this to construct a query language that allows the expression of Euclidean distance without having the full power of FO + poly.
机译:本文介绍的研究位于Kanellakis,Kuper和Revesz在其1990年的开创性论文中引入的约束数据库的框架中,特别是具有实多项式约束的语言(FO + poly)。出于效率考虑,仅使用线性多项式约束来实现该模型,但是对线性多项式约束的这种限制对查询语言的表达能力有严重的影响。特别是,当用于对空间数据建模时,涉及欧几里得距离的重要查询无法表达。本文的目的是确定一类二维约束数据库和约束模型内的查询语言,它们超出了线性模型并允许表达有关距离的查询。我们在欧几里得结构中寻求灵感,即用尺子和指南针构造。我们首先提出一种编程语言,该语言可以精确捕获一阶标尺和罗盘结构,这些结构可以在具有实际多项式约束的一阶语言中表达。如果使用while运算符扩展了该语言,则我们获得的语言对于飞机中的所有标尺和罗盘构造都是完整的。然后,我们以一种自然的方式将这种语言转换为有限点数据库上的查询语言,但是这种语言却具有与FO + poly相同的表达能力,因此对于我们的目的而言过于强大。然后,我们考虑该语言的安全片段,并使用它来构建查询语言,该查询语言允许在不具有FO + poly的全部功能的情况下表达欧几里得距离。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号