• DocumentCode
    2730732
  • Title

    Rewriting Regular XPath Queries on XML Views

  • Author

    Wenfei Fan ; Geerts, F. ; Xibei Jia ; Kementsietsidis, Anastasios

  • Author_Institution
    Edinburgh Univ., UK
  • fYear
    2007
  • fDate
    15-20 April 2007
  • Firstpage
    666
  • Lastpage
    675
  • Abstract
    We study the problem of answering queries posed on virtual views of XML documents, a problem commonly encountered when enforcing XML access control and integrating data. We approach the problem by rewriting queries on views into equivalent queries on the underlying document, and thus avoid the overhead of view materialization and maintenance. We consider possibly recursively defined XML views and study the rewriting of both XPath and regular XPath queries. We show that while rewriting is not always possible for XPath over recursive views, it is for regular XPath; however, the rewritten query may be of exponential size. To avoid this prohibitive cost we propose a rewriting algorithm that characterizes rewritten queries as a new form of automata, and an efficient algorithm to evaluate the automaton-represented queries. These allow us to answer queries on views in linear time. We have fully implemented a prototype system, SMOQE, which yields the first regular XPath engine and a practical solution for answering queries over possibly recursively defined XML views.
  • Keywords
    XML; query languages; query processing; rewriting systems; XML documents; XML views; XPath queries; rewriting algorithm; view maintenance; view materialization; virtual views; Access control; Automata; Bioinformatics; Costs; Engines; Filters; Hospitals; Ontologies; Prototypes; XML;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Data Engineering, 2007. ICDE 2007. IEEE 23rd International Conference on
  • Conference_Location
    Istanbul
  • Print_ISBN
    1-4244-0802-4
  • Type

    conf

  • DOI
    10.1109/ICDE.2007.367912
  • Filename
    4221715