Abstract
SQL4X, a powerful language for simultaneously querying both relational and XML databases is presented. Using SQL4X, one can create both relations and XML documents as query results. Thus, SQL4X can be thought of as an integration language. In order to allow easy integration of XML documents with varied structures, SQL4X uses flexible semantics when querying XML. SQL4X is also a powerful query language. It can express quantification, negation, aggregation, grouping and path expressions. Datalog4x and Tree-Datalog4x, extensions of Datalog, are defined as elegant abstract models for SQL4X queries. Query containment is characterized for many common classes of SQL4X queries. Specifically, for Datalog4x queries, a complete characterization of containment of conjunctive queries and of unions of queries is presented. Equivalence of Datalog4x queries under bag-set semantics is also characterized. A sufficient condition for containment of Tree-Datalog4x queries is presented. This condition is shown to be complete for a large class of common queries.
Original language | English |
---|---|
Title of host publication | Database Programming Languages - 8th International Workshop, DBPL 2001, Revised Papers |
Editors | Giorgio Ghelli, Gosta Grahne |
Publisher | Springer Verlag |
Pages | 263-280 |
Number of pages | 18 |
ISBN (Print) | 9783540440802 |
DOIs | |
State | Published - 2002 |
Event | 8th International Workshop on Database Programming Languages, DBPL 2001 - Frascati, Italy Duration: 8 Sep 2001 → 10 Sep 2001 |
Publication series
Name | Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) |
---|---|
Volume | 2397 |
ISSN (Print) | 0302-9743 |
ISSN (Electronic) | 1611-3349 |
Conference
Conference | 8th International Workshop on Database Programming Languages, DBPL 2001 |
---|---|
Country/Territory | Italy |
City | Frascati |
Period | 8/09/01 → 10/09/01 |
Bibliographical note
Publisher Copyright:© Springer-Verlag Berlin Heidelberg 2002.