GPC: A Pattern Calculus for Property Graphs

10/29/2022
by   Nadime Francis, et al.
0

The development of practical query languages for graph databases runs well ahead of the underlying theory. The ISO committee in charge of database query languages is currently developing a new standard called Graph Query Language (GQL) as well as an extension of the SQL Standard for querying property graphs represented by a relational schema, called SQL/PGQ. The main component of both is the pattern matching facility, which is shared by the two standards. In many aspects, it goes well beyond RPQs, CRPQs, and similar queries on which the research community has focused for years. Our main contribution is to distill the lengthy standard specification into a simple Graph Pattern Calculus (GPC) that reflects all the key pattern matching features of GQL and SQL/PGQ, and at the same time lends itself to rigorous theoretical investigation. We describe the syntax and semantics of GPC, along with the typing rules that ensure its expressions are well-defined, and state some basic properties of the language. With this paper we provide the community a tool to embark on a study of query languages that will soon be widely adopted by industry.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/12/2021

Graph Pattern Matching in GQL and SQL/PGQ

As graph databases become widespread, JTC1 – the committee in joint char...
research
02/27/2018

Formal Semantics of the Language Cypher

Cypher is a query language for property graphs. It was originally design...
research
05/21/2018

Algorithms and Analysis for the SPARQL Constructs

As Resource Description Framework (RDF) is becoming a popular data model...
research
02/21/2022

A Rule-based Operational Semantics of Graph Query Languages

We consider a core language of graph queries. These queries are seen as ...
research
03/14/2022

Relational Diagrams: a pattern-preserving diagrammatic representation of non-disjunctive Relational Queries

Analyzing relational languages by their logical expressiveness is well u...
research
09/11/2018

Integration of Relational and Graph Databases Functionally

A significant category of NoSQL approaches is known as graph da-tabases....
research
11/17/2021

Semantic Foundations of Seraph Continuous Graph Query Language

The scientific community has been studying graph data models for decades...

Please sign up or login with your details

Forgot password? Click here to reset