Querying graph data: Where we are and where to go

Leonid Libkin, Wim Martens, Filip Murlak, Liat Peterfreund, Domagoj Vrgoč

Research output: Chapter in Book/Report/Conference proceedingConference contribution

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
Original languageEnglish
Title of host publicationCompanion of the 44th Symposium on Principles of Database Systems
Place of PublicationNew York, NY, USA
PublisherAssociation for Computing Machinery (ACM)
Pages1-19
Number of pages19
DOIs
Publication statusAccepted/In press - 22 Apr 2025
EventThe 2025 ACM SIGMOD/PODS International Conference on Management of Data - Intercontinental Berlin, Berlin, Germany
Duration: 22 Jun 202527 Jun 2025
https://2025.sigmod.org/

Publication series

NameProceedings of the ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems
PublisherAssociation for Computing Machinery (ACM)
ISSN (Print)1055-6338

Conference

ConferenceThe 2025 ACM SIGMOD/PODS International Conference on Management of Data
Abbreviated titleSIGMOD/PODS 2025
Country/TerritoryGermany
CityBerlin
Period22/06/2527/06/25
Internet address

Keywords / Materials (for Non-textual outputs)

  • graph databases
  • query languages
  • query language design
  • regular path queries
  • paths
  • automata

Fingerprint

Dive into the research topics of 'Querying graph data: Where we are and where to go'. Together they form a unique fingerprint.

Cite this