Querying RDF Databases with Sub-CONSTRUCTs

06/23/2021
by   Dominique Duval, et al.
0

Graph query languages feature mainly two kinds of queries when applied to a graph database: those inspired by relational databases which return tables such as SELECT queries and those which return graphs such as CONSTRUCT queries in SPARQL. The latter are object of study in the present paper. For this purpose, a core graph query language GrAL is defined with focus on CONSTRUCT queries. Queries in GrAL form the final step of a recursive process involving so-called GrAL patterns. By evaluating a query over a graph one gets a graph, while by evaluating a pattern over a graph one gets a set of matches which involves both a graph and a table. CONSTRUCT queries are based on CONSTRUCT patterns, and sub-CONSTRUCT patterns come for free from the recursive definition of patterns. The semantics of GrAL is based on RDF graphs with a slight modification which consists in accepting isolated nodes. Such an extension of RDF graphs eases the definition of the evaluation semantics, which is mainly captured by a unique operation called Merge. Besides, we define aggregations as part of GrAL expressions, which leads to an original local processing of aggregations.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/02/2020

All You Need Is CONSTRUCT

In SPARQL, the query forms SELECT and CONSTRUCT have been the subject of...
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
01/28/2021

Evaluating Complex Queries on Streaming Graphs

In this paper, we study the problem of evaluating persistent queries ove...
research
07/04/2017

Context-Free Path Querying by Matrix Multiplication

Graph data models are widely used in many areas, for example, bioinforma...
research
11/24/2021

Distributed Evaluation of Graph Queries using Recursive Relational Algebra

We present a system called Dist-μ-RA for the distributed evaluation of r...
research
10/16/2019

On foundational aspects of RDF and SPARQL

We consider the recommendations of the World Wide Web Consortium (W3C) a...
research
02/27/2018

Formal Semantics of the Language Cypher

Cypher is a query language for property graphs. It was originally design...

Please sign up or login with your details

Forgot password? Click here to reset