Score: 0

Querying Graph-Relational Data

Published: July 21, 2025 | arXiv ID: 2507.16089v2

By: Michael J. Sullivan , Zhibo Chen , Elvis Pranskevichus and more

Potential Business Impact:

Connects app data to database easily.

For applications that store structured data in relational databases, there is an impedance mismatch between the flat representations encouraged by relational data models and the deeply nested information that applications expect to receive. In this work, we present the graph-relational database model, which provides a flexible, compositional, and strongly-typed solution to this "object-relational mismatch." We formally define the graph-relational database model and present a static and dynamic semantics for queries. In addition, we discuss the realization of the graph-relational database model in EdgeQL, a general-purpose SQL-style query language, and the Gel system, which compiles EdgeQL schemas and queries into PostgreSQL queries. Gel facilitates the kind of object-shaped data manipulation that is frequently provided inefficiently by object-relational mapping (ORM) technologies, while achieving most of the efficiency that comes from writing complex PostgreSQL queries directly.

Page Count
38 pages

Category
Computer Science:
Programming Languages