Journal of Computer and Communications

Volume 7, Issue 1 (January 2019)

ISSN Print: 2327-5219   ISSN Online: 2327-5227

Google-based Impact Factor: 1.12  Citations  

A Tree Pattern Matching Algorithm for XML Queries with Structural Preferences

HTML  XML Download Download as PDF (Size: 5047KB)  PP. 61-83  
DOI: 10.4236/jcc.2019.71006    655 Downloads   1,583 Views  Citations

ABSTRACT

In the XML community, exact queries allow users to specify exactly what they want to check and/or retrieve in an XML document. When they are applied to a semi-structured document or to a document with an overly complex model, the lack or the ignorance of the explicit document model (DTD—Document Type Definition, Schema, etc.) increases the risk of obtaining an empty result set when the query is too specific, or, too large result set when it is too vague (e.g. it contains wildcards such as “*”). The reason is that in both cases, users write queries according to the document model they have in mind; this can be very far from the one that can actually be extracted from the document. Opposed to exact queries, preference queries are more flexible and can be relaxed to expand the search space during their evaluations. Indeed, during their evaluation, certain constraints (the preferences they contain) can be relaxed if necessary to avoid precisely empty results; moreover, the returned answers can be filtered to retain only the best ones. This paper presents an algorithm for evaluating such queries inspired by the TreeMatch algorithm proposed by Yao et al. for exact queries. In the proposed algorithm, the best answers are obtained by using an adaptation of the Skyline operator (defined in relational databases) in the context of documents (trees) to incrementally filter into the partial solutions set, those which satisfy the maximum of preferential constraints. The only restriction imposed on documents is No-Self-Containment.

Share and Cite:

Tchendji, M. , Tadonfouet, L. and Tchendji, T. (2019) A Tree Pattern Matching Algorithm for XML Queries with Structural Preferences. Journal of Computer and Communications, 7, 61-83. doi: 10.4236/jcc.2019.71006.

Cited by

[1] Analysis of XML Data Integrity Using Multiple Digest Schemes
2021
[2] FMCW lidar multi-targets detection based on skeleton tree waveform matching
2021
[3] Difference computation using change identification techniques for structured web documents
2021
[4] FMCW lidar multitarget detection based on skeleton tree waveform matching
Applied Optics, 2021
[5] Explaining existing and missing results over nested data in big data analytics systems
2021
[6] INTEGRATING MULTI-SIGNATURE SCHEME AND KEY CHAINING TO ENSURE DATA INTEGRITY AND CONFIDENTIALITY OF XML AND JSON DOCUMENTS
2020
[7] Distributed Tree-Pattern Matching in Big Data Analytics Systems
2020
[8] Holistic evaluation of XML queries with structural preferences on an annotated strong dataguide
2019
[9] Transforming WS-BPEL into Timed Automata
2019

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.