Javascript must be enabled to continue!
Relational Diagrams and the Pattern Expressiveness of Relational Languages
View through CrossRef
Comparing relational languages by their logical expressiveness is well understood. Less understood is how to compare relational languages by their ability to represent relational query patterns. Indeed, what are query patterns other than ''a certain way of writing a query''? And how can query patterns be defined across procedural and declarative languages, irrespective of their syntax?
Our SIGMOD 2024 paper proposes a semantic definition of relational query patterns that uses a variant of structurepreserving mappings between the relational tables of queries. This formalism allows us to analyze the relative pattern expressiveness of relational languages. Notably, for the nondisjunctive language fragment, we show that relational calculus (RC) can express a larger class of patterns than the basic operators of relational algebra (RA).
We also propose Relational Diagrams, a complete and sound diagrammatic representation of safe relational calculus. These diagrams can represent all query patterns for unions of non-disjunctive queries, in contrast to visual query representations that derive visual marks from the basic operators of algebra. Our anonymously preregistered user study shows that Relational Diagrams allow users to recognize relational patterns meaningfully faster and more accurately than they can with SQL.
Title: Relational Diagrams and the Pattern Expressiveness of Relational Languages
Description:
Comparing relational languages by their logical expressiveness is well understood.
Less understood is how to compare relational languages by their ability to represent relational query patterns.
Indeed, what are query patterns other than ''a certain way of writing a query''? And how can query patterns be defined across procedural and declarative languages, irrespective of their syntax?
Our SIGMOD 2024 paper proposes a semantic definition of relational query patterns that uses a variant of structurepreserving mappings between the relational tables of queries.
This formalism allows us to analyze the relative pattern expressiveness of relational languages.
Notably, for the nondisjunctive language fragment, we show that relational calculus (RC) can express a larger class of patterns than the basic operators of relational algebra (RA).
We also propose Relational Diagrams, a complete and sound diagrammatic representation of safe relational calculus.
These diagrams can represent all query patterns for unions of non-disjunctive queries, in contrast to visual query representations that derive visual marks from the basic operators of algebra.
Our anonymously preregistered user study shows that Relational Diagrams allow users to recognize relational patterns meaningfully faster and more accurately than they can with SQL.
Related Results
Autonomy on Trial
Autonomy on Trial
Photo by CHUTTERSNAP on Unsplash
Abstract
This paper critically examines how US bioethics and health law conceptualize patient autonomy, contrasting the rights-based, individualist...
On the reasonable effectiveness of Relational Diagrams
On the reasonable effectiveness of Relational Diagrams
Comparing relational languages by their logical expressiveness is well understood. Less well understood is how to compare relational languages by their ability to represent relatio...
PENGETAHUAN MAHASISWA TATA BUSANA TENTANG ZERO WASTE PATTERN
PENGETAHUAN MAHASISWA TATA BUSANA TENTANG ZERO WASTE PATTERN
Textile waste is one of the 2nd largest types of waste in the world. The increasing amount of textile waste will have an impact on the environment. There has not been much developm...
Mathematical Expressiveness of Graph Neural Networks
Mathematical Expressiveness of Graph Neural Networks
Graph Neural Networks (GNNs) are neural networks designed for processing graph data. There has been a lot of focus on recent developments of graph neural networks concerning the th...
Towards a Model Theory of Venn Diagrams
Towards a Model Theory of Venn Diagrams
One of the goals of logical analysis is to construct mathematical models of various practices of deductive inference. Traditionally, this is done by means of giving semantics and r...
Implicit measures of beliefs
Implicit measures of beliefs
The assessment of the thoughts and evaluations of human beings is a central feature of modern psychological science. Further to this, many researchers are specifically interested i...
Language Mapping of the Cordillera Administrative Region Using Relational Model
Language Mapping of the Cordillera Administrative Region Using Relational Model
Purpose–Various studies have already done the language mapping of the different languages of the Philippines, though it only consists of the most pop...
Mande Languages
Mande Languages
Mande is a mid-range language family in Western Sub-Saharan Africa that includes 60 to 75 languages spoken by 30 to 40 million people. According to the glottochronological data, it...

