Lecture11 - 11-4 UnQL Patterns Patterns are used to bind variables to nodes CS30785 Semistructured or Web-like databases 9-4 L11-Unstructured Query

Info iconThis preview shows pages 1–11. Sign up to view the full content.

View Full Document Right Arrow Icon
Semi-structured or Web-like Databases CS30785 Lecture 11 – UnQL Dr. Gangmin Gary Li Department of CSSE XJTLU [email protected] Room: D441 CS30785 - Semistructured or Web-like databases L11-Unstructured Query Language 11-1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
UnQL -- Unstructured Query Language UnQL is extension of core language UnQL is based on a concept of pattern UnQL is different with Lorel UnQL allows more complex structure can be expressed UnQL does not make use of Coercion UnQL augmenting syntax of Bracket expression with variables (Uppercase) Only Select part are described CS30785 - Semistructured or Web-like databases L11-Unstructured Query Language 11-2
Background image of page 2
UnQL: Patterns Patterns are used to bind variables to nodes. It is only extension of bracket expression where variable is used Examples: {biblio: X} {biblio: {book: {author: Y, title:Z } } } CS30785 - Semistructured or Web-like databases L11-Unstructured Query Language 11-3
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
UnQL: Patterns vs graph CS30785 - Semistructured or Web-like databases L11-Unstructured Query Language
Background image of page 4
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 6
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 8
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 10
Background image of page 11
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 11-4 UnQL: Patterns Patterns are used to bind variables to nodes. CS30785 - Semistructured or Web-like databases 9-4 L11-Unstructured Query Language 11-5 UnQL: Patterns CS30785 - Semistructured or Web-like databases L11-Unstructured Query Language 11-6 UnQL CS30785 - Semistructured or Web-like databases L11-Unstructured Query Language 11-7 UnQL: linear path A pattern such as {biblio: {paper: X} } that describes a tree consisting of a single path is said to be linear. CS30785 - Semistructured or Web-like databases L11-Unstructured Query Language 11-8 UnQL: Join CS30785 - Semistructured or Web-like databases L11-Unstructured Query Language 11-9 UnQL: Label Variable CS30785 - Semistructured or Web-like databases L11-Unstructured Query Language 11-10 Semi-structured or Web-like Databases CS30785 Lecture 11 – UnQL Dr. Gangmin Gary Li Department of CSSE XJTLU [email protected] Room: D441 CS30785 - Semistructured or Web-like databases L11-Unstructured Query Language 11-11...
View Full Document

This note was uploaded on 05/22/2011 for the course CS 30785 taught by Professor Garyli during the Spring '11 term at University of Liverpool.

Page1 / 11

Lecture11 - 11-4 UnQL Patterns Patterns are used to bind variables to nodes CS30785 Semistructured or Web-like databases 9-4 L11-Unstructured Query

This preview shows document pages 1 - 11. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online