Flexible queries over semistructured data

  • Y. Kanza*
  • , Y. Sagiv
  • *Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

78 Scopus citations

Abstract

Flexible queries facilitate, in a novel way, easy and concise querying of databases that have varying structures. Two different semantics, flexible and semiflexible, are introduced and investigated. The complexity of evaluating queries under the two semantics is analyzed. Query evaluation is polynomial in the size of the query, the database and the result in the following two cases. First, a semiflexible DAG query and a tree database. Second, a flexible tree query and a database that is any graph. Query containment and equivalence are also investigated. For the flexible semantics, query equivalence is always polynomial. For the semiflexible semantics, query equivalence is polynomial for DAG queries and exponential when the queries have cycles. Under the semiflexible and flexible semantics, two databases could be equivalent even when they are not isomorphic. Database equivalence is formally defined and characterized. The complexity of deciding equivalences among databases is analyzed. The implications of database equivalence on query evaluation are explained.

Original languageEnglish
Title of host publicationProceedings of the 20th ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems, PODS 2001
PublisherAssociation for Computing Machinery (ACM)
Pages40-51
Number of pages12
ISBN (Electronic)9781581133615
DOIs
StatePublished - 1 May 2001
Event20th ACM SIGMOD-SIGACT-SIGART Symposium on Principles of Database Systems, PODS 2001 - Santa Barbara, CA, United States
Duration: 21 May 200123 May 2001

Publication series

NameProceedings of the ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems
ISSN (Print)1055-6338

Conference

Conference20th ACM SIGMOD-SIGACT-SIGART Symposium on Principles of Database Systems, PODS 2001
Country/TerritoryUnited States
CitySanta Barbara, CA
Period21/05/0123/05/01

Fingerprint

Dive into the research topics of 'Flexible queries over semistructured data'. Together they form a unique fingerprint.

Cite this