1 / 18

Holistic Twig Joins: Optimal XML Pattern Matching

Holistic Twig Joins: Optimal XML Pattern Matching. Written by: Nicolas Bruno Nick Koudas Divesh Srivastava Presented by: Jose Luna John Bassett. What is XML?. Extensible Markup Language Tag-based markup language that allows you to share structured information

leone
Download Presentation

Holistic Twig Joins: Optimal XML Pattern Matching

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Holistic Twig Joins:Optimal XML Pattern Matching Written by: Nicolas Bruno Nick Koudas Divesh Srivastava Presented by: Jose Luna John Bassett

  2. What is XML? • Extensible Markup Language • Tag-based markup language that allows you to share structured information • Information is easily transferred across systems

  3. XML Example

  4. Twigs • A twig is simply a subtree • Example (ignore numbers for now):

  5. What is XQuery? • Query language designed to query collections of XML data • XQuery is a full-fledged query language, but we are only concerned with ancestor-descendent and parent-child relationships.

  6. XQuery Relationships • Single line indicates parent-child relationship • Double line indicates an ancestor-descendent relationship

  7. XQuery Example 1 • Query: book[title = ‘XML’ and year = ‘2000’] • Associated query tree:

  8. XQuery Example 2 • Query: book[title = ‘XML’]//author[fn = ‘jane’ AND ln = ‘doe’] • Associated query tree:

  9. XB-Trees • An XB-Tree is simply a B-Tree that is designed to index this XML data using the positional data • Indexing using (LeftPos : RightPos) • Querying is done just as is done in a regular B-Tree

  10. XB-Tree Example

  11. Experimental Results

  12. Experimental Results

  13. Experimental Results

  14. Experimental Results

  15. Experimental Results

  16. Experimental Results

  17. Questions?Thank you!

More Related