arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1109.4288cs.DB
收藏

在图结构数据上的树模式图中添加逻辑运算符

Adding Logical Operators to Tree Pattern Queries on Graph-Structured Data

Qiang Zeng, Xiaorui Jiang, Hai Zhuge

摘要:

随着数据越来越多地被建模为用于表达复杂关系的图,图结构数据上的树模式查询成为现实世界应用中的重要查询类型。大多数实用的查询语言,如XQuery和SPARQL,都支持使用逻辑AND/OR/NOT运算符来定义树模式的结构约束的逻辑表达式。在本文中,(1)我们提出了广义树模式查询(GTPQs),它完全支持结构约束的命题逻辑。(2)本文深入研究了可满足性、包容性和极小化等基本问题,分析了这些问题的计算复杂性和决策过程。(3)我们提出了一个紧凑的图形表示的中间结果和修剪方法,以减少中间结果的大小和连接操作的数量-两个因素,往往损害传统算法的效率,用于评估树模式查询。(4)我们提出了一个有效的算法,用于评估GTPQs使用3跳作为底层的可达性指标。(5)在真实数据集和合成数据集上的实验证明了该算法的有效性和效率,在计算时间上比现有算法快了几倍到几个数量级,即使对于只使用合取操作的传统树模式查询也是如此.

英文摘要:

As data are increasingly modeled as graphs for expressing complex relationships, the tree pattern query on graph-structured data becomes an important type of queries in real-world applications. Most practical query languages, such as XQuery and SPARQL, support logical expressions using logical-AND/OR/NOT operators to define structural constraints of tree patterns. In this paper, (1) we propose generalized tree pattern queries (GTPQs) over graph-structured data, which fully support propositional logic of structural constraints. (2) We make a thorough study of fundamental problems including satisfiability, containment and minimization, and analyze the computational complexity and the decision procedures of these problems. (3) We propose a compact graph representation of intermediate results and a pruning approach to reduce the size of intermediate results and the number of join operations -- two factors that often impair the efficiency of traditional algorithms for evaluating tree pattern queries. (4) We present an efficient algorithm for evaluating GTPQs using 3-hop as the underlying reachability index. (5) Experiments on both real-life and synthetic data sets demonstrate the effectiveness and efficiency of our algorithm, from several times to orders of magnitude faster than state-of-the-art algorithms in terms of evaluation time, even for traditional tree pattern queries with only conjunctive operations.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑