Recursive XML schemas, recursive XML queries, and relational storage: XML-to-SQL query translation

被引:21
|
作者
Krishnamurthy, R [1 ]
Chakaravarthy, VT [1 ]
Kaushik, R [1 ]
Naughton, JF [1 ]
机构
[1] Univ Wisconsin, Madison, WI 53706 USA
关键词
D O I
10.1109/ICDE.2004.1319983
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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 non-recursive 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.
引用
收藏
页码:42 / 53
页数:12
相关论文
共 50 条
  • [1] XML-to-SQL query mapping in the presence of multi-valued schema mappings and recursive XML schemas
    Atay, Mustafa
    Chebotko, Artem
    Lu, Shiyong
    Fotouhi, Farshad
    [J]. DATABASE AND EXPERT SYSTEMS APPLICATIONS, PROCEEDINGS, 2007, 4653 : 603 - +
  • [2] XML-to-SQL query translation literature: The state of the art and open problems
    Krishnamurthy, R
    Kaushik, R
    Naughton, JF
    [J]. DATABASE AND XML TECHNOLOGIES, 2003, 2824 : 1 - 18
  • [3] Efficient recursive XML query processing in relational database systems
    Prakash, S
    Bhowmick, SS
    Madria, S
    [J]. CONCEPTUAL MODELING - ER 2004, PROCEEDINGS, 2004, 3288 : 493 - 510
  • [4] Join minimization in XML-to-SQL translation: An algebraic approach
    Mani, M
    Wang, S
    Dougherty, D
    Rundensteiner, EA
    [J]. SIGMOD RECORD, 2006, 35 (01) : 20 - 25
  • [5] Efficient recursive XML query processing using relational database systems
    Prakash, Sandeep
    Bhowmick, Sourav S.
    Madria, Sanjay
    [J]. DATA & KNOWLEDGE ENGINEERING, 2006, 58 (03) : 207 - 242
  • [6] Optimizing XML-to-SQL Query Translation for Analytical Databases Using Intelligent Path Derivation
    Atay, Mustafa
    Fisher, Paul S.
    [J]. PROCEEDINGS OF THE 48TH ANNUAL SOUTHEAST REGIONAL CONFERENCE (ACM SE 10), 2010, : 156 - 161
  • [7] A recursive visual query language for XML data
    Ykhlef, Mourad
    [J]. INTERNATIONAL JOURNAL OF WEB INFORMATION SYSTEMS, 2011, 7 (03) : 269 - 291
  • [8] The SQL Function XMLNEST to Generate Recursive XML Values from Relational Data
    Park, Sung-Chul
    Park, Young-Chul
    [J]. JOURNAL OF INFORMATION SCIENCE AND ENGINEERING, 2011, 27 (04) : 1283 - 1302
  • [9] USING SQL/XML FOR EFFICIENTLY TRANSLATING QUERIES OVER XML VIEW OF RELATIONAL DATA
    Lemos, Fernando
    Costa, Clayton
    Vidal, Vania
    [J]. ICEIS 2010: PROCEEDINGS OF THE 12TH INTERNATIONAL CONFERENCE ON ENTERPRISE INFORMATION SYSTEMS, VOL 1: DATABASES AND INFORMATION SYSTEMS INTEGRATION, 2010, : 269 - 274
  • [10] Efficient Processing of Queries over Recursive XML Data
    Alghamdi, Norah Saleh
    Rahayu, Wenny
    Pardede, Eric
    [J]. 2015 IEEE 29th International Conference on Advanced Information Networking and Applications (IEEE AINA 2015), 2015, : 134 - 142