Information technology - Database languages SQL - Part 16: Property Graph Queries (SQL/PGQ)

Technologies de l'information — Langages de base de données — SQL — Partie 16: Titre manque

General Information

Status
Published
Publication Date
31-May-2023
Current Stage
9092 - International Standard to be revised
Start Date
22-Jun-2025
Completion Date
30-Oct-2025

Overview

ISO/IEC 9075-16:2023 - commonly referred to as SQL/PGQ (Property Graph Queries) - is the ISO standard that extends the SQL family to support querying and manipulating property graph data. Published as the first edition in June 2023, this part of the ISO/IEC 9075 series defines syntax, semantics, predicates, functions, schema and access-control elements for representing and querying property graphs inside SQL environments.

Key topics and technical requirements

The standard specifies a comprehensive set of language elements and behaviors for graph querying with SQL. Major technical topics include:

  • Graph pattern matching and matching modes, including path patterns, path modes and selective path search mechanisms.
  • Query expressions and table/graph references for integrating graph queries with relational query constructs.
  • Scalars, predicates and functions specific to graph processing (e.g., property references, path and element functions).
  • Schema definition and manipulation for property graphs: property graph definitions, element/edge table descriptors, label and property declarations, and ALTER/DROP semantics.
  • Access control: GRANT/REVOKE statements and property-graph-specific privileges.
  • Information Schema and Definition Schema views and base tables to expose graph metadata-examples include PG_LABELS, PG_ELEMENT_TABLES, PG_ELEMENT_TABLE_PROPERTIES, PROPERTY_GRAPHS and PG_DEFINED_LABEL_SETS.
  • Diagnostics, conformance and status codes, plus annexes covering optional/implementation-defined elements and incompatibilities with prior SQL parts.

The document organizes its rules into formal lexical elements, scalar expressions, predicates, additional common rules (e.g., binding/application of graph results), and conformance requirements.

Practical applications

ISO/IEC 9075-16:2023 enables:

  • Embedding property graph queries directly in SQL-based systems, removing the need for separate graph query languages or ad-hoc integrations.
  • Graph analytics (shortest paths, pattern discovery, connected components) combined with relational joins and aggregates in a single SQL environment.
  • Consistent metadata exposure across database platforms through the standardized Information Schema views for graph objects.
  • Enterprise adoption of knowledge graphs, social/network analysis, fraud detection, recommendation systems and semantic data stores where graph relationships are first-class.

Who should use this standard

  • Database vendors implementing graph features in SQL engines.
  • Data architects and engineers designing hybrid relational–graph solutions.
  • Application developers who need standardized graph query capabilities inside SQL.
  • Analysts and researchers leveraging graph-structured data with SQL toolchains.
  • Standards and compliance teams ensuring portability and conformance for graph-enabled database products.

Related standards

  • Part of the ISO/IEC 9075 (SQL) family - SQL/PGQ complements the core SQL standard and aligns graph querying semantics with established SQL syntax and conformance rules.
Standard

ISO/IEC 9075-16:2023 - Information technology — Database languages SQL — Part 16: Property Graph Queries (SQL/PGQ) Released:1. 06. 2023

English language
269 pages
sale 15% off
Preview
sale 15% off
Preview

Frequently Asked Questions

ISO/IEC 9075-16:2023 is a standard published by the International Organization for Standardization (ISO). Its full title is "Information technology - Database languages SQL - Part 16: Property Graph Queries (SQL/PGQ)". This standard covers: Information technology - Database languages SQL - Part 16: Property Graph Queries (SQL/PGQ)

Information technology - Database languages SQL - Part 16: Property Graph Queries (SQL/PGQ)

ISO/IEC 9075-16:2023 is classified under the following ICS (International Classification for Standards) categories: 35.060 - Languages used in information technology. The ICS classification helps identify the subject area and facilitates finding related standards.

You can purchase ISO/IEC 9075-16:2023 directly from iTeh Standards. The document is available in PDF format and is delivered instantly after payment. Add the standard to your cart and complete the secure checkout process. iTeh Standards is an authorized distributor of ISO standards.

Standards Content (Sample)


INTERNATIONAL ISO/IEC
STANDARD 9075-16
First edition
2023-06
Information technology — Database
languages SQL —
Part 16:
Property Graph Queries (SQL/PGQ)
Reference number
© ISO/IEC 2023
© ISO/IEC 2023
All rights reserved. Unless otherwise specified, or required in the context of its implementation, no part of this publication may
be reproduced or utilized otherwise in any form or by any means, electronic or mechanical, including photocopying, or posting on
the internet or an intranet, without prior written permission. Permission can be requested from either ISO at the address below
or ISO’s member body in the country of the requester.
ISO copyright office
CP 401 • Ch. de Blandonnet 8
CH-1214 Vernier, Geneva
Phone: +41 22 749 01 11
Email: copyright@iso.org
Website: www.iso.org
Published in Switzerland
ii
© ISO/IEC 2023 – All rights reserved

ISO/IEC9075-16:2023(E)
Contents Page
Foreword.viii
Introduction.x
1 Scope.1
2 Normativereferences.2
3 Termsanddefinitions.3
4 Concepts.8
4.1 Notationsandconventions.8
4.1.1 Notations.8
4.2 Columns,fields,andattributes.8
4.3 SQL-statements.8
4.3.1 SQL-statementsclassifiedbyfunction.8
4.3.1.1 SQL-schemastatements.8
4.4 Basicsecuritymodel.8
4.4.1 Privileges.9
4.5 SQL-propertygraphs.9
4.5.1 IntroductiontoSQL-propertygraphs.9
4.5.2 Purepropertygraph.9
4.5.3 Tabularpropertygraph.11
4.6 Operationsinvolvingpropertygraphs.12
4.7 Graphpatternmatching.13
4.7.1 Summaryofgraphpatternmatching.13
4.7.2 Paths.13
4.7.3 Pathpatterns.14
4.7.4 Graphpatternvariables.15
4.7.5 Referencestographpatternvariables.16
4.7.6 Pathpatternmatching.17
4.7.7 Path modes.18
4.7.8 Selectivepathsearchprefixes.19
4.7.9 Matchmodes.19
5 Lexicalelements.20
5.1 .20
5.2 and.21
5.3 Namesandidentifiers.24
6 Scalarexpressions.26
6.1 .26
6.2 .28
6.3 .30
6.4 .32
©ISO/IEC2023–Allrightsreserved iii

ISO/IEC9075-16:2023(E)
6.5 .33
6.6 .35
6.7 .36
6.8 .37
6.9 .38
6.10 .39
7 Queryexpressions.40
7.1 .40
7.2 .50
8 Predicates.51
8.1 .51
8.2 .52
8.3 .53
8.4 .54
8.5 .56
8.6 .57
8.7 .58
8.8 .60
9 Additionalcommonrules.61
9.1 Potentialsourcesofnon-determinism.61
9.2 Contextualinferenceofasetoflabels.62
9.3 Expansionofan.65
9.4 Satisfactionofabyadefinedlabelset.67
9.5 Convertingatabularpropertygraphtoapurepropertygraph.69
9.6 Machineryforgraphpatternmatching.72
9.7 Evaluationofa.77
9.8 Evaluationofaselective.82
9.9 Applyingbindingstoevaluateanexpression.86
9.10 Applyingbindingstoevaluateasubexpressionofanaggregate.89
9.11 Applyingbindingstogeneratearow.91
9.12 Creationofanelementtabledescriptor.94
9.13 Creationofavertextabledescriptor.98
9.14 Creationofanedgetabledescriptor.99
9.15 Consistencycheckofatabularpropertygraphdescriptor.102
9.16 Derivingapurepropertygraphdescriptorfromatabularpropertygraphdescriptor.104
10 Additionalcommonelements.106
10.1 .106
10.2 .108
10.3 .109
10.4 .110
10.5 .116
10.6 .120
10.7 .129
10.8

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.

Loading comments...