Abstract

We present in this paper an approach for XQuery optimization that exploits minimization opportunities raised in composition-style nesting of queries. More precisely, we consider the simplification of XQuery queries in which the intermediate result constructed by a subexpression is queried by another subexpression. Based on a large subset of XQuery, we describe a rule-based algorithm that recursively prunes query expressions, eliminating useless intermediate results. Our algorithm takes as input an XQuery expression that may have navigation within its subexpressions and outputs a simplified, equivalent XQuery expression, and is thus readily usable as an optimization module in any existing XQuery processor. We demonstrate by experiments the impact of our rewriting approach on query evaluation costs and we prove formally its correctness.

Keywords:
XQuery Computer science Correctness Pruning USable Query language Heuristics Theoretical computer science Rewriting Programming language Algorithm Information retrieval XML

Metrics

11
Cited By
2.39
FWCI (Field Weighted Citation Impact)
23
Refs
0.92
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Algorithms and Data Compression
Physical Sciences →  Computer Science →  Artificial Intelligence
Advanced Database Systems and Queries
Physical Sciences →  Computer Science →  Computer Networks and Communications
Data Management and Algorithms
Physical Sciences →  Computer Science →  Signal Processing

Related Documents

BOOK-CHAPTER

Fuzzy XPath Queries in XQuery

Jesús M. Almendros-JiménezAlejandro LunaGinés Moreno

Lecture notes in computer science Year: 2014 Pages: 457-472
BOOK-CHAPTER

Nested Queries

Apress eBooks Year: 2008 Pages: 61-75
JOURNAL ARTICLE

Processing Strategy for Global XQuery Queries Based on XQuery Join Cost

Jong Hyun ParkJi-Hoon Kang

Journal:   Journal of information science and engineering Year: 2010 Vol: 26 (2)Pages: 659-672
BOOK-CHAPTER

A Graphical XQuery Language Using Nested Windows

Zheng QinBenjamin Bin YaoYing‐Bin LiuMichael McCool

Lecture notes in computer science Year: 2004 Pages: 681-687
© 2026 ScienceGate Book Chapters — All rights reserved.