X2S: Translating XPath into efficient SQL queries

被引:0
|
作者
Gao, J [1 ]
Yang, DQ [1 ]
Liu, YF [1 ]
机构
[1] Peking Univ, Sch Elect Engn & Comp Sci, Beijing 100871, Peoples R China
关键词
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Translating XPath into SQL queries is necessary if XML documents are stored in relational databases. Although most of the current methods can translate XPath into equivalent SQL queries, they seldom focus on the efficiency of the translated SQL queries. This paper proposes a method called X2S to handle the problem. X2S is based on the extended relational encoding, which can deal with the operators in XPath efficiently. X2S also exploits DTD to rewrite the X-Path logically before the SQL translation. The goal of the rewriting is to eliminate the wildcards of the XPath, to remove the ancestor/descendant relationship and to shorten the length of the XPath. An estimation cost model is used to choose one with the lowest cost from the candidate SQL statements. The experimental results demonstrate that the SQL queries generated by X2S outperform those from other methods significantly.
引用
收藏
页码:210 / 222
页数:13
相关论文
共 50 条
  • [31] PATSQL: Efficient Synthesis of SQL Queries from Example Tables with Quick Inference of Projected Columns
    Takenouchi, Keita
    Ishio, Takashi
    Okada, Joji
    Sakata, Yuji
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2021, 14 (11): : 1937 - 1949
  • [32] SMPCache: Towards More Efficient SQL Queries in Multi-Party Collaborative Data Analysis
    Shi, Junjian
    Han, Ye
    Guo, Xiaojie
    Fei, Zekun
    Liu, Zheli
    Lv, Siyi
    Li, Tong
    Liu, Xiaotao
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2025, 37 (04) : 2111 - 2125
  • [33] 1,2-Dimethyl-4,5-diphenylbenzene determined on a Bruker SMART X2S benchtop crystallographic system
    Briggs, Jonathan B.
    Jazdzyk, Mikael D.
    Miller, Glen P.
    ACTA CRYSTALLOGRAPHICA SECTION E-STRUCTURE REPORTS ONLINE, 2009, 65 : O1171 - U3375
  • [34] Efficient Enumeration for Conjunctive Queries over X-underbar Structures
    Bagan, Guillaume
    Durand, Arnaud
    Filiot, Emmanuel
    Gauwin, Olivier
    COMPUTER SCIENCE LOGIC, 2010, 6247 : 80 - +
  • [35] Efficient Processing of Top-k Queries in Uncertain Databases with x-Relations
    Yi, Ke
    Li, Feifei
    Kollios, George
    Srivastava, Divesh
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2008, 20 (12) : 1669 - 1682
  • [36] Efficient SPARQL-to-SQL with R2RML mappings
    Rodriguez-Muro, Mariano
    Rezk, Martin
    JOURNAL OF WEB SEMANTICS, 2015, 33 : 141 - 169
  • [37] Uniqueness of the translating bowl in H2 x R
    Bueno, Antonio
    JOURNAL OF GEOMETRY, 2020, 111 (03)
  • [38] The efficient and low load range queries in P2P
    Chao, Shui
    Pen, Zhou
    Yan, Jia
    Bing, Zhou
    AGENT COMPUTING AND MULTI-AGENT SYSTEMS, 2006, 4088 : 558 - 563
  • [39] State-to-state dynamics of the C+(2P) + SH(X2p) → H(2S) + CS+(X2S???????+) reaction using a time-dependent wave packet and quasi-classical trajectory methods
    Liu, Dong
    Zhao, Juan
    Wang, Wei
    Song, Yuzhi
    Meng, Qingtian
    Zhang, Lulu
    FRONTIERS IN PHYSICS, 2022, 10
  • [40] Efficient processing of x-tuple based top-k queries in uncertain database
    Liu, Dexi
    Wan, Changxuan
    Liu, Xiping
    Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2010, 47 (08): : 1415 - 1423