【24h】

Query rewriting for semistructured data

机译:查询重写半结构化数据

获取原文

摘要

We address the problem of query rewriting for TSL, a language for querying semistructured data. We develop and present an algorithm that, given a semistructured query q and a set of semistructured views V, finds rewriting queries, i.e., queries that access the views and produce the same result as q. Our algorithm is based on appropriately generalizing containment mappings, the chase, and query composition --- techniques that were developed for structured, relational data. We also develop an algorithm for equivalence checking of TSL queries.

We show that the algorithm is sound and complete for TSL, i.e., it always finds every non-trivial TSL rewriting query of q, and we discuss its complexity. We extend the rewriting algorithm to use some forms of structural constraints (such as DTDs) and find more opportunities for query rewriting.

机译:

我们解决了TSL(一种用于查询半结构化数据的语言)的查询重写问题。我们开发并提出了一种算法,该算法在给定半结构化查询 q 和一组半结构化视图 V 的情况下,发现了重写查询,即访问视图并产生与 q 相同的结果。我们的算法基于适当地概括了内容映射追逐查询组合 ---为结构化的关系数据开发的技术。我们还开发了一种等效检查TSL查询的算法。

我们证明了该算法对TSL而言是健全且完整的,即,它始终会找到每个 q 的非平凡的TSL重写查询,并讨论其复杂性。我们扩展了重写算法,以使用某些形式的结构约束(例如DTD),并找到了更多的查询重写机会。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号