ACM Home Page
Please provide us with feedback. Feedback
How big must complete XML query languages be?
Full text PdfPdf (1.18 MB)
Source ACM International Conference Proceeding Series; Vol. 361 archive
Proceedings of the 12th International Conference on Database Theory table of contents
St. Petersburg, Russia
SESSION: XML table of contents
Pages 183-200  
Year of Publication: 2009
ISBN:978-1-60558-423-2
Authors
Clemens Ley  Oxford University, Oxford, UK
Michael Benedikt  Oxford University, Oxford, UK
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 7,   Downloads (12 Months): 59,   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/1514894.1514917
What is a DOI?

ABSTRACT

Marx and de Rijke have shown that the navigational core of the w3c XML query language XPath is not first-order complete -- that is it cannot express every query definable in firstorder logic over the navigational predicates. How can one extend XPath to get a first-order complete language? Marx has shown that Conditional XPath -- an extension of XPath with an "Until" operator -- is first order complete. The completeness argument makes essential use of the presence of upward axes in Conditional XPath. We examine whether it is possible to get "forward-only" languages that are first-order complete for XML Boolean queries. It is easy to see that a variant of the temporal logic CTL* is first-order complete; the variant has path quantifiers for downward, leftward and rightward paths, while along a path one can check arbitrary formulas of linear temporal logic (LTL). This language has two major disadvantages: it requires path quantification in both horizontal directions (in particular, it requires looking backward at the prior siblings of a node), and it requires the consideration of formulas of LTL of arbitrary complexity on vertical paths. This last is in contrast with Marx's Conditional XPath, which requires only the checking of a single Until operator on a path. We investigate whether either of these restrictions can be eliminated. Our main results are negative ones. We show that if we restrict our CTL* language by having an until operator in only one horizontal direction, then we lose completeness. We also show that no restriction to a "small" subset of LTL along vertical paths is sufficient for first order completeness. Smallness here means of bounded "Until Depth", a measure of complexity of LTL formulas defined by Etessami and Wilke. In particular, it follows from our work that Conditional XPath with only forward axes is not expressively complete; this extends results proved by Rabinovich and Maoz in the context of infinite unordered trees.


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
Michael Benedikt and Alan Jeffrey. Efficient and Expressive Tree Filters. In FSTTCS, 2007.
3
 
4
 
5
6
 
7
 
8
Hans Kamp. Tense logic and the theory of linear order. PhD thesis, University of California, Los Angeles, 1968.
 
9
Leonid Libkin. Elements of Finite Model Theory. Springer, 2004.
10
11
 
12
Maarten Marx. First Order Paths in Ordered Trees. In ICDT, 2005.
 
13
Maarten Marx and Maarten de Rijke. Semantic Characterizations of XPath. In TDM'04 Workshop on XML Databases and Information Retrieval, 2004.
 
14
 
15
 
16
 
17
Alexander Rabinovich. Personal communciation, 2008.
 
18
 
19
 
20
World Wide Web Consortium. XML Path Language (XPath) Recommendation. http://www.w3c.org/TR/xpath/, November 1999.
Collaborative Colleagues:
Clemens Ley: colleagues
Michael Benedikt: colleagues