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.

#661on 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

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

Built with Scroll v178.2.3