Querying Graph Data: Where We Are and Where To Go

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.

Authors

Institutions

Publication Details

Published
2025-06-18
DOI
https://doi.org/10.1145/3722234.3725822
Citations
3
Primary Topic
Graph Theory and Algorithms
Type
article
Field-Weighted Citation Impact
3.83
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Querying Graph Data: Where We Are and Where To Go

Wim Martens, Filip Murlak, Domagoj Vrgoč, Leonid Libkin et al.
3 citations
Graph Theory and Algorithms
3.83
article

Querying Graph Data: Where We Are and Where To Go

Wim Martens, Filip Murlak, Domagoj Vrgoč, Leonid Libkin, Liat Peterfreund
article en
3 citations

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.

Pontificia Universidad Católica de Chile (CL), Hebrew University of Jerusalem (IL), University of Warsaw (PL), University of Bayreuth (DE), University of Edinburgh (GB)
Openalex Percentile: Top 6%
Graph Theory and Algorithms
3.83
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.