PG-Triggers: Triggers for Property Graphs

07/14/2023
by   Alessia Gagliardi, et al.
0

Graph databases are emerging as the leading data management technology for storing large knowledge graphs; significant efforts are ongoing to produce new standards (such as the Graph Query Language, GQL), as well as enrich them with properties, types, schemas, and keys. In this article, we propose PG-Triggers, a complete proposal for adding triggers to Property Graphs, along the direction marked by the SQL3 Standard. We define the syntax and semantics of PG-Triggers and then illustrate how they can be implemented on top of Neo4j, one of the most popular graph databases. In particular, we introduce a syntax-directed translation from PG-Triggers into Neo4j, which makes use of the so-called APOC triggers; APOC is a community-contributed library for augmenting the Cypher query language supported by Neo4j. We also illustrate the use of PG-Triggers through a life science application inspired by the COVID-19 pandemic. The main result of this article is proposing reactive aspects within graph databases as first-class citizens, so as to turn them into an ideal infrastructure for supporting reactive knowledge management.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/25/2018

Killing Two Birds with One Stone -- Querying Property Graphs using SPARQL via GREMLINATOR

Knowledge graphs have become popular over the past decade and frequently...
research
06/22/2021

Querying in the Age of Graph Databases and Knowledge Graphs

Graphs have become the best way we know of representing knowledge. The c...
research
01/09/2018

A Stitch in Time Saves Nine -- SPARQL querying of Property Graphs using Gremlin Traversals

Knowledge graphs have become popular over the past decade and frequently...
research
04/03/2020

Recursive SPARQL for Graph Analytics

Work on knowledge graphs and graph-based data management often focus eit...
research
09/10/2020

GeoSPARQL+: Syntax, Semantics and System for Integrated Querying of Graph, Raster and Vector Data – Technical Report

We introduce an approach to semantically represent and query raster data...
research
02/10/2020

Optimization of Retrieval Algorithms on Large Scale Knowledge Graphs

Knowledge graphs have been shown to play an important role in recent kno...
research
09/11/2018

Integration of Relational and Graph Databases Functionally

A significant category of NoSQL approaches is known as graph da-tabases....

Please sign up or login with your details

Forgot password? Click here to reset