Relational Diagrams are a complete and sound diagrammatic representation of safe relational calculus. They are (𝑖) proven unambiguous, (𝑖𝑖) proven relationally complete, and (𝑖𝑖𝑖) are able to represent all relational query patterns for unions of non-disjunctive queries. Our anonymously preregistered user study shows that Relational Diagrams allows users to recognize patterns meaningfully faster and with higher accuracy across different schemas than SQL. We envision a future in which a user dictates queries while interacting with a relational database, and the system visualizes the queries back, enabling the user to verify their correct interpretation
@article{SIGMOD2024:GD,
author = {Wolfgang Gatterbauer and Cody Dunne},
title = {On the Reasonable Effectiveness of Relational Diagrams:
Explaining Relational Query Patterns and the Pattern Expressiveness of Relational Languages},
journal = {Proc. {ACM} Manag. Data},
volume = {2},
number = {1}
pages = {61:1--61:27},
year = {2024},
doi = {10.1145/3639316}
}
This work has been supported in part by the National Science Foundation (NSF) under award numbers IIS-1762268 and IIS-1956096, and conducted in part while Wolfgang Gatterbauer was visiting the Simons Institute for the Theory of Computing. Any opinions, findings, and conclusions or recommendations expressed in this project are those of the author(s) and do not necessarily reflect the views of the Funding Agencies.