Sign inSubmit
ArticleMetrics
Research Article · Free to read · Published 30 September 2008

TwigX-Guide: Twig Query Pattern Matching for XML Trees

Su-Cheng Haw & Chien-Sing Lee

American Journal of Applied Sciences, Volume 5, Issue 9, pp. 1212–1218 · doi.org/10.3844/ajassp.2008.1212.1218

7,078 accesses4,663 downloads1 citations (Crossref)Metrics
Cite Check for updates

Abstract

The growing importance of XML and the lack of efficient solutions for managing and querying XML data have led to the development of hybrid systems. We present a hybrid system, TwigX-Guide; an extension of the well-known DataGuide index and region encoding labeling to support twig query processing. With TwigX-Guide, a complex query can be decomposed into a set of path queries, which are evaluated individually by retrieving the path or node matches from the DataGuide index table and subsequently joining the results using the holistic twig join algorithm TwigStack. TwigX-Guide improves the performance of TwigStack for queries with parent-child relationships and mixed relationships by reducing the number of joins needed to evaluate a query. Experimental results indicate that TwigX-Guide can process path and twig queries on an average 38% better than the TwigStack algorithm, 29% better than TwigINLAB and 11% better than TwigStackList in terms of execution time.

Licence and reuse

Free to read. This article carries the publisher’s copyright, as printed on it: © 2008 Science Publications. It is free to read; ask us before reusing it.

How to reuse this article

Responses (0)

Have a comment on this research? Sign in to respond. Responses are moderated and published with your name and affiliation; the authors are invited to reply. How we use your dataWrite a response

About this article

Cite this article

Haw, S. & Lee, C. (2008). TwigX-Guide: Twig Query Pattern Matching for XML Trees. American Journal of Applied Sciences, 5(9), 1212–1218. https://doi.org/10.3844/ajassp.2008.1212.1218

Licence
© Science Publications
Issue
Volume 5, Issue 9
Policies
Editorial independenceUse of generative AIData availabilityAppeals and complaints
Version
Version of record
TwigX-Guide: Twig Query Pattern Matching for XML TreesAmerican Journal of Applied Sciences · Volume 5, Issue 9 · pp. 1212–1218 · © Science PublicationsDownload