Synthesizing Nested Relational Queries from Implicit Specifications
Michael Benedikt, C\'ecilia Pradic, Christoph Wernhard

TL;DR
This paper proves that implicit definitions of nested relational datasets can be effectively transformed into explicit queries, enabling automatic rewriting of queries based on proof of data determination.
Contribution
It extends Beth's theorem to nested relations, providing an effective method to convert implicit definitions into explicit NRC queries using proof systems.
Findings
Effective conversion from implicit to explicit definitions for nested relations.
Automatic extraction of query rewritings from proofs of data determination.
Formalization of the implicit-to-explicit transformation in nested relational logic.
Abstract
Derived datasets can be defined implicitly or explicitly. An implicit definition (of dataset in terms of datasets ) is a logical specification involving the source data and the interface data . It is a valid definition of in terms of , if any two models of the specification agreeing on agree on . In contrast, an explicit definition is a query that produces from . Variants of Beth's theorem state that one can convert implicit definitions to explicit ones. Further, this conversion can be done effectively given a proof witnessing implicit definability in a suitable proof system. We prove the analogous effective implicit-to-explicit result for nested relations: implicit definitions, given in the natural logic for nested relations, can be effectively converted to explicit definitions in the nested relational calculus NRC. As a…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Database Systems and Queries · Semantic Web and Ontologies · Logic, Reasoning, and Knowledge
