Research on Approximate Query in XML Documents Based on Attribute Units Extension
- Author
- ZhangWenBo
- Advisor
- MaZongMin
- School
- Northeastern University
- Major
- Computer System Architecture
- Classification
- TP311.10 Programming
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 22
- Citations
- 0
Abstract
XML (Extensible Markup Language) has been increasingly used in Web applications and become a standard for data interchange over the Internet. A lot of new approaches have been proposed in XML queries. Nevertheless, traditional approaches have limitations. As they are limited to queries on the strict query constrains, usually unsatisfactory results are returned. These results can’t reflect the user’s intention on the approximate semantic constrains. Therefore, approximate queries have been used in XML queries. Imprecise queries on XML documents should consider element contents based on structural relationships between tagged elements. Existing content-based XML approximate queries, ultimately cluster XML elements or map the elements into similar semantic units, then create semantic models to make approximate queries. These approaches require new semantic models in practice. They may bring imprecise class partitions or semantic loss. The cost of execution of queries is high. So an approximate query approach without a semantic model created is needed.This thesis proposes a new approach called TwigAE algorithm for imprecise query on XML documents, it extracts leaf elements and attributes of elements from an XML document as attribute units. Following the order of the importance of attribute units, it extendes the native query constrains to new query constrains. Then execute the new query conditions on the XML document again. The whole process is divided into three parts.First, an effective algorithm to find the approximate functional dependences from the attribute units is proposed.According to the positions of the attribute units of the functional units, a closure algorithm is used to find the approximate candidate keys. The most supportive approximate candidate key is the approximate key, which partitions the attribute unit set into a deciding set and a dependent set.Second, according to the support of these approximate candidate keys, importance of each attribute unit can be calculated. Then an order of the attribute units apprears. With this order, the native query conditions can be extended to make approximate queries. The more important attribute units are expended later. The attribute units in the deciding set are expended last, whereas the attribute units in the dependent set are expended first.At last, the new query conditions are executed on the XML document again. The expending order makes the results satisfying the most important conditions appear first.After a series of experiments, a conclusion can be drawn that the TwigAE algorithm can gain much better results in approximate queries compared to the native queries. On the other hand, recall rate and ordering constancy have obtained a good efficiency.
Table of contents
Summary 5-6
Abstract 6-11
Chapter 1 Introduction 11-17
1.1 Background 11-12 < br /> 1.2 Research purpose and meaning 12
1.3 Related research the 12-14 1.3.1 XML structure
join queries 12-13
1.3.2 XML approximate query 13-14
1.4 This article made to work the 1.5 article organizational structure 14
14-17
Chapter 2. theoretical foundation 17-29
2.1 XML and related standards 17-25 In
the the 2.1.1 XML document and DTDs 18-20
2.1. 2 coding scheme 20-23
2.1.3 XPath About 23-25 ??
2.2 XML query technology 25-27
2.2.1 an XML query decomposition 25-26
2.2.2 the Twig mode structure connecting the algorithm 26-27
2.3 the attribute unit approximate function dependent 27-28
2.3 .1 attribute unit function dependencies 27-28
2.3.2 smallest, approximate functional dependencies 28
2.4 Chapter Summary 28-29
3 the chapter XML document property unit sorting method 29-47
3.1 Document Properties unit record 30-31
3.2 approximate function dependencies extracted 31-38
3.2.1 datasets strip divided the 32-34
3.2.2 the consistent sets the calculation 34-35
3.2.3 largest set its complement of calculated the 35-36
3.2.4 left part of the calculation of approximate functional dependencies 36-38
3.3 approximate the candidate codes Solving 38-43
the 3.4 attributes the unit importance Sort algorithm 43-45
3.5 query expansion degree of pretreatment 45-46
3.6 Chapter Summary 46-47 <br / Chapter 4 XML approximate query algorithm design 47-59
4.1 Properties unit extraction process 47-50
4.1.1 XML Simple API (SAX) 47-48
4.1.2 SAX interfaces and classes introduced 48-49
4.1.3 XML attribute unit extraction process 49-50
4.2 an XML the Twig pattern query algorithm the 50-56
4.2.1 Twig problems described the 50-52
4.2.2 PathStack algorithm introduced 52-54
4.2 .3 TwigStack algorithm introduced 54-56
4.3 an XML to extended query TwigAE algorithm 56-58
4.4 Chapter Summary 58-59
Chapter 5 experimental testing and analysis 59-71
5.1 test platform and test sets the 59-61 the 5.1.1 test platform
59
5.1.2 experimental data 59-61
5.2 Properties unit expansion process performance test 61-63
5.3 TwigAE algorithm performance test
5.3.1 TwigAE, 63-70 contrast nbsp the algorithm with TwigStack algorithm results; the 63-66
5.3.2 TwigAE algorithms recall rate and precision 66-69
the 5.3.3 document size of TwigAE algorithm performance, impact 69
5.3.4 Similarity impact of TwigAE algorithm recall and precision rate the 69-70
5.4 experimental conclusions 70
5.5 Chapter Summary 70-71
Chapter 6 Summary and Outlook the 71-73
6.1 summarizes 71
6.2 Looking 71-73
Reference 73-79
Acknowledgements 79
Related dissertations
- Research on Semantic-based Approximate Query in XML Documents
- Design and Implementation of the XProc Processor Based on.NET
- Design and Implementation of the XML Document Processing System Based on Xproc
- Research of Web Information Extraction Based on XML
- 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 and Implementation of Construction and Query Techniques of Histogram Data Cube Based on Hadoop
- 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
- XQuery Query Processor Design and Implementation
- Research and implementation of group production information integration management