ACM Home Page
Please provide us with feedback. Feedback
On rewriting XPath queries using views
Full text PdfPdf (613 KB)
Source Extending Database Technology; Vol. 360 archive
Proceedings of the 12th International Conference on Extending Database Technology: Advances in Database Technology table of contents
Saint Petersburg, Russia
SESSION: Research sessions: XML, XPath, XQuery table of contents
Pages 168-179  
Year of Publication: 2009
ISBN:978-1-60558-422-5
Authors
Foto Afrati  National Technical University of Athens, Greece
Rada Chirkova  North Carolina State University
Manolis Gergatsoulis  Ionian University, Greece
Benny Kimelfeld  IBM Almaden Research Center
Vassia Pavlaki  National Technical University of Athens, Greece
Yehoshua Sagiv  The Hebrew University of Jerusalem, Israel
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 11,   Downloads (12 Months): 79,   Citation Count: 0
Additional Information:

abstract   references   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1516360.1516381
What is a DOI?

ABSTRACT

The problem of rewriting a query using a materialized view is studied for a well known fragment of XPath that includes the following three constructs: wildcards, descendant edges and branches. In earlier work, determining the existence of a rewriting was shown to be coNP-hard, but no tight complexity bound was given. While it was argued that Σ3p is an upper bound, the proof was based on results that have recently been refuted. Consequently, the exact complexity (and even decidability) of this basic problem has been unknown, and there have been no practical rewriting algorithms if the query and the view use all the three constructs mentioned above.

It is shown that under fairly general conditions, there are only two candidates for rewriting and hence, the problem can be practically solved by two containment tests. In particular, under these conditions, determining the existence of a rewriting is coNP-complete. The proofs utilize various novel techniques for reasoning about XPath patterns. For the general case, the exact complexity remains unknown, but it is shown that the problem is decidable.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
 
2
 
3
 
4
 
5
L. Chen and E. A. Rundensteiner. XCache: XQuery-based caching system. In WebDB, pages 31--36, 2002.
6
 
7
 
8
9
10
 
11
12
 
13
14
15
 
16
 
17
 
18
Collaborative Colleagues:
Foto Afrati: colleagues
Rada Chirkova: colleagues
Manolis Gergatsoulis: colleagues
Benny Kimelfeld: colleagues
Vassia Pavlaki: colleagues
Yehoshua Sagiv: colleagues