Metraipolis › archive › dc_24fd90846a34

MGQL: An Executable, Small-Step Semantics of GQL — arXiv:2608.24565

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.24565
License (as archived)
CC0-1.0
Archived
2026-10-18T07:00:34.784Z
SHA-256 of the archived text
b8d8ff20b1951f80f7e67e6a7655bfee4ef4682cddcc519bfc93e2069d8e3223
Stable URL of this page
https://metraipolis.com/documento/dc_24fd90846a34

How to cite

MGQL: An Executable, Small-Step Semantics of GQL — arXiv:2608.24565 — arXiv (en), https://arxiv.org/abs/2608.24565 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_24fd90846a34 (Metraipolis archive dc_24fd90846a34, sha256 b8d8ff20b1951f80f7e67e6a7655bfee4ef4682cddcc519bfc93e2069d8e3223)
BibTeX
@misc{dc24fd90846a34,
  title = {MGQL: An Executable, Small-Step Semantics of GQL — arXiv:2608.24565},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.24565},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_24fd90846a34; sha256 b8d8ff20b1951f80f7e67e6a7655bfee4ef4682cddcc519bfc93e2069d8e3223},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.24565. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

ISO Graph Query Language (GQL) is the first international standard for property graph-based graph query languages, standardized as ISO/IEC 39075 in 2024. However, ISO/IEC 39075 codifies its semantics informally across 600+ pages of prose, making it difficult to formally reason about the standard or for a standard-faithful implementation. Existing formalizations are not adequate because they either: (1) significantly reduce the semantic complexity by omitting bag semantics, schemas, and composite queries on multiple graphs; (2) or significantly reduce the syntactic complexity by only considering isolated fragments such as pattern-matching, leaving the full query pipeline unformalized. Yet it is these semantic-syntactic features that make formalizing GQL non-trivial. We present MGQL, the first mechanized, small-step operational semantics for a substantial read-only fragment of GQL that is grounded in the ISO/IEC 39075 standard. Our formalization models multi-graph property graphs with mixed edge directionality and supports a large fraction of GQL pattern constructs: quantified paths and edges, directional and undirected matching, label expressions, pattern lists, and composite queries. The semantics is supported by a schema-aware type system that refines variable types via closed-graph schemas, tracks nullability, supports multiple composite query operators, and models quantified-path bindings with list types. We prove that our type system is sound, ensuring an end-to-end guarantee of well-formed queries yielding results that conform to their declared schemas. MGQL provides the first bridge between GQL's informal specification and a mechanized implementation, enabling formal reasoning about correctness.

Tema degli esploratori: statistica e scienza dei dati (retro-catalogo arXiv: annunci del 2026-08-26 in cs.DB).
Categorie arXiv: Programming Languages (cs.PL) ; Databases (cs.DB).
Pagina del lavoro: https://arxiv.org/abs/2608.24565 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-18T06:57:47.320Z dalla pagina https://arxiv.org/catchup/cs.DB/2026-08-26?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).