|
ABSTRACT
XPath is the W3C -- standard node addressing language for XML documents. XPath is still under development and its technical aspects are intensively studied. What is missing at present is a clear characterization of the expressive power of XPath, be it either semantical or with reference to some well established existing (logical) formalism. Core XPath (the logical core of XPath 1.0 defined by Gottlob et al.) cannot express queries with conditional paths as exemplified by "do a child step, while test is true at the resulting node." In a first-order complete extension of Core XPath, such queries are expressible, We add conditional axis relations to Core XPath and show that the resulting language, called conditional XPath, is equally expressive as first-order logic when interpreted on ordered trees. Both the result, the extended XPath language, and the proof are closely related to temporal logic. Specifically, while Core XPath may be viewed as a simple temporal logic, conditional XPath extends this with (counterparts of) the since and until operators.
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
|
P. Blackburn and W. Meyer-Viol. Linguistics, logic, and finite trees. Logic J. of the IGPL, 2:3--29, 1994.
|
 |
3
|
|
| |
4
|
|
| |
5
|
|
 |
6
|
Dov Gabbay , Amir Pnueli , Saharon Shelah , Jonathan Stavi, On the temporal analysis of fairness, Proceedings of the 7th ACM SIGPLAN-SIGACT symposium on Principles of programming languages, p.163-173, January 28-30, 1980, Las Vegas, Nevada
[doi> 10.1145/567446.567462]
|
| |
7
|
G. Gottlob, C. Koch, and R. Pichler. Efficient algorithms for processing XPath queries. In Proc. VLDB'02, 2002.
|
 |
8
|
|
| |
9
|
|
| |
10
|
N. Immerman. Upper and lower bounds for first order expressibility. J. Comput. Syst. Sci., 25:76--98, 1982.
|
| |
11
|
N. Immerman and D. Kozen. Definability with bounded number of bound variables. In Proc. LICS, pages 236--244, Washington, 1987. Computer Society Press.
|
| |
12
|
J.A.W. Kamp. Tense Logic and the Theory of Linear Order. PhD thesis, U. of California, LA, 1968.
|
| |
13
|
C. Koch. Efficient processing of expressive node-selecting queries on XML data in secondary storage: A tree automata-based approach. In VLDB 2003, pages 249--260, 2003.
|
| |
14
|
|
| |
15
|
M. Marx. XPath with conditional axis relations. In Proc. EDBT'04, pages 477--494. 2004.
|
 |
16
|
|
 |
17
|
|
| |
18
|
A. Palm. Transforming tree constraints into formal grammars. PhD thesis, Universität Passau, 1997.
|
| |
19
|
|
| |
20
|
|
| |
21
|
B-H. Schlingloff. Expressive completeness of temporal logic of trees. Journal of Applied Non -- Classical Logics, 2(2):157--180, 1992.
|
| |
22
|
A. Tarski and S. Givant. A Formalization of Set Theory without Variables, volume 41. AMS Colloquium publications, Providence, Rhode Island, 1987.
|
| |
23
|
|
 |
24
|
|
| |
25
|
W3C. XML path language (XPath): Version 1.0. http://www.w3.org/TR/xpath.html.
|
| |
26
|
W3C. XML path language (XPath): Version 2.0. http://www.w3.org/TR/xpath20/.
|
| |
27
|
W3C. XML schema part 1: Structures. http://www.w3.org/TR/xmlschema-1.
|
| |
28
|
W3C. Xquery 1.0: A query language for XML. http://www.w3.org/TR//xquery/.
|
| |
29
|
W3C. XSL transformations language (XSLT): Version 2.0. http://www.w3.org/TR/xslt20/.
|
| |
30
|
P. Wadler. Two semantics for XPath. Technical report. Bell Labs, 2000.
|
CITED BY 14
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Markus Kirchberg , Faizal Riaz-ud-Din , Klaus-Dieter Schewe , Alexei Tretiakov, Using reflection for querying XML documents, Proceedings of the 17th Australasian Database Conference, p.119-128, January 16-19, 2006, Hobart, Australia
|
|
|
Marc Gyssens , Jan Paredaens , Dirk Van Gucht , George H. L. Fletcher, Structural characterizations of the semantics of XPath as navigation tool on a document, Proceedings of the twenty-fifth ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems, June 26-28, 2006, Chicago, IL, USA
|
|
|
|
|
|
François Bry , Tim Furche , Benedikt Linse , Andreas Schroeder, Efficient evaluation of n-ary conjunctive queries over trees and graphs, Proceedings of the eighth ACM international workshop on Web information and data management, November 10-10, 2006, Arlington, Virginia, USA
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|