Recursive SPARQL for Graph Analytics

04/03/2020
by   Aidan Hogan, et al.
0

Work on knowledge graphs and graph-based data management often focus either on declarative graph query languages or on frameworks for graph analytics, where there has been little work in trying to combine both approaches. However, many real-world tasks conceptually involve combinations of these approaches: a graph query can be used to select the appropriate data, which is then enriched with analytics, and then possibly filtered or combined again with other data by means of a query language. In this paper we propose a declarative language that is well suited to perform graph querying and analytical tasks. We do this by proposing a minimalistic extension of SPARQL to allow for expressing analytical tasks; in particular, we propose to extend SPARQL with recursive features, and provide a formal syntax and semantics for our language. We show that this language can express key analytical tasks on graphs (in fact, it is Turing complete), offering a more declarative alternative to existing frameworks and languages. We show how procedures in our language can be implemented over an off-the-shelf SPARQL engine with a specialised client that allows parallelisation and batch-based processing when memory is limited. Results show that with such an implementation, procedures for popular analytics currently run in seconds or minutes for selective sub-graphs (our target use-case) but struggle at larger scales.

READ FULL TEXT

page 1

page 2

page 3

page 4

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
06/12/2019

Kaskade: Graph Views for Efficient Graph Analytics

Graphs are an increasingly popular way to model real-world entities and ...
research
07/14/2023

PG-Triggers: Triggers for Property Graphs

Graph databases are emerging as the leading data management technology f...
research
07/18/2016

Towards Analytics Aware Ontology Based Access to Static and Streaming Data (Extended Version)

Real-time analytics that requires integration and aggregation of heterog...
research
11/17/2021

Semantic Foundations of Seraph Continuous Graph Query Language

The scientific community has been studying graph data models for decades...
research
02/27/2018

Formal Semantics of the Language Cypher

Cypher is a query language for property graphs. It was originally design...
research
03/11/2021

SOFOS: Demonstrating the Challenges of Materialized View Selection on Knowledge Graphs

Analytical queries over RDF data are becoming prominent as a result of t...

Please sign up or login with your details

Forgot password? Click here to reset