Authors
Yaron Kanza, Yehoshua Sagiv
Publication date
2001/5/1
Book
Proceedings of the twentieth ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems
Pages
40-51
Description
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 …
Total citations
20022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024137587911121255562583213211
Scholar articles
Y Kanza, Y Sagiv - Proceedings of the twentieth ACM SIGMOD-SIGACT …, 2001