DocumentCode
416099
Title
Recursive XML schemas, recursive XML queries, and relational storage: XML-to-SQL query translation
Author
Krishnamurthy, Rajasekar ; Chakaravarthy, Venkatesan T. ; Kaushik, Raghav ; Naughton, Jeffrey F.
Author_Institution
Wisconsin Univ., Madison, WI, USA
fYear
2004
fDate
30 March-2 April 2004
Firstpage
42
Lastpage
53
Abstract
We consider the problem of translating XML queries into SQL when XML documents have been stored in an RDBMS using a schema-based relational decomposition. Surprisingly, there is no published XML-to-SQL query translation algorithm for this scenario that handles recursive XML schemas. We present a generic algorithm to translate path expression queries into SQL in the presence of recursion in the schema and queries. This algorithm handles a general class of XML-to-relational mappings, which includes all techniques proposed in literature. Some of the salient features of this algorithm are: (i) It translates a path expression query into a single SQL query, irrespective of how complex the XML schema is, (ii) It uses the "with" clause in SQL99 to handle recursive queries even over nonrecursive schemas, (iii) It reconstructs recursive XML subtrees with a single SQL query and (iv) It shows that the support for linear recursion in SQL99 is sufficient for handling path expression queries over arbitrarily complex recursive XML schema.
Keywords
SQL; XML; genetic algorithms; query processing; relational databases; RDBMS; SQL; XML; XML-to-SQL query translation algorithm; XML-to-relational mapping; generic algorithm; recursive XML query; recursive XML schema; schema-based relational decomposition; Books; Data engineering; Polynomials; Publishing; XML;
fLanguage
English
Publisher
ieee
Conference_Titel
Data Engineering, 2004. Proceedings. 20th International Conference on
ISSN
1063-6382
Print_ISBN
0-7695-2065-0
Type
conf
DOI
10.1109/ICDE.2004.1319983
Filename
1319983
Link To Document