Equivalence of nested queries with mixed semantics (extended version)

dc.contributor.authorDeHaan, David
dc.date.accessioned2026-09-24T20:18:44Z
dc.date.issued2009-03-13
dc.description.abstractWe consider the problem of deciding query equivalence for a conjunctive language in which queries output complex objects composed from a mixture of nested, unordered collection types. Using an encoding of nesting objects as flat relations, we translate the problem to deciding the equivalence between encodings output by relational conjunctive queries. This encoding equivalence cleanly unifies and generalizes previous results for deciding equivalence of conjunctive queries evaluated under various processing semantics. As part of our characterization of encoding equivalence, we define a normal form for encoding queries and content that this normal form offers new insight into the fundamental principles governing the behaviour of nested aggregation.
dc.identifier.urihttps://hdl.handle.net/10012/24417
dc.language.isoen
dc.publisherUniversity of Waterloo
dc.relation.ispartofseriesComputer Science Technical Reports; CS-2009-12
dc.subjectalgorithms
dc.subjectlanguages
dc.subjecttheory
dc.subjectconjunctive queries
dc.subjectquery equivalence
dc.subjectbag-set semantics
dc.subjectset semantics
dc.subjectnormalized bags
dc.subjectaggregation
dc.titleEquivalence of nested queries with mixed semantics (extended version)
dc.typeTechnical Report
uws.contributor.affiliation1Faculty of Mathematics
uws.contributor.affiliation2David R. Cheriton School of Computer Science
uws.peerReviewStatusUnreviewed
uws.scholarLevelFaculty
uws.typeOfResourceTexten

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
CS-2009-12.pdf
Size:
479.06 KB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
4.47 KB
Format:
Item-specific license agreed upon to submission
Description: