Twig Pattern Matching with Positional Predicates in XML Queries
Fajin Li, Husheng Liao, Hongyu Gao
Abstract
Fajin Li, Husheng Liao, Hongyu Gao
Abstract
Twig pattern matching is core operation in XML query processing. Although holistic twig pattern matching algorithms have been studied intensively nowadays, little attention is paid on positional predicates defined on navigation axis. These algorithms cannot be used to implement XPath queries with positional predicates, since the query results fail to be selected from the pattern matching results. For implementation of XPath query with the positional predicates, this paper extends the traditional twig pattern to a new one called ExTwig to deal with both positional predicates and following sibling axis. The corresponding holistic twig pattern matching algorithm TwigPos is also proposed to process ExTwig query. Comparison experiments on large benchmarks show that our algorithm is efficient and practical.
A significance statement is not available in the OpenAlex record.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
Twig pattern matching is core operation in XML query processing. Although holistic twig pattern matching algorithms have been studied intensively nowadays, little attention is paid on positional predicates defined on navigation axis. These algorithms cannot be used to implement XPath queries with positional predicates, since the query results fail to be selected from the pattern matching results. For implementation of XPath query with the positional predicates, this paper extends the traditional twig pattern to a new one called ExTwig to deal with both positional predicates and following sibling axis. The corresponding holistic twig pattern matching algorithm TwigPos is also proposed to process ExTwig query. Comparison experiments on large benchmarks show that our algorithm is efficient and practical.
Key concepts: XPath, Twig, Computer science, XML, Pattern matching, Matching (statistics), Process (computing), Theoretical computer science