Query translation from XPath to SQL in the presence of recursive DTDs

Query translation from XPath to SQL in the presence of recursive DTDs We study the problem of evaluating xp ath queries over xml data that is stored in an rdbms via schema-based shredding. The interaction between recursion (descendants-axis) in xp ath queries and recursion in dtd s makes it challenging to answer xp ath queries using rdbms . We present a new approach to translating xp ath queries into sql queries based on a notion of extended XP ath expressions and a simple least fixpoint ( lfp ) operator. Extended xp ath expressions are a mild extension of xp ath, and the lfp operator takes a single input relation and is already supported by most commercial rdbms . We show that extended xp ath expressions are capable of capturing both dtd recursion and xp ath queries in a uniform framework. Furthermore, they can be translated into an equivalent sequence of sql queries with the lfp operator. We present algorithms for rewriting xp ath queries over a (possibly recursive) dtd into extended xp ath expressions and for translating extended xp ath expressions to sql queries, as well as optimization techniques. The novelty of our approach consists in its capability to answer a large class of xp ath queries by means of only low-end rdbms features already available in most rdbms , as well as its flexibility to accommodate existing relational query optimization techniques. In addition, these translation algorithms provide a solution to query answering for certain (possibly recursive) xml views of xml data. Our experimental results verify the effectiveness of our techniques. http://www.deepdyve.com/assets/images/DeepDyve-Logo-lg.png The VLDB Journal Springer Journals

Query translation from XPath to SQL in the presence of recursive DTDs

Loading next page...
Copyright © 2009 by Springer-Verlag
Computer Science; Database Management
Publisher site
See Article on Publisher Site

You’re reading a free preview. Subscribe to read the entire article.

DeepDyve is your
personal research library

It’s your single place to instantly
discover and read the research
that matters to you.

Enjoy affordable access to
over 12 million articles from more than
10,000 peer-reviewed journals.

All for just $49/month

Explore the DeepDyve Library

Unlimited reading

Read as many articles as you need. Full articles with original layout, charts and figures. Read online, from anywhere.

Stay up to date

Keep up with your field with Personalized Recommendations and Follow Journals to get automatic updates.

Organize your research

It’s easy to organize your research with our built-in tools.

Your journals are on DeepDyve

Read from thousands of the leading scholarly journals from SpringerNature, Elsevier, Wiley-Blackwell, Oxford University Press and more.

All the latest content is available, no embargo periods.

See the journals in your area

Monthly Plan

  • Read unlimited articles
  • Personalized recommendations
  • No expiration
  • Print 20 pages per month
  • 20% off on PDF purchases
  • Organize your research
  • Get updates on your journals and topic searches


Start Free Trial

14-day Free Trial

Best Deal — 39% off

Annual Plan

  • All the features of the Professional Plan, but for 39% off!
  • Billed annually
  • No expiration
  • For the normal price of 10 articles elsewhere, you get one full year of unlimited access to articles.



billed annually
Start Free Trial

14-day Free Trial