Exploiting local similarity for indexing paths in graph-structured data

Raghav Kaushik, Pradeep Shenoy, Philip Bohannon, Ehud Gudes

2003 · 256 citations · 17 references

Concepts

TL;DR

XML and other semi‑structured data often lack schema, so structural summaries are automatically computed to index complex path expressions, but capturing long, rarely‑queried paths inflates size with little benefit. The authors propose A(k)-indices, a family of approximate structural summaries for graph‑structured data. A(k)-indices group nodes by k‑bisimilarity, i.e., local structure up to length k, allowing a trade‑off between detail and accuracy, and include efficient techniques to recover exact answers to regular path queries. Experiments show that moderate k values yield highly efficient evaluation for simple queries and competitive performance for complex queries while using substantially less space than existing structures.

Abstract

XML and other semi-structured data may have partially specified or missing schema information, motivating the use of a structural summary which can be automatically computed from the data. These summaries also serve as indices for evaluating the complex path expressions common to XML and semi-structured query languages. However, to answer all path queries accurately, summaries must encode information about long, seldom-queried paths, leading to increased size and complexity with little added value. We introduce the A(k)-indices, a family of approximate structural summaries. They are based on the concept of k-bisimilarity, in which nodes are grouped based on local structure, i.e., the incoming paths of length up to k. The parameter k thus smoothly varies the level of detail (and accuracy) of the A(k)-index. For small values of k, the size of the index is substantially reduced. While smaller, the A(k) index is approximate, and we describe techniques for efficiently extracting exact answers to regular path queries. Our experiments show that, for moderate values of k, path evaluation using the A(k)-index ranges from being very efficient for simple queries to competitive for most complex queries, while using significantly less space than comparable structures.

References

17