ACM Home Page
Please provide us with feedback. Feedback
The complexity of XPath query evaluation
Full text PdfPdf (259 KB)
Source Symposium on Principles of Database Systems archive
Proceedings of the twenty-second ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems table of contents
San Diego, California
Pages: 179 - 190  
Year of Publication: 2003
ISBN:1-58113-670-6
Authors
Georg Gottlob  Technische Universität Wien, Vienna, Austria
Christoph Koch  University of Edinburgh, Edinburgh, UK
Reinhard Pichler  Technische Universität Wien, Vienna, Austria
Sponsors
SIGACT: ACM Special Interest Group on Algorithms and Computation Theory
SIGMOD: ACM Special Interest Group on Management of Data
SIGART: ACM Special Interest Group on Artificial Intelligence
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 7,   Downloads (12 Months): 71,   Citation Count: 39
Additional Information:

abstract   references   cited by   index terms   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/773153.773171
What is a DOI?

ABSTRACT

In this paper, we study the precise complexity of XPath 1.0 query processing. Even though heavily used by its incorporation into a variety of XML-related standards, the precise cost of evaluating an XPath query is not yet wellunderstood. The first polynomial-time algorithm for XPath processing (with respect to combined complexity) was proposed only recently, and even to this day all major XPath engines take time exponential in the size of the input queries. From the standpoint of theory, the precise complexity of XPath query evaluation is open, and it is thus unknown whether the query evaluation problem can be parallelized.In this work, we show that both the data complexity and the query complexity of XPath 1.0 fall into lower (highly parallelizable) complexity classes, but that the combined complexity is PTIME-hard. Subsequently, we study the sources of this hardness and identify a large and practically important fragment of XPath 1.0 for which the combined complexity is LOGCFL-complete and, therefore, in the highly parallelizable complexity class NC2.


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
G. Gottlob, C. Koch, and R. Pichler. "Efficient Algorithms for Processing XPath Queries". In Proceedings of the 28th International Conference on Very Large Data Bases (VLDB'02), Hong Kong, China, Aug. 2002.
 
4
G. Gottlob, C. Koch, and R. Pichler. "XPath Query Evaluation: Improving Time and Space Efficiency". In Proceedings of the 19th IEEE International Conference on Data Engineering (ICDE'03), pages 379--390, Bangalore, India, Mar. 2003.
 
5
 
6
 
7
C. H. Papadimitriou. Computational Complexity. Addison-Wesley, 1994.
8
 
9
I. Sudborough. "Time and Tape Bounded Auxiliary Pushdown Automata". In Mathematical Foundations of Computer Science (MFCS'77), pages 493--503. Springer Verlag, LNCS 53, 1977.
10
 
11
 
12
P. Wadler. "Two Semantics for XPath", 2000. Draft paper available at http://www.research.avayalabs.com/user/wadler/.
 
13
World Wide Web Consortium. XML Path Language (XPath) Recommendation., Nov. 1999. http://www.w3c.org/TR/xpath/.
 
14
World Wide Web Consortium. "XQuery 1.0 and XPath 2.0 Formal Semantics. W3C Working Draft (Aug. 16th 2002), 2002. http://www.w3.org/TR/query-algebra/.

CITED BY  39

Collaborative Colleagues:
Georg Gottlob: colleagues
Christoph Koch: colleagues
Reinhard Pichler: colleagues