SHACL Validation under Graph Updates (Extended Paper)

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Ahmetaj, Shqiponja, Konstantinidis, George, Ortiz, Magdalena, Pareti, Paolo, Simkus, Mantas
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866915421263757312
author Ahmetaj, Shqiponja
Konstantinidis, George
Ortiz, Magdalena
Pareti, Paolo
Simkus, Mantas
author_facet Ahmetaj, Shqiponja
Konstantinidis, George
Ortiz, Magdalena
Pareti, Paolo
Simkus, Mantas
contents SHACL (SHApe Constraint Language) is a W3C standardized constraint language for RDF graphs. In this paper, we study SHACL validation in RDF graphs under updates. We present a SHACL-based update language that can capture intuitive and realistic modifications on RDF graphs and study the problem of static validation under such updates. This problem asks to verify whether every graph that validates a SHACL specification will still do so after applying a given update sequence. More importantly, it provides a basis for further services for reasoning about evolving RDF graphs. Using a regression technique that embeds the update actions into SHACL constraints, we show that static validation under updates can be reduced to (un)satisfiability of constraints in (a minor extension of) SHACL. We analyze the computational complexity of the static validation problem for SHACL and some key fragments. Finally, we present a prototype implementation that performs static validation and other static analysis tasks on SHACL constraints and demonstrate its behavior through preliminary experiments.
format Preprint
id arxiv_https___arxiv_org_abs_2508_00137
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle SHACL Validation under Graph Updates (Extended Paper)
Ahmetaj, Shqiponja
Konstantinidis, George
Ortiz, Magdalena
Pareti, Paolo
Simkus, Mantas
Artificial Intelligence
SHACL (SHApe Constraint Language) is a W3C standardized constraint language for RDF graphs. In this paper, we study SHACL validation in RDF graphs under updates. We present a SHACL-based update language that can capture intuitive and realistic modifications on RDF graphs and study the problem of static validation under such updates. This problem asks to verify whether every graph that validates a SHACL specification will still do so after applying a given update sequence. More importantly, it provides a basis for further services for reasoning about evolving RDF graphs. Using a regression technique that embeds the update actions into SHACL constraints, we show that static validation under updates can be reduced to (un)satisfiability of constraints in (a minor extension of) SHACL. We analyze the computational complexity of the static validation problem for SHACL and some key fragments. Finally, we present a prototype implementation that performs static validation and other static analysis tasks on SHACL constraints and demonstrate its behavior through preliminary experiments.
title SHACL Validation under Graph Updates (Extended Paper)
topic Artificial Intelligence
url https://arxiv.org/abs/2508.00137