Twig Pattern Matching with Positional Predicates in XML Queries
- Author
- LiFaJin
- Advisor
- LiaoHuSheng
- School
- Beijing University of Technology
- Major
- Computer Science and Technology
- Classification
- TP312.1
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 23
- Citations
- 0
Abstract
Nowadays, eXtensible Markup Language (XML) has been the factual standard ofdata describing and exchanging. It is widely used in heterogeneous platforms and dataexchange/share for heterogeneous information. For meeting the need of quering andprocessing the XML data, W3C developed XQuery, and released it as a standard que-ry language for XML data. The relationship between XQuery and XML is just as therelationship between SQL and relational database. Combined with the semi-structuredcharacteristic of XML data, XQuery can find all document fragments by XPath ex-pression that satisfy the query or do some scientific calculations according the data.In the processing of XML data, the queries that focus on the branch structure ofXML data are the most basic and common execution unit and one of the most expen-sive operations in XQuery programs. The queries containing ancestor-descendant re-lationship (AD) and parent-child (PC) relationship can be represented as a tree-likequery pattern. How to find the fragments accurately and effectively has been the hotspot in database community.Although holistic twig pattern matching algorithms have been studied inten-sively nowadays, little attention is paid on positional predicates defined on navigationaxis in XPath expressions. Since query results fail to be selected from the holistic pat-tern matching results, those algorithms cannot be used to implement XPath querieswith positional predicates. For implementation of XPath query with the positionalpredicates, in this paper, we extend the traditional twig pattern to a new one calledExTwig to deal with both positional predicates and following-sibling axis. We alsopropose the corresponding holistic twig pattern matching algorithm TwigPos to pro-cess XPath query with label test predicates, positional predicates and follow-ing-sibling axis. Comparison experiments on large benchmarks show that our algo-rithm is efficient and practical.
Table of contents
Abstract 4-5
Abstract 5-6
catalog 6-8
Chapter 1 Introduction 8-14 <br / > 1.1 subject background 8-9
1.2 Overview of relevant studies skills 9-10
1.2.1 tree pattern 9
1.2. 2 tree pattern query algorithm research status 9
1.2.3 and brother -axis position predicate processing contents 9-10
1.3 and the main contribution of this paper 10 -11
1.4 motivation 11-12
1.5 topics sources 12
1.6 This article organizational structure 12-14
Chapter 2 XML data processing 14-24
2.1 XML language 14-15
2.1.1 XML language profile 14-15
2.1.2 XML documents coding 15
2.2 XML query language 15-17
2.2.1 XPath language 15-16
2.2.2 XQuery language profile 16-17
2.3 Twig query algorithm 17-22
2.3.1 Twig query 17-18
2.3.2 dual structure of the connection algorithm 18-20
2.3.3 overall matching algorithm 20-22
2.4 Chapter Summary 22-24
Chapter 3 ExTwig expand tree pattern 24-28
3.1 to expand the tree pattern indicates 24-25
3.2 to expand the tree pattern extraction algorithms 25-26
3.3 extraction Algorithm analysis 26 -27
3.4 Summary 27-28
Chapter 4 nested stack structure 28-34
4.1 three nested stack structure 28 -29
nbsp 4.2 basic Operation nested stack ; 29-31
4.3 traverse the document tree using a nested stack 31
4.4 traversal algorithm analysis 31 -32
4.5 Chapter Summary 32-34
Chapter 5 TwigPos algorithm design 34-44
5.1 TwigPos algorithm outlined 34
intermediate results 5.2 TwigPos algorithm represents approach 34-35
5.3 location predicate approach 35-37
5.4 FS shaft 37
5.5 AD shaft and processing methods PC axis 37-38
5.6 TwigPos algorithm 38-43
5.6.1 intermediate result construction algorithm 38-40
5.6.2 enumeration algorithm 40-42
5.6.3 algorithm Analysis 42-43
5.7 Chapter Summary 43-44
Article Chapter 6 algorithm and test 44-52
6.1 algorithm design 44-47
6.1.1 class specific design 45-47
6.2 test program 47-49
6.3 test results and analysis 49-51
6.3.1 performance Test 49-50
6.3.2 can expand testing 50-51
6.4 chapter Summary 51-52
conclusion 52-54
references 54-58
studying for a master's degree during the academic papers published 58-60
Thanks 60
Related dissertations
- Research of Web Information Extraction Based on XML
- Cost-based XPath Query Optimization
- Research on XML Stream Data Processing
- XML Schema Based XML Index
- XML Data Management Based on Relational Database
- Design and Implementation of the XProc Processor Based on.NET
- Design and Implementation of the XML Document Processing System Based on Xproc
- Research of Information Extraction from Web Documents Based on Tree Automaton
- Research and Application of Information Retrieval Based on XML Document
- Research of Keyword Query Processing on XML Data
- Research on Subtree Results Generation of XML Keyword Search
- Results Diversification for XML Keyword Search Based on Semantics
- Agent-based Research and Implementation on Simulation Modeling and Scenario in Battlefield Environment
- Analog Electronic Technology Experiment Based on Virtual and Practicality Combined Lab
- Power Electronic Remote Experiment Under Virtual and Reality Combination Framework
- Research and Implementation of Keyword Query Technique in a Seamless Intergrated Relation-XML Database System
- The Design and Implementation of WebDAV Service in XML Database
- Research of Heterogeneous Database Integration Based on Web Service and XML
- Research on Encoding and Query Process Technology for Continuous Uncertain
- Research on XML Data Cube Based on Tree Structure