A Principled Solution to the Disjunction Problem of Diagrammatic Query Representations

Fuente: arXiv
Saved in:
Bibliographic Details
Main Author: Gatterbauer, Wolfgang
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917866439180288
author Gatterbauer, Wolfgang
author_facet Gatterbauer, Wolfgang
contents Finding unambiguous diagrammatic representations for first-order logical formulas and relational queries with arbitrarily nested disjunctions has been a surprisingly long-standing unsolved problem. We refer to this problem as the disjunction problem (of diagrammatic query representations). This work solves the disjunction problem. Our solution unifies, generalizes, and overcomes the shortcomings of prior approaches for disjunctions. It extends the recently proposed Relational Diagrams and is identical for disjunction-free queries. However, it can preserve the relational patterns and the safety for all well-formed Tuple Relational Calculus (TRC) queries, even with arbitrary disjunctions. Additionally, its size is proportional to the original TRC query and can thus be exponentially more succinct than Relational Diagrams.
format Preprint
id arxiv_https___arxiv_org_abs_2412_08583
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle A Principled Solution to the Disjunction Problem of Diagrammatic Query Representations
Gatterbauer, Wolfgang
Databases
Logic in Computer Science
Finding unambiguous diagrammatic representations for first-order logical formulas and relational queries with arbitrarily nested disjunctions has been a surprisingly long-standing unsolved problem. We refer to this problem as the disjunction problem (of diagrammatic query representations). This work solves the disjunction problem. Our solution unifies, generalizes, and overcomes the shortcomings of prior approaches for disjunctions. It extends the recently proposed Relational Diagrams and is identical for disjunction-free queries. However, it can preserve the relational patterns and the safety for all well-formed Tuple Relational Calculus (TRC) queries, even with arbitrary disjunctions. Additionally, its size is proportional to the original TRC query and can thus be exponentially more succinct than Relational Diagrams.
title A Principled Solution to the Disjunction Problem of Diagrammatic Query Representations
topic Databases
Logic in Computer Science
url https://arxiv.org/abs/2412.08583