Query equivalence and optimization
|
|
- Phillip Burke
- 6 years ago
- Views:
Transcription
1 Query equivalence and optimization Jens Grünberg Institute for Theoretical Computer Science Faculty of Computer Science, TU Dresden Supervisor: Janis Voigtlaender 27. Januar / 33
2 1 Data Model Axes Queries 2 3 Motivation Reverse Axis Anorther approach 2/ 33
3 Motivation Speed needed in huge databases of biological, physical or chemical projects needed for saving energy and resources Efficient Stream based processing 3/ 33
4 Motivation Speed needed in huge databases of biological, physical or chemical projects needed for saving energy and resources Efficient Stream based processing 3/ 33
5 Motivation Speed needed in huge databases of biological, physical or chemical projects needed for saving energy and resources Efficient Stream based processing 3/ 33
6 Tree View Data Model Axes Queries 4/ 33
7 Labeling Data Model Axes Queries Definition Let Σ be a finite set of labels. Lab L for L Σ is a unary relation representing the set of nodes labeled with L 5/ 33
8 Labeling Data Model Axes Queries journal editor1 editor2 anna bob Nodes = {, journal, editor1, editor2, anna, bob } 6/ 33
9 Labeling Data Model Axes Queries journal Labjournal "journal" editor1 editor2 "anna" Labanna anna bob Labbob "bob" Nodes = {, journal, editor1, editor2, anna, bob } Labjournal = { journal } Labanna = { anna } Labbob = { bob } 7/ 33
10 Labeling Data Model Axes Queries journal Labjournal "journal" editor1 editor2 Labeditor "editor" "anna" Labanna anna bob Labbob "bob" Nodes = {, journal, editor1, editor2, anna, bob } Labjournal = { journal } Labanna = { anna } Labbob = { bob } Labeditor = { editor1, editor2 } 8/ 33
11 Child and next-sibling relations Data Model Axes Queries Definition R child (x,y) is a binary relation where y is a child of x 9/ 33
12 Child and next-sibling relations Data Model Axes Queries Definition R child (x,y) is a binary relation where y is a child of x Nodes = {, journal, editor1, editor2, anna, bob } Rchild = { (, journal), (journal, editor1), (editor1, anna), (journal, editor2), (editor2, bob) } journal editor1 editor2 anna bob 10/ 33
13 Child and next-sibling relations Data Model Axes Queries Definition R child (x,y) is a binary relation where y is a child of x Nodes = {, journal, editor1, editor2, anna, bob } Rchild = { (, journal), (journal, editor1), (editor1, anna), (journal, editor2), (editor2, bob) } journal editor1 editor2 anna bob 11/ 33
14 Child and next-sibling relations Data Model Axes Queries Definition R child (x,y) is a binary relation where y is a child of x Nodes = {, journal, editor1, editor2, anna, bob } Rchild = { (, journal), (journal, editor1), (editor1, anna), (journal, editor2), (editor2, bob) } journal editor1 editor2 anna bob 12/ 33
15 Child and next-sibling relations Data Model Axes Queries Definition R next sibling (x,y) is a binary relation where y is a immediate right-sibling of x 13/ 33
16 Child and next-sibling relations Data Model Axes Queries Definition R next sibling (x,y) is a binary relation where y is a immediate right-sibling of x Nodes = {, journal, editor1, editor2, anna, bob } Rnext-sibling = { (editor1, editor2) } journal editor1 editor2 anna bob 14/ 33
17 Navigational Structure Data Model Axes Queries Definition σ nav = (Lab L,R child,r next sibling ) 15/ 33
18 Axes Data Model Axes Queries R child = {(, A),(A, B),(B, C),(C,D),(C,E),...} C B D E A Node Selected Node Context Node child descendant R descendant = {..., (B,C),(B,D),(B, E),...} R descendant = {..., (, A),(A,B), (, B),...} R ancestor = R 1 descendant = {..., (B,A),(B, ),...} ancestor 16/ 33
19 Axes Data Model Axes Queries R child = {(, A),(A, B),(B, C),(C,D),(C,E),...} C B D E A Node Selected Node Context Node child descendant R descendant = {..., (B,C),(B,D),(B, E),...} R descendant = {..., (, A),(A,B), (, B),...} R ancestor = R 1 descendant = {..., (B,A),(B, ),...} ancestor 16/ 33
20 Axes Data Model Axes Queries R child = {(, A),(A, B),(B, C),(C,D),(C,E),...} C B D E A Node Selected Node Context Node child descendant R descendant = {..., (B,C),(B,D),(B, E),...} R descendant = {..., (, A),(A,B), (, B),...} R ancestor = R 1 descendant = {..., (B,A),(B, ),...} ancestor 16/ 33
21 Queries - Syntax Data Model Axes Queries Definition p ::= p p cxp (1) cxp ::= /lp lp (2) lp ::= lp/lp axis :: test[q] (3) q ::= q q q q q cxp true (4) 17/ 33
22 Data Model Axes Queries Semantic of Queries - Node Testing Definition Definition T( ) = All Nodes T(L) = Lab L for every L Σ axis :: test[q] NodeSet (n) := {n T(test) (n,n ) R axis q Boolean (n )} 18/ 33
23 Data Model Axes Queries Semantic of Queries - Node Testing Definition Definition T( ) = All Nodes T(L) = Lab L for every L Σ axis :: test[q] NodeSet (n) := {n T(test) (n,n ) R axis q Boolean (n )} 18/ 33
24 Queries - Semantic Data Model Axes Queries Definition p 1 p 2 NodeSet (n) ::= p 1 NodeSet (n) p 2 NodeSet (n) (5) /p NodeSet (n) ::= p NodeSet (n 0 ) (6) p 1 /p 2 NodeSet (n) ::= p 2 NodeSet (n ) (7) n p 1 NodeSet (n) q 1 q 2 Boolean (n) ::= q 1 Boolean (n) q 2 Boolean (n) (8) q 1 q 2 Boolean (n) ::= q 1 Boolean (n) q 2 Boolean (n) (9) q Boolean (n) ::= q Boolean (n) (10) true Boolean (n) ::= true (11) p Boolean (n) ::= p NodeSet (n) (12) 19/ 33
25 How to define on queries? 20/ 33
26 C B D E A F G p 1 : /descendant :: [ancestor :: B[true]] p 2 : /descendant or self :: B[true]/descendant :: [true] 21/ 33
27 C B D E A F G p 1 : /descendant :: [ancestor :: B[true]] p 2 : /descendant or self :: B[true]/descendant :: [true] 21/ 33
28 Definition p 1 and p 2 are equal, if they select the same set of nodes, that means: p 1 NodeSet (x) p 2 NodeSet (x) for every context node x and every document. 22/ 33
29 Motivation - Reverse Axis Motivation Reverse Axis Anorther approach ancestor parent precedingsibling preceding Storing in memory Evaluation in more then one run Removing reverse axis 23/ 33
30 Motivation - Reverse Axis Motivation Reverse Axis Anorther approach ancestor parent precedingsibling preceding Storing in memory Evaluation in more then one run Removing reverse axis 23/ 33
31 Motivation - Reverse Axis Motivation Reverse Axis Anorther approach ancestor parent precedingsibling preceding Storing in memory Evaluation in more then one run Removing reverse axis 23/ 33
32 Deletion of Reverse Axis Motivation Reverse Axis Anorther approach p1 arbitrarily many nodes between A B descendent descendent - or - self ancestor selected node p 1 : /descendant :: a[ancestor :: b[true]] 24/ 33
33 Deletion of Reverse Axis Motivation Reverse Axis Anorther approach p1 arbitrarily many nodes between A B descendent descendent - or - self ancestor selected node p 1 : /descendant :: a[ancestor :: b[true]] 25/ 33
34 Deletion of Reverse Axis Motivation Reverse Axis Anorther approach p1 arbitrarily many nodes between A B descendent descendent - or - self ancestor selected node p 1 : /descendant :: a[ancestor :: b[true]] 26/ 33
35 Anorther approach Motivation Reverse Axis Anorther approach p1 arbitrarily many nodes between A B descendent descendent - or - self ancestor selected node p 1 : /descendant :: a[ancestor :: b[true]] 27/ 33
36 Anorther approach Motivation Reverse Axis Anorther approach p2 arbitrarily many nodes between A B descendent descendent - or - self ancestor selected node p 1 : /descendant :: a[ancestor :: b[true]] 28/ 33
37 Anorther approach Motivation Reverse Axis Anorther approach p2 arbitrarily many nodes between A B descendent descendent - or - self ancestor selected node p 1 : /descendant :: a[ancestor :: b[true]] p 2 : /descendant or self :: b[true]/descendant :: a[true] 29/ 33
38 Anorther approach Motivation Reverse Axis Anorther approach /descendant :: n[q 1 ancestor :: m[q 2 ]] /descendant or self :: m[q 2 ]/descendant :: n[q 1 ] for a proof, article page 9 30/ 33
39 Anorther approach Motivation Reverse Axis Anorther approach Definition /descendant :: n[q 1 ancestor :: m[q 2 ]] /descendant or self :: m[q 2 ]/descendant :: n[q 1 ] /descendant :: m[q 1 ]/preceding :: n[q 2 ] /desecendant :: n[q 2 following :: m[true]] N B M arbitrarily many nodes between descendent following preceding selected node 31/ 33
40 Anorther approach Motivation Reverse Axis Anorther approach Definition /descendant :: n[q 1 ancestor :: m[q 2 ]] /descendant or self :: m[q 2 ]/descendant :: n[q 1 ] /descendant :: m[q 1 ]/preceding :: n[q 2 ] /desecendant :: n[q 2 following :: m[true]] B B arbitrarily many nodes between descendent N M N M following preceding selected node 32/ 33
41 References Motivation Reverse Axis Anorther approach XPath: Looking Forward by Dan Olteanu, Holger Meuss, Tim Furche, Springer Verlag Berlin Heidelberg, 2002 An Introduction to XML and Web Technologies by Andreas Moller, Michael Schwartzbach Addison-Wesley, 2006 XPath Leashed by Michael Benedikt, Christoph Koch Oxford University Computing Labority, Cornell University Minimizing Simple XPath Expressions by Peter T. Wood University of London, School of Computer Science and Information Systems 33/ 33
XML databases. Jan Chomicki. University at Buffalo. Jan Chomicki (University at Buffalo) XML databases 1 / 9
XML databases Jan Chomicki University at Buffalo Jan Chomicki (University at Buffalo) XML databases 1 / 9 Outline 1 XML data model 2 XPath 3 XQuery Jan Chomicki (University at Buffalo) XML databases 2
More informationXPath Lecture 34. Robb T. Koether. Hampden-Sydney College. Wed, Apr 11, 2012
XPath Lecture 34 Robb T. Koether Hampden-Sydney College Wed, Apr 11, 2012 Robb T. Koether (Hampden-Sydney College) XPathLecture 34 Wed, Apr 11, 2012 1 / 20 1 XPath Functions 2 Predicates 3 Axes Robb T.
More informationTDDD43. Theme 1.2: XML query languages. Fang Wei- Kleiner h?p:// TDDD43
Theme 1.2: XML query languages Fang Wei- Kleiner h?p://www.ida.liu.se/~ Query languages for XML Xpath o Path expressions with conditions o Building block of other standards (XQuery, XSLT, XLink, XPointer,
More informationXPath. Lecture 36. Robb T. Koether. Wed, Apr 16, Hampden-Sydney College. Robb T. Koether (Hampden-Sydney College) XPath Wed, Apr 16, / 28
XPath Lecture 36 Robb T. Koether Hampden-Sydney College Wed, Apr 16, 2014 Robb T. Koether (Hampden-Sydney College) XPath Wed, Apr 16, 2014 1 / 28 1 XPath 2 Executing XPath Expressions 3 XPath Expressions
More informationDatabases and Information Systems 1 - XPath queries on XML data streams -
Databases and Information Systems 1 - XPath queries on XML data streams - Dr. Rita Hartel Fakultät EIM, Institut für Informatik Universität Paderborn WS 211 / 212 XPath - looking forward (1) - why? News
More informationSemantic Characterizations of XPath
Semantic Characterizations of XPath Maarten Marx Informatics Institute, University of Amsterdam, The Netherlands CWI, April, 2004 1 Overview Navigational XPath is a language to specify sets and paths in
More informationDatabases and Information Systems 1. Prof. Dr. Stefan Böttcher
9. XPath queries on XML data streams Prof. Dr. Stefan Böttcher goals of XML stream processing substitution of reverse-axes an automata-based approach to XPath query processing Processing XPath queries
More informationOne of the main selling points of a database engine is the ability to make declarative queries---like SQL---that specify what should be done while
1 One of the main selling points of a database engine is the ability to make declarative queries---like SQL---that specify what should be done while leaving the engine to choose the best way of fulfilling
More informationDatabases and Information Systems XML storage in RDBMS and core XPath implementation. Prof. Dr. Stefan Böttcher
Databases and Information Systems 1 8. XML storage in RDBMS and core XPath implementation Prof. Dr. Stefan Böttcher XML storage and core XPath implementation 8.1. XML in commercial DBMS 8.2. Mapping XML
More informationDatabases and Information Systems 1
Databases and Information Systems 7. XML storage and core XPath implementation 7.. Mapping XML to relational databases and Datalog how to store an XML document in a relation database? how to answer XPath
More informationXML and Databases. Lecture 9 Properties of XPath. Sebastian Maneth NICTA and UNSW
XML and Databases Lecture 9 Properties of XPath Sebastian Maneth NICTA and UNSW CSE@UNSW -- Semester 1, 2009 Outline 1. XPath Equivalence 2. No Looking Back: How to Remove Backward Axes 3. Containment
More informationSymmetrically Exploiting XML
Symmetrically Exploiting XML Shuohao Zhang and Curtis Dyreson School of E.E. and Computer Science Washington State University Pullman, Washington, USA The 15 th International World Wide Web Conference
More informationSemi-structured Data. 8 - XPath
Semi-structured Data 8 - XPath Andreas Pieris and Wolfgang Fischl, Summer Term 2016 Outline XPath Terminology XPath at First Glance Location Paths (Axis, Node Test, Predicate) Abbreviated Syntax What is
More informationXML Data Management. 5. Extracting Data from XML: XPath
XML Data Management 5. Extracting Data from XML: XPath Werner Nutt based on slides by Sara Cohen, Jerusalem 1 Extracting Data from XML Data stored in an XML document must be extracted to use it with various
More informationSeleniet XPATH Locator QuickRef
Seleniet XPATH Locator QuickRef Author(s) Thomas Eitzenberger Version 0.2 Status Ready for review Page 1 of 11 Content Selecting Nodes...3 Predicates...3 Selecting Unknown Nodes...4 Selecting Several Paths...5
More informationH2 Spring B. We can abstract out the interactions and policy points from DoDAF operational views
1. (4 points) Of the following statements, identify all that hold about architecture. A. DoDAF specifies a number of views to capture different aspects of a system being modeled Solution: A is true: B.
More informationXML & Databases. Tutorial. 3. XPath Queries. Universität Konstanz. Database & Information Systems Group Prof. Marc H. Scholl
XML & Databases Tutorial Christian Grün, Database & Information Systems Group University of, Winter 2007/08 XPath Introduction navigational access to XML documents sub-language in XQuery, XSLT, or XPointer
More informationXPath with transitive closure
XPath with transitive closure Logic and Databases Feb 2006 1 XPath with transitive closure Logic and Databases Feb 2006 2 Navigating XML trees XPath with transitive closure Newton Institute: Logic and
More informationExperience with XML Signature and Recommendations for future Development
1 2 3 4 Experience with XML Signature and Recommendations for future Development Version 01, 1 August 2007 5 6 7 8 9 10 11 12 Document identifier: Experience-Recommendation-Oracle-01 Contributors: Pratik
More informationExample using multiple predicates
XPath Example using multiple predicates //performance[conductor][date] L C C C C p c s p p s o t d p p c p p Peter Wood (BBK) XML Data Management 162 / 366 XPath Further examples with predicates //performance[composer='frederic
More informationCourse: The XPath Language
1 / 27 Course: The XPath Language Pierre Genevès CNRS University of Grenoble, 2012 2013 2 / 27 Why XPath? Search, selection and extraction of information from XML documents are essential for any kind of
More informationXPath Expression Syntax
XPath Expression Syntax SAXON home page Contents Introduction Constants Variable References Parentheses and operator precedence String Expressions Boolean Expressions Numeric Expressions NodeSet expressions
More informationInformatics 1: Data & Analysis
T O Y H Informatics 1: Data & Analysis Lecture 11: Navigating XML using XPath Ian Stark School of Informatics The University of Edinburgh Tuesday 26 February 2013 Semester 2 Week 6 E H U N I V E R S I
More informationYFilter: an XML Stream Filtering Engine. Weiwei SUN University of Konstanz
YFilter: an XML Stream Filtering Engine Weiwei SUN University of Konstanz 1 Introduction Data exchange between applications: use XML Messages processed by an XML Message Broker Examples Publish/subscribe
More informationXPath evaluation in linear time with polynomial combined complexity
XPath evaluation in linear time with polynomial combined complexity Paweł Parys (Common work with Mikołaj Bojańczyk) XPath is a query language: XPath queries select nodes in a XML document tree. We consider
More information<Insert Picture Here> Experience with XML Signature and Recommendations for future Development
Experience with XML Signature and Recommendations for future Development Prateek Mishra, Sep, 2007 Overview Two main recommendations: Working group should consider a simple profile
More informationCourse: The XPath Language
1 / 30 Course: The XPath Language Pierre Genevès CNRS University of Grenoble Alpes, 2017 2018 2 / 30 Why XPath? Search, selection and extraction of information from XML documents are essential for any
More informationWeb scraping and crawling, open data, markup languages and data shaping. Paolo Boldi Dipartimento di Informatica Università degli Studi di Milano
Web scraping and crawling, open data, markup languages and data shaping Paolo Boldi Dipartimento di Informatica Università degli Studi di Milano Data Analysis Three steps Data Analysis Three steps In every
More informationFOUNDATIONS OF DATABASES AND QUERY LANGUAGES
FOUNDATIONS OF DATABASES AND QUERY LANGUAGES Lecture 14: Database Theory in Practice Markus Krötzsch TU Dresden, 20 July 2015 Overview 1. Introduction Relational data model 2. First-order queries 3. Complexity
More informationComputer Science E-259
Computer Science E-259 XML with Java Lecture 4: XPath 1.0 (and 2.0) and XSLT 1.0 (and 2.0) 21 February 2007 David J. Malan malan@post.harvard.edu 1 Computer Science E-259 Last Time DOM Level 3 JAXP 1.3
More informationDBS2: Exkursus XQuery and XML-Databases. Jan Sievers Jens Hündling Lars Trieloff
DBS2: Exkursus XQuery and XML-Databases Jan Sievers Jens Hündling Lars Trieloff Motivation XML ubiquitous data exchange format Can be used to present Object data, relational data, semi-structured data
More informationXML: Extensible Markup Language
XML: Extensible Markup Language CSC 375, Fall 2015 XML is a classic political compromise: it balances the needs of man and machine by being equally unreadable to both. Matthew Might Slides slightly modified
More informationOutline of this part (I) Part IV. Querying XML Documents. Querying XML Documents. Outline of this part (II)
Outline of this part (I) Part IV Querying XML Documents Marc H. Scholl (DBIS, Uni KN) XML and Databases Winter 2007/08 164 8 XPath Navigational access to XML documents Overview Context Location steps Navigation
More informationInformatics 1: Data & Analysis
Informatics 1: Data & Analysis Lecture 9: Trees and XML Ian Stark School of Informatics The University of Edinburgh Tuesday 11 February 2014 Semester 2 Week 5 http://www.inf.ed.ac.uk/teaching/courses/inf1/da
More informationInformatics 1: Data & Analysis
Informatics 1: Data & Analysis Lecture 11: Navigating XML using XPath Ian Stark School of Informatics The University of Edinburgh Tuesday 23 February 2016 Semester 2 Week 6 http://blog.inf.ed.ac.uk/da16
More informationModel Querying with Graphical Notation of QVT Relations
Model Querying with Graphical Notation of QVT Relations Dan LI, Xiaoshan LI Faculty of Science and Technology, University of Macau Volker Stolz University of Oslo, Norway Agenda! Motivation! QVT Relations
More informationXML and Databases. Lecture 10 XPath Evaluation using RDBMS. Sebastian Maneth NICTA and UNSW
XML and Databases Lecture 10 XPath Evaluation using RDBMS Sebastian Maneth NICTA and UNSW CSE@UNSW -- Semester 1, 2009 Outline 1. Recall pre / post encoding 2. XPath with //, ancestor, @, and text() 3.
More informationXPath and XQuery. Introduction to Databases CompSci 316 Fall 2018
XPath and XQuery Introduction to Databases CompSci 316 Fall 2018 2 Announcements (Tue. Oct. 23) Homework #3 due in two weeks Project milestone #1 feedback : we are a bit behind, but will definitely release
More informationXML Data Management. 6. XPath 1.0 Principles. Werner Nutt
XML Data Management 6. XPath 1.0 Principles Werner Nutt 1 XPath Expressions and the XPath Document Model XPath expressions are evaluated over documents XPath operates on an abstract document structure
More informationEvaluating XPath Queries
Chapter 8 Evaluating XPath Queries Peter Wood (BBK) XML Data Management 201 / 353 Introduction When XML documents are small and can fit in memory, evaluating XPath expressions can be done efficiently But
More informationThe Benefits of Utilizing Closeness in XML. Curtis Dyreson Utah State University Shuohao Zhang Microsoft, Marvell Hao Jin Expedia.
The Benefits of Utilizing Closeness in XML Curtis Dyreson Utah State University Shuohao Zhang Microsoft, Marvell Hao Jin Expedia.com Bozen-Bolzano - September 5, 2008 Outline Motivation Tools Polymorphic
More informationComp 336/436 - Markup Languages. Fall Semester Week 9. Dr Nick Hayward
Comp 336/436 - Markup Languages Fall Semester 2018 - Week 9 Dr Nick Hayward DEV Week assessment Course total = 25% project outline and introduction developed using a chosen markup language consider and
More informationXML Technologies. Doc. RNDr. Irena Holubova, Ph.D. Web pages:
XML Technologies Doc. RNDr. Irena Holubova, Ph.D. holubova@ksi.mff.cuni.cz Web pages: http://www.ksi.mff.cuni.cz/~holubova/nprg036/ Outline Introduction to XML format, overview of XML technologies DTD
More informationXML Query Reformulation for XPath, XSLT and XQuery
XML Query Reformulation for XPath, XSLT and XQuery (Sven.Groppe@deri.org, http://members.deri.at/~sveng/) Tutorial at DBA 2006/Innsbruck 2/17/2006 1:29:13 Copyright 2006 Digital Enterprise Research Institute.
More informationEXtensible Markup Language (XML) a W3C standard to complement HTML A markup language much like HTML
XML and XPath EXtensible Markup Language (XML) a W3C standard to complement HTML A markup language much like HTML origins: structured text SGML motivation: HTML describes presentation XML describes content
More informationChapter 1 Readme.doc definitions you need to know 1
Contents Foreword xi Preface to the second edition xv Introduction xvii Chapter 1 Readme.doc definitions you need to know 1 Sample data 1 Italics 1 Introduction 1 Dimensions, measures, members and cells
More informationSemantical Characterization of unbounded-nondeterministic ASMs
Semantical Characterization of unbounded-nondeterministic ASMs Berlin, 26/27 Feb 2007 Andreas Glausch Humboldt-Universität zu Berlin Department of Computer Science Abstract State Machines (ASMs) state
More informationBig Data 12. Querying
Ghislain Fourny Big Data 12. Querying pinkyone / 123RF Stock Photo Declarative Languages What vs. How 2 Functional Languages for let order by if + any else = then every while where return exit with Expression
More informationEliminating Context State from XPath
Eliminating Context State from XPath Pierre Geneves, Kristoer Rose IBM T. J. Watson Research Center October 6, 2003 Abstract XPath is a language for selecting sequences of nodes and computing values from
More informationIntroduction to Information Retrieval
Introduction to Information Retrieval WS 2008/2009 25.11.2008 Information Systems Group Mohammed AbuJarour Contents 2 Basics of Information Retrieval (IR) Foundations: extensible Markup Language (XML)
More informationXML, DTD, and XPath. Announcements. From HTML to XML (extensible Markup Language) CPS 116 Introduction to Database Systems. Midterm has been graded
XML, DTD, and XPath CPS 116 Introduction to Database Systems Announcements 2 Midterm has been graded Graded exams available in my office Grades posted on Blackboard Sample solution and score distribution
More informationEcient XPath Axis Evaluation for DOM Data Structures
Ecient XPath Axis Evaluation for DOM Data Structures Jan Hidders Philippe Michiels University of Antwerp Dept. of Math. and Comp. Science Middelheimlaan 1, BE-2020 Antwerp, Belgium, fjan.hidders,philippe.michielsg@ua.ac.be
More informationRELATIONAL STORAGE FOR XML RULES
RELATIONAL STORAGE FOR XML RULES A. A. Abd El-Aziz Research Scholar Dept. of Information Science & Technology Anna University Email: abdelazizahmed@auist.net Professor A. Kannan Dept. of Information Science
More informationIndex-Driven XQuery Processing in the exist XML Database
Index-Driven XQuery Processing in the exist XML Database Wolfgang Meier wolfgang@exist-db.org The exist Project XML Prague, June 17, 2006 Outline 1 Introducing exist 2 Node Identification Schemes and Indexing
More informationRelational Storage for XML Rules
Relational Storage for XML Rules A. A. Abd El-Aziz Research Scholar Dept. of Information Science & Technology Anna University Email: abdelazizahmed@auist.net A. Kannan Professor Dept. of Information Science
More informationThe XML Query Language Xcerpt: Design Principles, Examples, and Semantics
The XML Query Language Xcerpt: Design Principles, Examples, and Semantics François Bry and Sebastian Schaffert Institute for Computer Science, University of Munich http://www.pms.informatik.uni-muenchen.de/
More informationEvaluating XPath Queries on XML Data Streams
Evaluating XPath Queries on XML Data Streams Stefan Böttcher and Rita Steinmetz University of Paderborn (Germany) Computer Science Fürstenallee 11 D-33102 Paderborn stb@uni-paderborn.de, rst@uni-paderborn.de
More informationXML Storage and Indexing
XML Storage and Indexing Web Data Management and Distribution Serge Abiteboul Ioana Manolescu Philippe Rigaux Marie-Christine Rousset Pierre Senellart Web Data Management and Distribution http://webdam.inria.fr/textbook
More informationEfficient Algorithms for Processing XPath Queries
Efficient Algorithms for Processing XPath Queries Georg Gottlob, Christoph Koch, and Reinhard Pichler Database and Artificial Intelligence Group Technische Universität Wien, A-1040 Vienna, Austria {gottlob,
More informationCS412/413. Introduction to Compilers Tim Teitelbaum. Lecture 2: Lexical Analysis 23 Jan 08
CS412/413 Introduction to Compilers Tim Teitelbaum Lecture 2: Lexical Analysis 23 Jan 08 Outline Review compiler structure What is lexical analysis? Writing a lexer Specifying tokens: regular expressions
More informationQuerying XML Data. Querying XML has two components. Selecting data. Construct output, or transform data
Querying XML Data Querying XML has two components Selecting data pattern matching on structural & path properties typical selection conditions Construct output, or transform data construct new elements
More informationFlexible structural constraints in XQuery Full Text. Emanuele Panzeri University of Milano Bicocca
Flexible structural constraints in XQuery Full Text Emanuele Panzeri University of Milano Bicocca panzeri@disco.unimib.it Motivation BaseX for : XML Retrieval Focused Retrieval of XML fragments Information
More informationOrder-Aware Twigs: Adding Order Semantics to Twigs
Order-Aware Twigs: Adding Order Semantics to Twigs M. Abdul Nizar 1, P. Sreenivasa Kumar 2 1 College of Engineering Trivandrum, India- 695016 nizar@cet.ac.in 2 Indian Institute of Technology Madras, Chennai,
More informationXholon an ABM tool based on Monkey Topology
Xholon an ABM tool based on Monkey Topology Ken Webb Primordion SwarmFest 2007 DePaul University, Computer Science, Chicago July 12-14, 2007 ken@primordion.com Abstract Xholon is an open source multi-paradigm
More informationXPath. Asst. Prof. Dr. Kanda Runapongsa Saikaew Dept. of Computer Engineering Khon Kaen University
XPath Asst. Prof. Dr. Kanda Runapongsa Saikaew (krunapon@kku.ac.th) Dept. of Computer Engineering Khon Kaen University 1 Overview What is XPath? Queries The XPath Data Model Location Paths Expressions
More informationEfficient Generation of Evolutionary Trees
fficient Generation of volutionary Trees MUHMM ULLH NN 1 M. SIUR RHMN 2 epartment of omputer Science and ngineering angladesh University of ngineering and Technology (UT) haka-1000, angladesh 1 adnan@cse.buet.ac.bd
More informationAn Effective and Efficient Approach for Keyword-Based XML Retrieval. Xiaoguang Li, Jian Gong, Daling Wang, and Ge Yu retold by Daryna Bronnykova
An Effective and Efficient Approach for Keyword-Based XML Retrieval Xiaoguang Li, Jian Gong, Daling Wang, and Ge Yu retold by Daryna Bronnykova Search on XML documents 2 Why not use google? Why are traditional
More informationAvoiding Unnecessary Ordering Operations in XPath
voiding Unnecessary Ordering Operations in XPath Jan Hidders Philippe Michiels University of ntwerp Dept. of Mathematics and Computer Science Middelheimlaan 1, BE-2020 ntwerpen, Belgium {jan.hidders, philippe.michiels}@ua.ac.e
More informationSection 5.5. Left subtree The left subtree of a vertex V on a binary tree is the graph formed by the left child L of V, the descendents
Section 5.5 Binary Tree A binary tree is a rooted tree in which each vertex has at most two children and each child is designated as being a left child or a right child. Thus, in a binary tree, each vertex
More informationSection Summary. Introduction to Trees Rooted Trees Trees as Models Properties of Trees
Chapter 11 Copyright McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education. Chapter Summary Introduction to Trees Applications
More informationA Web Service-Based System for Sharing Distributed XML Data Using Customizable Schema
Proceedings of the 2009 IEEE International Conference on Systems, Man, and Cybernetics San Antonio, TX, USA - October 2009 A Web Service-Based System for Sharing Distributed XML Data Using Customizable
More information4D2b Navigating an XML Document
University of Dublin Trinity College 4D2b Navigating an XML Document Owen.Conlan@scss.tcd.ie What is XPath? Addresses parts of an XML document W3C Recommendation (16 November 1999) Expression language
More informationXPath an XML query language
XPath an XML query language Some XML query languages: XML-QL XPath XQuery Many others 1 XML-QL http://www.w3.org/tr/note-xml-ql (8/98) Features: regular path expressions patterns, templates Skolem Functions
More informationContainment of XPath expressions: an inference and rewriting based approach
Extreme Markup Languages 2003 Montréal, Québec August 4-8, 2003 Containment of XPath expressions: an inference and rewriting based approach Jean-Yves Vion-Dury INRIA Rhône-Alpes Nabil Layaïda INRIA Rhône-Alpes
More informationData Abstractions. National Chiao Tung University Chun-Jen Tsai 05/23/2012
Data Abstractions National Chiao Tung University Chun-Jen Tsai 05/23/2012 Concept of Data Structures How do we store some conceptual structure in a linear memory? For example, an organization chart: 2/32
More information2006 Martin v. Löwis. Data-centric XML. XPath
Data-centric XML XPath XPath Overview Non-XML language for identifying particular parts of XML documents First person element of a document Seventh child element of third person element ID attribute of
More informationMETAXPath. Utah State University. From the SelectedWorks of Curtis Dyreson. Curtis Dyreson, Utah State University Michael H. Böhen Christian S.
Utah State University From the SelectedWorks of Curtis Dyreson December, 2001 METAXPath Curtis Dyreson, Utah State University Michael H. Böhen Christian S. Jensen Available at: https://works.bepress.com/curtis_dyreson/11/
More informationShifting Predicates to Inner Sub-Expressions for XQuery Optimization
Shifting Predicates to Inner Sub-Expressions for XQuery Optimization Sven Groppe 1, Jinghua Groppe 1, Stefan Böttcher 2 and Marc-André Vollstedt 2 1 University of Innsbruck, Institute of Computer Science,
More informationPart XII. Mapping XML to Databases. Torsten Grust (WSI) Database-Supported XML Processors Winter 2008/09 321
Part XII Mapping XML to Databases Torsten Grust (WSI) Database-Supported XML Processors Winter 2008/09 321 Outline of this part 1 Mapping XML to Databases Introduction 2 Relational Tree Encoding Dead Ends
More information4. Logical Values. Our Goal. Boolean Values in Mathematics. The Type bool in C++
162 Our Goal 163 4. Logical Values Boolean Functions; the Type bool; logical and relational operators; shortcut evaluation int a; std::cin >> a; if (a % 2 == 0) std::cout
More informationProgress Report on XQuery
Progress Report on XQuery Don Chamberlin Almaden Research Center May 24, 2002 History Dec. '98: W3C sponsors workshop on XML Query Oct. '99: W3C charters XML Query working group Chair: Paul Cotton About
More informationPlan of the lecture. G53RDB: Theory of Relational Databases Lecture 14. Example. Datalog syntax: rules. Datalog query. Meaning of Datalog rules
Plan of the lecture G53RDB: Theory of Relational Databases Lecture 14 Natasha Alechina School of Computer Science & IT nza@cs.nott.ac.uk More Datalog: Safe queries Datalog and relational algebra Recursive
More informationIntroduction to XQuery and XML Databases
Introduction to XQuery and XML Databases TEI@Oxford July 2009 XQuery While XSLT is good for transforming XML to other formats (XML, HTML, PDF, Text, etc.) sometimes you may wish to query a large database
More informationIndex-Trees for Descendant Tree Queries on XML documents
Index-Trees for Descendant Tree Queries on XML documents (long version) Jérémy arbay University of Waterloo, School of Computer Science, 200 University Ave West, Waterloo, Ontario, Canada, N2L 3G1 Phone
More informationSupporting Positional Predicates in Efficient XPath Axis Evaluation for DOM Data Structures
Supporting Positional Predicates in Efficient XPath Axis Evaluation for DOM Data Structures Torsten Grust Jan Hidders Philippe Michiels Roel Vercammen 1 July 7, 2004 Maurice Van Keulen 1 Philippe Michiels
More informationChapter Summary. Introduction to Trees Applications of Trees Tree Traversal Spanning Trees Minimum Spanning Trees
Trees Chapter 11 Chapter Summary Introduction to Trees Applications of Trees Tree Traversal Spanning Trees Minimum Spanning Trees Introduction to Trees Section 11.1 Section Summary Introduction to Trees
More informationXPath. Mario Alviano A.Y. 2017/2018. University of Calabria, Italy 1 / 21
1 / 21 XPath Mario Alviano University of Calabria, Italy A.Y. 2017/2018 Outline 2 / 21 1 Introduction 2 XPath expressions Path expressions Value expressions Node set expressions 3 Examples 4 Exercises
More informationExtending E-R for Modelling XML Keys
Extending E-R for Modelling XML Keys Martin Necasky Faculty of Mathematics and Physics, Charles University, Prague, Czech Republic martin.necasky@mff.cuni.cz Jaroslav Pokorny Faculty of Mathematics and
More informationA Structural Numbering Scheme for XML Data
A Structural Numbering Scheme for XML Data Alfred M. Martin WS2002/2003 February/March 2003 Based on workout made during the EDBT 2002 Workshops Dao Dinh Khal, Masatoshi Yoshikawa, and Shunsuke Uemura
More informationThe Pointer Assertion Logic Engine
The Pointer Assertion Logic Engine [PLDI 01] Anders Mφller Michael I. Schwartzbach Presented by K. Vikram Cornell University Introduction Pointer manipulation is hard Find bugs, optimize code General Approach
More informationAn XML-IR-DB Sandwich: Is it Better With an Algebra in Between?
An XML-IR-DB Sandwich: Is it Better With an Algebra in Between? Vojkan Mihajlović Djoerd Hiemstra Henk Ernst Blok Peter M. G. Apers CTIT, University of Twente P.O. Box 217, 7500AE Enschede, The Netherlands
More informationAn Algorithm for Streaming XPath Processing with Forward and Backward Axes
An Algorithm for Streaming XPath Processing with Forward and Backward Axes Charles Barton, Philippe Charles, Deepak Goyal, Mukund Raghavchari IBM T.J. Watson Research Center Marcus Fontoura, Vanja Josifovski
More information3. Logical Values. Boolean Functions; the Type bool; logical and relational operators; shortcut evaluation
140 3. Logical Values Boolean Functions; the Type bool; logical and relational operators; shortcut evaluation Our Goal 141 int a; std::cin >> a; if (a % 2 == 0) std::cout
More information- if you look too hard it isn't there
IBM Research Phantom XML - if you look too hard it isn't there Kristoffer H. Rose Lionel Villard XML 2005, Atlanta November 22, 2005 Overview Motivation Phantomization XML Processing Experiments Conclusion
More informationXPath. Web Data Management and Distribution. Serge Abiteboul Philippe Rigaux Marie-Christine Rousset Pierre Senellart
XPath Web ata Management and istribution Serge Abiteboul Philippe Rigaux MarieChristine Rousset Pierre Senellart INRIA Saclay, Univ. Parisauphine, Univ. Grenoble, TELECOM ParisTech http://gemo.futurs.inria.fr/wdmd
More informationConcurrency in XML. Concurrency control is a method used to ensure that database transactions are executed in a safe manner.
Concurrency in XML Concurrency occurs when two or more execution flows are able to run simultaneously. Concurrency control is a method used to ensure that database transactions are executed in a safe manner.
More informationAn introduction to searching in oxygen using XPath
1/47 An introduction to searching in oxygen using XPath James Cummings @jamescummings 11 November 2014 2/47 XPath XPath is the basis of most other XML querying and transformation languages (such as XSLT
More informationUses for Trees About Trees Binary Trees. Trees. Seth Long. January 31, 2010
Uses for About Binary January 31, 2010 Uses for About Binary Uses for Uses for About Basic Idea Implementing Binary Example: Expression Binary Search Uses for Uses for About Binary Uses for Storage Binary
More informationA New Way of Generating Reusable Index Labels for Dynamic XML
A New Way of Generating Reusable Index Labels for Dynamic XML P. Jayanthi, Dr. A. Tamilarasi Department of CSE, Kongu Engineering College, Perundurai 638 052, Erode, Tamilnadu, India. Abstract XML now
More informationXPlainer: Visual Explanations of XPath Queries
XPlainer: Visual Explanations of XPath Queries Mariano P. Consens University of Toronto Department of Computer Science consens@cs.toronto.edu John W. Liu University of Toronto Department of Computer Science
More information