ACM Home Page
Please provide us with feedback. Feedback
Extending XQuery for analytics
Full text PdfPdf (355 KB)
Source International Conference on Management of Data archive
Proceedings of the 2005 ACM SIGMOD international conference on Management of data table of contents
Baltimore, Maryland
SESSION: Research papers: XML query, update, and search table of contents
Pages: 503 - 514  
Year of Publication: 2005
ISBN:1-59593-060-4
Authors
Kevin Beyer  IBM Almaden Research Center, San Jose, CA
Don Chambérlin  IBM Almaden Research Center, San Jose, CA
Latha S. Colby  IBM Almaden Research Center, San Jose, CA
Fatma Özcan  IBM Almaden Research Center, San Jose, CA
Hamid Pirahesh  IBM Almaden Research Center, San Jose, CA
Yu Xu  IBM Almaden Research Center, San Jose, CA
Sponsors
ACM: Association for Computing Machinery
SIGMOD: ACM Special Interest Group on Management of Data
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 7,   Downloads (12 Months): 73,   Citation Count: 16
Additional Information:

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

ABSTRACT

XQuery is a query language under development by the W3C XML Query Working Group. The language contains constructs for navigating, searching, and restructuring XML data. With XML gaining importance as the standard for representing business data, XQuery must support the types of queries that are common in business analytics. One such class of queries is OLAP-style aggregation queries. Although these queries are expressible in XQuery Version 1, the lack of explicit grouping constructs makes the construction of these queries non-intuitive and places a burden on the XQuery engine to recognize and optimize the implicit grouping constructs. Furthermore, although the flexibility of the XML data model provides an opportunity for advanced forms of grouping that are not easily represented in relational systems, these queries are difficult to express using the current XQuery syntax. In this paper, we provide a proposal for extending the XQuery FLWOR expression with explicit syntax for grouping and for numbering of results. We show that these new XQuery constructs not only simplify the construction and evaluation of queries requiring grouping and ranking but also enable complex analytic queries such as moving-window aggregation and rollups along dynamic hierarchies to be expressed without additional language extensions.


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
K. Beyer, R. J. Cochrane, L. S. Colby, F. Özcan, H. Pirahesh, "XQuery for Analytics: Challenges and Requirements", XIME-P 2004.
2
3
 
4
V. Borkar and M. Carey, "Extending XQuery for Grouping, Duplicate Elimination, and Outer Joins", XML 2004.
 
5
 
6
A. Deutsch, Y. Papakonstantinou and Y. Xu, "The NEXT Framework for Logical XQuery Optimization", VLDB 2004, pages 168--179.
7
 
8
 
9
10
 
11
N. May, S. Helmer, and G. Moerkotte, "Three cases for query decorrelation in XQuery", XSym 2003, pages 70--84.
 
12
 
13
 
14
World Wide Web Consortium (W3C). XML Query Working Group. See <u>http://www.w3.org/XML/Query.</u>
 
15
World Wide Web Consortium (W3C). XQuery 1.0: An XML Query Language. W3C Working Draft, Apr. 4, 2005. See <u>http://www.w3.org/TR/xquery/.</u>
 
16
World Wide Web Consortium (W3C). XQuery 1.0 and XPath 2.0 Data Model. W3C Working Draft, Apr. 4, 2005. See <u>http://www.w3.org/TR/xpath-datamodel/.</u>
 
17
World Wide Web Consortium (W3C). XQuery 1.0 and XPath 2.0 Functions and Operators. W3C Working Draft, Apr. 4, 2005. See <u>http://www.w3.org/TR/xpath-functions/.</u>

CITED BY  16
Collaborative Colleagues:
Kevin Beyer: colleagues
Don Chambérlin: colleagues
Latha S. Colby: colleagues
Fatma Özcan: colleagues
Hamid Pirahesh: colleagues
Yu Xu: colleagues