Query Translation from XPath to SQL in the Presence of Recursive DTDs

Wenfei Fan, Jeffrey Xu Yu, Hongjun Lu, Jianhua Lu, Rajeev Rastogi

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

The interaction between recursion in XPATH and recursion in DTDs makes it challenging to answer XPATH queries on XML data that is stored in an RDBMS via schema-based shredding. We present a new approach to translating XPATH queries into SQL queries with a simple least fixpoint (LFP) operator, which is already supported by most commercial RDBMS. The approach is based on our
algorithm for rewriting XPATH queries into regular XPATH expressions, which are capable of capturing both DTD recursion and XPATH queries in a uniform framework. Furthermore, we provide an algorithm for translating regular XPATH queries to SQL queries with LFP, and optimization techniques for minimizing the use of the LFP operator. The novelty of our approach consists in its capability
to answer a large class of XPATH queries by means of only low-end RDBMS features already available in most RDBMS. Our experimental results verify the effectiveness of our techniques.
Original languageEnglish
Title of host publicationProceedings of the 31st International Conference on Very Large Data Bases, Trondheim, Norway, August 30 - September 2, 2005
Pages337-348
Number of pages12
Publication statusPublished - 2005

Fingerprint

Dive into the research topics of 'Query Translation from XPath to SQL in the Presence of Recursive DTDs'. Together they form a unique fingerprint.
  • A Security Model for XML

    Fan, W. (Principal Investigator)

    EPSRC

    1/07/0530/06/08

    Project: Research

  • A System for Publishing Scientific Data

    Buneman, P. (Principal Investigator)

    EPSRC

    1/02/0431/12/07

    Project: Research

Cite this