Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

GQL (Graph Query Language)

< >

GQL (Graph Query Language), aka Graph Query Language, is a query language created in 2024.

#664on PLDB 2Years Old
Homepage · Spec · Wikipedia

GQL (Graph Query Language) is a standardized query language for property graphs first described in ISO/IEC 39075, released in April 2024 by ISO/IEC. GQL is a declarative language designed to query and update property graph databases, playing a similar role to SQL for relational databases. Property graphs store data as nodes (entities) and edges (relationships), each optionally having labels and properties. Read more on Wikipedia...


Example from Wikipedia:
// Find all friends of Alice and return their names MATCH (p:Person {name: 'Alice'})-[:KNOWS]->(friend:Person) RETURN friend.name AS name
GQL (Graph Query Language) Keywords
ALL AND ANY AS ASC BY CALL CASE COUNT CREATE CURRENT DELETE DESC DETACH DISTINCT DROP ELSE END EXISTS FALSE FILTER FOR FROM GRAPH GROUP HAVING IN INSERT INTO IS KEEP LABEL LET LIKE LIMIT MATCH MERGE NEXT NOT NULL OF ON OPTIONAL OR ORDER PATH PATHS PROPERTY REMOVE RETURN SET SHORTEST SIMPLE SINGLE SKIP SOME THEN TRUE TRAIL UNION UNIQUE UNWIND USING WALK WHERE WITH XOR YIELD

Language features

Feature Supported Example Token
Fixed Point Numbers ✓
Integers ✓
Booleans ✓ TRUE FALSE
Strings ✓ "Hello world" "
Case Insensitive Identifiers ✓
MultiLine Comments ✓ /* A comment */ /* */
Line Comments ✓ // A comment //
Comments ✓
Case Sensitivity X
Semantic Indentation X

14 publications about GQL (Graph Query Language) on DBLP

title year
GQL Rules: Deterministic and Safe Rule-Based Materialization for Property Graphs 2026
GQL and SQL/PGQ: Theoretical Models and Expressive Power 2025
Mine Graph Rule: A New GQL Operator for Mining Association Rules in Property Graph Databases 2025
Parallel and Distributed SQL/PGQ Query Processing for Property Graphs 2025
Towards Cross-Model Efficiency in SQL/PGQ 2025
Towards Cross-Model Efficiency in SQL/PGQ 2025
Chimera: A system design of dual storage and traversal-join unified query processing for SQL/PGQ 2024
GQL and SQL/PGQ: Theoretical Models and Expressive Power 2024
DuckPGQ: Bringing SQL/PGQ to DuckDB 2023
Evaluating Regular Path Queries in GQL and SQL/PGQ: How Far Can The Classical Algorithms Take Us? 2023
SQL/PGQ: A Systems Perspective (Abstract) 2023
Graph Pattern Matching in GQL and SQL/PGQ 2022
Graph Query Language (GQL)-structured Algorithms for Geospatial Intelligence on Public Transportation 2022
Graph Pattern Matching in GQL and SQL/PGQ 2021

- Build the next great programming language · Add · Add Prompt · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v178.2.3