Logo image
Validating Shacl Constraints over a Sparql Endpoint
Conference proceeding   Peer reviewed

Validating Shacl Constraints over a Sparql Endpoint

Julien Corman, F Florenzano, JL Reutter and Ognjen Savkovic
The Semantic Web - ISWC 2019: 18th International Semantic Web Conference, Auckland, New Zealand, October 26-30, 2019, Proceedings, Part I, Vol.11778, pp.145-163
Lecture Notes in Computer Science, 11778
International Semantic Web Conference (Auckland, 26/10/2019–30/10/2019)
2019
Handle:
https://hdl.handle.net/10863/53686

Abstract

Artificial intelligence Computers Semantic web Computer Science
shacl (Shapes Constraint Language) is a specification for describing and validating RDF graphs that has recently become a W3C recommendation. While the language is gaining traction in the industry, algorithms for shacl constraint validation are still at an early stage. A first challenge comes from the fact that RDF graphs are often exposed as sparql endpoints, and therefore only accessible via queries. Another difficulty is the absence of guidelines about the way recursive constraints should be handled. In this paper, we provide algorithms for validating a graph against a shacl schema, which can be executed over a sparql endpoint. We first investigate the possibility of validating a graph through a single query for non-recursive constraints. Then for the recursive case, since the problem has been shown to be NP-hard, we propose a strategy that consists in evaluating a small number of sparql queries over the endpoint, and using the answers to build a set of propositional formulas that are passed to a SAT solver. Finally, we show that the process can be optimized when dealing with recursive but tractable fragments of shacl, without the need for an external solver. We also present a proof-of-concept evaluation of this last approach.
url
https://doi.org/10.1007/978-3-030-30793-6_9View

Details

Metrics

1 Record Views
Logo image