DocumentCode
3599772
Title
A Twig Join Algorithm for a Query with ID References
Author
Dong Li ; Lin Zhao ; Jing Li
Author_Institution
South China Univ. of Technol., Guangzhou, China
fYear
2014
Firstpage
81
Lastpage
87
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.
Keywords
XML; data structures; graph theory; query processing; ID references; ID/IDREF feature; Twig join algorithm; XML document model; ancestor-descendent; complicated data structures; graph structure; query processing; tree structure; twig join algorithm; twig pattern; Algorithm design and analysis; Filtering; Filtering algorithms; Filtration; Joining processes; Radiation detectors; XML; ID/IDREF; Twig join; XML; graph;
fLanguage
English
Publisher
ieee
Conference_Titel
Services Computing Conference (APSCC), 2014 Asia-Pacific
Type
conf
DOI
10.1109/APSCC.2014.26
Filename
7175499
Link To Document