Abstract
As data are increasingly modeled as graphs for expressing com-plex relationships, the tree pattern query on graph-structured databecomes 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 operatorsto 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 struc-tural constraints. (2) We make a thorough study of fundamentalproblems including satisfiability, containment and minimization,and analyze the computational complexity and the decision pro-cedures of these problems. (3) We propose a compact graph repre-sentation of intermediate results and a pruning approach to reducethe size of intermediate results and the number of join operations –two factors that often impair the efficiency of traditional algorithmsfor evaluating tree pattern queries. (4) We present an efficient algo-rithm for evaluating GTPQs using 3-hop as the underlying reach-ability index. (5) Experiments on both real-life and synthetic datasets 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 treepattern queries with only conjunctive operations.
Original language | English |
---|---|
Title of host publication | Proceedings of the VLDB Endowment |
Editors | Z. M. Ozsoyoglu |
Publisher | VLDB Endowment Inc. |
Pages | 728-739 |
Volume | 5 |
Edition | 8 |
ISBN (Electronic) | 9781622767588 |
Publication status | Published - Aug 2012 |
Event | 38th International Conference on Very Large Data Bases - Istanbul, Turkey Duration: 27 Aug 2012 → 31 Aug 2012 Conference number: 38 |
Conference
Conference | 38th International Conference on Very Large Data Bases |
---|---|
Abbreviated title | VLDB |
Country/Territory | Turkey |
City | Istanbul |
Period | 27/08/12 → 31/08/12 |