Synthesizing nested relational queries from implicit specifications: via model theory and via proof theory
Michael Benedikt, C\'ecilia Pradic, Christoph Wernhard

TL;DR
This paper establishes a theoretical and proof-theoretic framework for converting implicit nested relational dataset definitions into explicit NRC queries, enhancing understanding and automation in data specification and transformation.
Contribution
It proves the implicit-to-explicit definability for nested relations using model and proof theory, and provides an effective method to extract NRC queries from proofs.
Findings
Implicit definitions in nested relations can be converted to NRC queries.
A model-theoretic connection between NRC queries and structure translations is established.
An effective proof system enables automatic extraction of NRC rewritings from proofs.
Abstract
Derived datasets can be defined implicitly or explicitly. An implicit definition (of dataset O in terms of datasets I) is a logical specification involving two distinguished sets of relational symbols. One set of relations is for the "source data" I, and the other is for the "interface data" O. Such a specification is a valid definition of O in terms of I, if any two models of the specification agreeing on I agree on O. In contrast, an explicit definition is a transformation (or "query" below) that produces O from I. 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 implicit-to-explicit result for nested relations: implicit definitions, given in the natural logic for nested relations, can be…
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
TopicsSemantic Web and Ontologies · Logic, Reasoning, and Knowledge · Advanced Database Systems and Queries
