2006•Annual Conference on ComputersRequires access

On the twig joins

Yangjun Chen

Open publisher page 0 citations

Abstract

An XML twig query, represented as a labeled tree, is essentially a complex predicate on both structure and content of an XML document. Twig query matching has been considered as a core operation in querying tree structured XML data. Among all the proposed strategies, the method based on the so-called stack encoding aims at the reduction of intermediate results by compressing matching paths. The idea itself is very interesting. However, the processes for generating compressed paths suffer substantial redundancy and can be greatly improved. In this paper, we analyze this method and show that the time complexities of path generation in its two main procedures: PathStack and TwigStack can be reduced from O(m2n) to O(mn), where m and n are the sizes of the query tree and document tree, respectively.

About this research paper

What this paper is about

An XML twig query, represented as a labeled tree, is essentially a complex predicate on both structure and content of an XML document. Twig query matching has been considered as a core operation in querying tree structured XML data. Among all the proposed strategies, the method based on the so-called stack encoding aims at the reduction of intermediate results by compressing matching paths. The idea itself is very interesting. However, the processes for generating compressed paths suffer substantial redundancy and can be greatly improved. In this paper, we analyze this method and show that the time complexities of path generation in its two main procedures: PathStack and TwigStack can be reduced from O(m2n) to O(mn), where m and n are the sizes of the query tree and document tree, respectively.

Why it matters

A significance statement is not available in the OpenAlex record.

Key contribution

A contribution statement is not available in the OpenAlex record.

Method / approach

Method details are not available in the OpenAlex metadata.

Main findings

Findings are not separately available in the OpenAlex metadata.

Limitations

Limitations are not available in the OpenAlex metadata.

Applications

Application details are not available in the OpenAlex metadata.

Available abstract

An XML twig query, represented as a labeled tree, is essentially a complex predicate on both structure and content of an XML document. Twig query matching has been considered as a core operation in querying tree structured XML data. Among all the proposed strategies, the method based on the so-called stack encoding aims at the reduction of intermediate results by compressing matching paths. The idea itself is very interesting. However, the processes for generating compressed paths suffer substantial redundancy and can be greatly improved. In this paper, we analyze this method and show that the time complexities of path generation in its two main procedures: PathStack and TwigStack can be reduced from O(m2n) to O(mn), where m and n are the sizes of the query tree and document tree, respectively.

Key concepts: Computer science, Twig, Joins, XML, Redundancy (engineering), XML Schema (W3C), Document Structure Description, Tree (set theory)

Related papers

Back to paper searchBrowse research topicsOriginal source
On the twig joins — Research Paper | ScholarLens