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 条
  • [1] Translating XPath queries into SPARQL queries
    Droop, M.
    Flarer, M.
    Groppe, J.
    Groppe, S.
    Linnemann, V.
    Pinggeral, J.
    Santner, F.
    Schier, M.
    Schoepf, F.
    Staffler, H.
    Zugal, S.
    [J]. ON THE MOVE TO MEANINGFUL INTERNET SYSTEMS 2007: OTM 2007 WORKSHOPS, PT 1, PROCEEDINGS, 2007, 4805 : 9 - +
  • [2] Join Queries Translation from SQL to XPath
    Bhargavi, K.
    Chaithra, H. S.
    [J]. 2013 IEEE INTERNATIONAL CONFERENCE ON EMERGING TRENDS IN COMPUTING, COMMUNICATION AND NANOTECHNOLOGY (ICE-CCN'13), 2013, : 346 - 349
  • [3] Efficient algorithms for processing XPath queries
    Gottlob, G
    Koch, C
    Pichler, R
    [J]. ACM TRANSACTIONS ON DATABASE SYSTEMS, 2005, 30 (02): : 444 - 491
  • [4] Efficient cache answerability for XPath queries
    Marrón, PJ
    Lausen, G
    [J]. EFFICIENCY AND EFFECTIVENESS OF XML TOOLS AND TECHNIQUES AND DATA INTEGRATION OVER THE WEB, 2003, 2590 : 183 - 199
  • [5] Translating natural language questions to SQL queries (nested queries)
    Swamidorai, Sindhuja
    Murthy, T. Satyanarayana
    Sriharsha, K., V
    [J]. MULTIMEDIA TOOLS AND APPLICATIONS, 2023, 83 (15) : 45391 - 45405
  • [6] Translating natural language questions to SQL queries (nested queries)
    Sindhuja Swamidorai
    T Satyanarayana Murthy
    K V Sriharsha
    [J]. Multimedia Tools and Applications, 2024, 83 : 45391 - 45405
  • [8] Efficient processing of XPath queries using indexes
    Madria, Sanjay
    Chen, Yan
    Passi, Kalpdrum
    Bhowmick, Sourav
    [J]. INFORMATION SYSTEMS, 2007, 32 (01) : 131 - 159
  • [9] An efficient streaming algorithm for evaluating XPath queries
    Chen, Yanjun
    [J]. WEBIST 2008: PROCEEDINGS OF THE FOURTH INTERNATIONAL CONFERENCE ON WEB INFORMATION SYSTEMS AND TECHNOLOGIES, VOL 1, 2008, : 190 - 196
  • [10] Efficient evaluation of sibling relationship in XPath queries
    Wan, CX
    Liu, XP
    Lin, DH
    [J]. ADVANCES IN COMPUTER SCIENCE - ASIAN 2005, PROCEEDINGS: DATA MANAGEMENT ON THE WEB, 2005, 3818 : 193 - 207