Let’s say we want to build graph database, similar to relational database. Then we need language similar to SQL. SQL consists of several sections:

  • data query language (DQL)
    • SELECT and co: FROM, WHERE, GROUP BY, ORDER
  • data definition language (DDL aka schema)
    • CREATE, DROP, TRUNCATE, ALTER
  • data manipulation language (DML)
    • INSERT, UPDATE, DELETE
  • data control language (DCL)
    • GRANT, DENY, REVOKE
  • Transaction Control Language (TCL)
    • COMMIT, ROLLBACK

Existing languages

See https://www.gqlstandards.org/existing-languages.

There are already a lot of proposals for graph query languages, most known are:

And less known languages:

Science papers

This is active research area, there are a lot of papers. See Graph query language papers.

DDL

aka metadata, types, data models, schemas

RDF “schemas”: