【24h】

Bag Equivalence of XPath Queries

机译:XPath查询的袋等效性

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

摘要

When a query is evaluated under bag semantics, each answer is returned as many times as it has derivations. Bag semantics has long been recognized as important, especially when aggregation functions will be applied to query results. This paper is the first to focus on bag semantics for XPath queries. In particular, the problem of bag-equivalence of a large class of XPath queries (modeled as tree patterns) is explored. The queries can contain unions, branching, label wildcards, the vertical child and descendant axes, the horizontal following, following-sibling and immediately-following sibling axes, as well as positional (i.e., first and last) axes. Equivalence characterizations are provided, and their complexity is analyzed. As the descendent axis involves a recursive relationship, this paper is also the first to address bag equivalence over recursive queries, in any setting.
机译:当根据bag语义对查询进行评估时,每个答案会根据其派生次数返回。 Bag语义早已被认为很重要,尤其是在将聚合函数应用于查询结果时。本文是第一个专注于XPath查询的包语义的文章。特别是,探讨了一大类XPath查询(建模为树模式)的袋等效性问题。查询可以包含并集,分支,标签通配符,垂直子代轴和后代轴,水平跟随轴,跟随同级和立即跟随同级轴以及位置(即第一个和最后一个)轴。提供了等效特征,并分析了它们的复杂性。由于后代轴涉及递归关系,因此,本文也是第一个在任何情况下都针对递归查询进行袋等效的问题。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号