• DocumentCode
    2025232
  • Title

    Evaluation of Twig Pattern Queries Based on Ordered Tree Matching

  • Author

    Chen, Yangjun ; Cooke, Donovan

  • Author_Institution
    Dept. Appl. Comput. Sci., Univ. of Winnipeg, Winnipeg, MB, Canada
  • fYear
    2008
  • fDate
    Nov. 30 2008-Dec. 3 2008
  • Firstpage
    24
  • Lastpage
    31
  • Abstract
    In this paper, we study the evaluation of twig pattern queries based on the ordered tree matching. Different from the query evaluation based on the unordered tree matching, by which the order between siblings is not significant, the ordered tree matching takes the order between siblings into account and is useful for some applications such as tree-bank query evaluation. A new algorithm for this problem is proposed, which runs in O(|T|¿|Q|) time, where T and Q are a document tree and a twig pattern, respectively. Especially, our algorithm can be very easily adapted into an indexing environment. Experiments have been conducted to compare ours and some well-known methods, which demonstrates that our method is effective, scalable, and efficient in evaluating twig pattern queries.
  • Keywords
    XML; pattern matching; tree data structures; XML databases; XML pattern matching; ordered tree matching; tree-bank query evaluation; twig pattern queries; Birds; Computer science; Data models; Database languages; Indexing; Internet; Pattern matching; Query processing; XML; Ordered tree matching; Paths; Trees; Twig joins; XML databases; XML pattern matching;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Signal Image Technology and Internet Based Systems, 2008. SITIS '08. IEEE International Conference on
  • Conference_Location
    Bali
  • Print_ISBN
    978-0-7695-3493-0
  • Type

    conf

  • DOI
    10.1109/SITIS.2008.32
  • Filename
    4725782