Relational Diagrams: a pattern-preserving diagrammatic representation of non-disjunctive Relational Queries

03/14/2022
by   Wolfgang Gatterbauer, et al.
0

Analyzing relational languages by their logical expressiveness is well understood. Something not well understood or even formalized is the vague concept of relational query patterns. What are query patterns? And how can we reason about query patterns across different relational languages, irrespective of their syntax and their procedural or declarative nature? In this paper, we formalize the concept of query patterns with a variant of pattern-preserving mappings between the relational atoms of queries. This formalism allows us to analyze the relative pattern expressiveness of relational query languages and to create a hierarchy of languages with equal logical expressiveness yet different pattern expressiveness. In this analysis, relational calculus can expressive more patterns than the basic operators of relational algebra. We additionally contribute an intuitive, complete, and sound diagrammatic representation of safe relational calculus that is not only relationally complete, but can also express all logical patterns for the large and useful fragment of non-disjunctive relational calculus. Among all diagrammatic representations for relational queries that we are aware of, this is the only one that is relationally complete and that can represent all logical patterns in the non-disjunctive fragment.

READ FULL TEXT

page 5

page 16

page 18

page 19

research
08/20/2023

A Tutorial on Visual Representations of Relational Queries

Query formulation is increasingly performed by systems that need to gues...
research
02/21/2022

A Rule-based Operational Semantics of Graph Query Languages

We consider a core language of graph queries. These queries are seen as ...
research
10/29/2022

GPC: A Pattern Calculus for Property Graphs

The development of practical query languages for graph databases runs we...
research
08/27/2018

On the Distributability of Mobile Ambients

Modern society is dependent on distributed software systems and to verif...
research
08/05/2018

On the Distributability of Mobile Ambients (Technical Report)

Modern society is dependent on distributed software systems and to verif...
research
04/20/2018

Graphical Conjunctive Queries

The Calculus of Conjunctive Queries (CCQ) has foundational status in dat...
research
03/04/2018

Comparing Downward Fragments of the Relational Calculus with Transitive Closure on Trees

Motivated by the continuing interest in the tree data model, we study th...

Please sign up or login with your details

Forgot password? Click here to reset