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 条
  • [41] Efficient preprocessing of subspace skyline queries in P2P networks
    School of Electronics and Information, Tongji University, Shanghai 201804, China
    不详
    不详
    Ruan Jian Xue Bao, 2009, 7 (1825-1838):
  • [42] Advanced Techniques for Spectrally Efficient DVB-S2X Systems
    Ugolini, Alessandro
    Modenini, Andrea
    Colavolpe, Giulio
    Picchi, Giorgio
    Mignone, Vittoria
    Morello, Alberto
    2014 7TH ADVANCED SATELLITE MULTIMEDIA SYSTEMS CONFERENCE AND THE 13TH SIGNAL PROCESSING FOR SPACE COMMUNICATIONS WORKSHOP (ASMS/SPSC), 2014, : 158 - 164
  • [43] Advanced techniques for spectrally efficient DVB-S2X systems
    Ugolini, Alessandro
    Modenini, Andrea
    Colavolpe, Giulio
    Mignone, Vittoria
    Morello, Alberto
    INTERNATIONAL JOURNAL OF SATELLITE COMMUNICATIONS AND NETWORKING, 2016, 34 (05) : 609 - 623
  • [44] Efficient soft demodulation schemes for the DVB-S2X system
    Zhang, Meixiang
    Kim, Sooyoung
    INTERNATIONAL JOURNAL OF SATELLITE COMMUNICATIONS AND NETWORKING, 2016, 34 (06) : 833 - 858
  • [45] NL2pSQL: Generating Pseudo-SQL Queries from Under-Specified Natural Language Questions
    Chen, Fuxiang
    Hwang, Seung-won
    Choo, Jaegul
    Ha, Jung-Woo
    Kim, Sunghun
    2019 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING AND THE 9TH INTERNATIONAL JOINT CONFERENCE ON NATURAL LANGUAGE PROCESSING (EMNLP-IJCNLP 2019): PROCEEDINGS OF THE CONFERENCE, 2019, : 2603 - 2613
  • [46] The efficient scribe: translating Julio Cortazar's Todos los fuegos el fuego
    Castano, Victoria Rios
    TRANSLATOR, 2021, 27 (02): : 190 - 202
  • [47] Explicable knowledge graph (X-KG): generating knowledge graphs for explainable artificial intelligence and querying them by translating natural language queries to SPARQL
    Shaikh N.
    Chauhan T.
    Patil J.
    Sonawane S.
    International Journal of Information Technology, 2024, 16 (3) : 1605 - 1615
  • [48] S2SQL: Injecting Syntax to Question-Schema Interaction Graph Encoder for Text-to-SQL Parsers
    Hui, Binyuan
    Geng, Ruiying
    Wang, Lihan
    Qin, Bowen
    Li, Yanyang
    Li, Bowen
    Sun, Jian
    Li, Yongbin
    FINDINGS OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (ACL 2022), 2022, : 1254 - 1262
  • [49] Translating free verse: 2 poems from Jaccottet's 'On Voit'
    Scott, C
    JOURNAL OF EUROPEAN STUDIES, 1998, 28 (112) : 391 - 402
  • [50] S-KNN: an efficient approach for processing k-NN queries over moving objects
    Han, Ruizhi
    Wang, Dong
    Leng, Hao
    Han, Shiyuan
    Zhou, Jin
    IEEE ICCSS 2016 - 2016 3RD INTERNATIONAL CONFERENCE ON INFORMATIVE AND CYBERNETICS FOR COMPUTATIONAL SOCIAL SYSTEMS (ICCSS), 2016, : 76 - 80