Equivalence of nested queries with mixed semantics (extended version)
| dc.contributor.author | DeHaan, David | |
| dc.date.accessioned | 2026-09-24T20:18:44Z | |
| dc.date.issued | 2009-03-13 | |
| dc.description.abstract | We 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.uri | https://hdl.handle.net/10012/24417 | |
| dc.language.iso | en | |
| dc.publisher | University of Waterloo | |
| dc.relation.ispartofseries | Computer Science Technical Reports; CS-2009-12 | |
| dc.subject | algorithms | |
| dc.subject | languages | |
| dc.subject | theory | |
| dc.subject | conjunctive queries | |
| dc.subject | query equivalence | |
| dc.subject | bag-set semantics | |
| dc.subject | set semantics | |
| dc.subject | normalized bags | |
| dc.subject | aggregation | |
| dc.title | Equivalence of nested queries with mixed semantics (extended version) | |
| dc.type | Technical Report | |
| uws.contributor.affiliation1 | Faculty of Mathematics | |
| uws.contributor.affiliation2 | David R. Cheriton School of Computer Science | |
| uws.peerReviewStatus | Unreviewed | |
| uws.scholarLevel | Faculty | |
| uws.typeOfResource | Text | en |