Title
A Twig Join Algorithm for a Query with ID References
Abstract
ID/IDREF feature makes XML document model become graph structure rather than tree structure, while traditional Twig join algorithms can just process simple queries without ID references. Those queries with ID references often involve attribute node or predicates with expressions which do not exist in traditional Twig pattern, so it is necessary to design the Twig join algorithm for the implement of queries involving ID references. There are several typical Twig join algorithms like Twig2Stack, Twig List, Twig Mix. Twig2Stack use over-complicated data structures with large memory overhead. Twig List uses simple lists but lack efficient filtering of useless elements. Twig Mix simply introduces the getNext() function into Twig List to avoid manipulation of useless elements for the ancestor-descendent (AD) relationship in the stack and lists, but it will filter some useful elements when process the queries involving attribute node or predicates within expressions. To this end, we propose a new algorithm, called Twig Expand, which can process the queries involving attribute node or predicates within expressions by avoiding the manipulation of useless elements for both the parent-child (PC) relationship and AD relationship. In addition, Twig Graph is proposed by expanding Twig Expand, which can process the queries involving ID references, and it's much faster than binary structural join proved by experimental study.
Year
DOI
Venue
2014
10.1109/APSCC.2014.26
APSCC
Keywords
DocType
Citations 
XML, graph, Twig join, ID/IDREF
Conference
0
PageRank 
References 
Authors
0.34
4
3
Name
Order
Citations
PageRank
Dong Li147567.20
Lin Zhao2366.09
Jing Li334553.26