...
首页> 外文期刊>Annals of Mathematics and Artificial Intelligence >A framework for comparing query languages in their ability to express boolean queries
【24h】

A framework for comparing query languages in their ability to express boolean queries

机译:用于比较查询语言表达布尔查询能力的框架

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

摘要

For any query language F, we consider three natural families of boolean queries. Nonemptiness queries are expressed as e not equal empty set with e an F expression. Emptiness queries are expressed as e = empty set. Containment queries are expressed as e(1) subset of e(2). We refer to syntactic constructions of boolean queries as modalities. In first order logic, the emptiness, nonemptiness and containment modalities have exactly the same expressive power. For other classes of queries, e.g., expressed in weaker query languages, the modalities may differ in expressiveness. We propose a framework for studying the expressive power of boolean query modalities. Along one dimension, one may work within a fixed query language and compare the three modalities. Here, we identify crucial query features that enable us to go from one modality to another. Furthermore, we identify semantical properties that reflect the lack of these query features to establish separations. Along a second dimension, one may fix a modality and compare different query languages. This second dimension is the one that has already received quite some attention in the literature, whereas in this paper we emphasize the first dimension. Combining both dimensions, it is interesting to compare the expressive power of a weak query language using a strong modality, against that of a seemingly stronger query language but perhaps using a weaker modality. We present some initial results within this theme. The two main query languages to which we apply our framework are the algebra of binary relations, and the language of conjunctive queries.
机译:对于任何查询语言F,我们考虑布尔查询的三个自然族。非空查询用F表达式表示为不等于空集。空性查询表示为e =空集。包含查询表示为e(2)的e(1)子集。我们将布尔查询的句法构造称为模态。在一阶逻辑中,空性,​​非空性和包容方式具有完全相同的表达能力。对于其他类别的查询,例如以较弱的查询语言表示的查询,其方式可能会有所不同。我们提出了一个框架,用于研究布尔查询模态的表达能力。沿着一个维度,可以在一种固定的查询语言中工作,并比较这三种模式。在这里,我们确定了关键的查询功能,这些功能使我们能够从一种方式转到另一种方式。此外,我们确定了反映缺少这些查询功能以建立分隔的语义属性。沿着第二个维度,可以修复一种模式并比较不同的查询语言。这个第二维是在文献中已经引起相当多关注的一个维,而在本文中,我们强调第一维。结合这两个方面,比较使用强模式的弱查询语言的表达能力与看似更强但可能使用较弱模态的查询语言的表达能力是很有趣的。我们在此主题下提出了一些初步结果。我们将框架应用到的两种主要查询语言是二进制关系的代数和合取查询的语言。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号