首页> 外文期刊>Theoretical computer science >Determinacy and query rewriting for conjunctive queries and views
【24h】

Determinacy and query rewriting for conjunctive queries and views

机译:确定性和查询重写以结合查询和视图

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

摘要

Answering queries using views is the problem which examines how to derive the answers to a query when we only have the answers to a set of views. Constructing rewritings is a widely studied technique to derive those answers. In this paper we consider the problem of the existence of rewritings in the case where the answers to the views uniquely determine the answers to the query. Specifically, we say that a view set V determines a query Q if for any two databases D_1, D_2 it holds: V(D_1) = V(D_2) implies Q(D_1) = Q(D_2). We consider the case where query and views are defined by conjunctive queries and investigate the question: If a view set V determines a query Q, is there an equivalent rewriting of Q using V? We present here interesting cases where there are such rewritings in the language of conjunctive queries. Interestingly, we identify a class of conjunctive queries, CQ_(path), for which a view set can produce equivalent rewritings for "almost all" queries which are determined by this view set. We introduce a problem which relates determinacy to query equivalence. We show that there are cases where restricted results can carry over to broader classes of queries.
机译:使用视图回答查询是一个问题,该问题研究了当我们只有一组视图的答案时,如何得出查询的答案。构建重写是获得这些答案的一种广泛研究的技术。在本文中,我们考虑在视图的答案唯一地确定查询的答案的情况下重写存在的问题。具体来说,我们说如果视图集V对于任何两个数据库D_1,D_2都成立,则它确定查询Q:V(D_1)= V(D_2)表示Q(D_1)= Q(D_2)。我们考虑由联合查询定义查询和视图的情况,并研究以下问题:如果视图集V确定了查询Q,是否存在使用V等效地重写Q的问题?我们在这里介绍了一些有趣的案例,其中用联合查询的语言进行了此类重写。有趣的是,我们确定了一系列联合查询CQ_(path),对于该联合查询,视图集可以为由该视图集确定的“几乎所有”查询产生等效的重写。我们介绍了一个将确定性与查询等效性相关的问题。我们表明,在某些情况下,受限制的结果可能会延续到更广泛的查询类别中。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号