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

Annals of Mathematics and Artificial Intelligence(2019)

引用 0|浏览40
暂无评分
摘要
For any query language ℱ , we consider three natural families of boolean queries. Nonemptiness queries are expressed as e ≠ ∅ with e an ℱ expression. Emptiness queries are expressed as e = ∅. Containment queries are expressed as e 1 ⊆ 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.
更多
查看译文
关键词
Query languages,Expressive power,Graph databases,Conjunctive queries,Boolean query modalities
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要