Abstract
Although graph query languages such as Cypher, SQL/PGQ, and GQL take inspiration from theoretical languages such as conjunctive regular path queries (CRPQs), their pattern matching facilities are significantly more powerful in order to cope with real world use cases. Four such extensions are treatment of both nodes and edges, variables that bind to paths or lists, path modes, and data filters.
In this paper, we define CRPQs with data tests and list variables (dl-CRPQs), which extend CRPQs with these features and give the reader a quick idea of how these features relate to the classical literature on graph pattern matching. Then, we discuss where the design of SQL/PGQ and GQL stands today and identify a host of opportunities in research and query language design. In particular, we believe that a closer connection between graph query languages and automata theory will open up opportunities for query optimization that will benefit graph query languages in the long term
In this paper, we define CRPQs with data tests and list variables (dl-CRPQs), which extend CRPQs with these features and give the reader a quick idea of how these features relate to the classical literature on graph pattern matching. Then, we discuss where the design of SQL/PGQ and GQL stands today and identify a host of opportunities in research and query language design. In particular, we believe that a closer connection between graph query languages and automata theory will open up opportunities for query optimization that will benefit graph query languages in the long term
Original language | English |
---|---|
Title of host publication | Companion of the 44th Symposium on Principles of Database Systems |
Place of Publication | New York, NY, USA |
Publisher | Association for Computing Machinery (ACM) |
Pages | 1-19 |
Number of pages | 19 |
DOIs | |
Publication status | Accepted/In press - 22 Apr 2025 |
Event | The 2025 ACM SIGMOD/PODS International Conference on Management of Data - Intercontinental Berlin, Berlin, Germany Duration: 22 Jun 2025 → 27 Jun 2025 https://2025.sigmod.org/ |
Publication series
Name | Proceedings of the ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems |
---|---|
Publisher | Association for Computing Machinery (ACM) |
ISSN (Print) | 1055-6338 |
Conference
Conference | The 2025 ACM SIGMOD/PODS International Conference on Management of Data |
---|---|
Abbreviated title | SIGMOD/PODS 2025 |
Country/Territory | Germany |
City | Berlin |
Period | 22/06/25 → 27/06/25 |
Internet address |
Keywords / Materials (for Non-textual outputs)
- graph databases
- query languages
- query language design
- regular path queries
- paths
- automata