{"title":"Evaluation of Twig Pattern Queries Based on Ordered Tree Matching","authors":"Yangjun Chen, D. Cooke","doi":"10.1109/SITIS.2008.32","DOIUrl":null,"url":null,"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.","PeriodicalId":202698,"journal":{"name":"2008 IEEE International Conference on Signal Image Technology and Internet Based Systems","volume":"2 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2008-11-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2008 IEEE International Conference on Signal Image Technology and Internet Based Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SITIS.2008.32","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
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.