Lune

WWW2020顶会

Stable Model Semantics for Recursive SHACL

Medina Andresel, Julien Corman, Magdalena Ortiz, Juan L. Reutter, Ognjen Savkovic, Mantas Simkus

摘要

SHACL (SHape Constraint Language) is a W3C recommendation for validating graph-based data against a set of constraints (called shapes). Importantly, SHACL allows to define recursive shapes, i.e. a shape may refer to itself, directly of indirectly. The recommendation left open the semantics of recursive shapes, but proposals have emerged recently to extend the official semantics to support recursion. These proposals are based on the principle of possibility (or non-contradiction): a graph is considered valid against a schema if one can assign shapes to nodes in such a way that all constraints are satisfied. This semantics is not constructive, as it does not provide guidelines about how to obtain such an assignment, and it may lead to unfounded assignments, where the only reason to assign a shape to a node is that it allows validating the graph. In contrast, we propose in this paper a stricter, more constructive semantics for SHACL, based on stable models, which are well-known in Answer Set Programming (ASP). This semantics additionally requires a shape assignment to be properly justified by the input constraints. We further exploit the connection to logic programming, and show that SHACL constraints can be naturally represented as logic programs, and that the validation problem for a graph and a SHACL schema can be encoded as an ASP reasoning task. The proposed semantics also enjoys computationally tractable validation in the presence of constraints with stratified negation (as opposed to the previous semantics). We also extend our semantics to 3-valued stable models, which yields a more relaxed notion of validation, tolerant to certain faults in the schema or data. By exploiting a connection between 3-valued stable model semantics and the wellfounded semantics for logic programs, we can use our translation into ASP to show another tractability result. Finally, we provide a preliminary evaluation of the approach, which leverages an ASP solver to perform graph validation.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Magic Shapes for SHACL Validation 引用了 Trav-SHACL: Efficiently Validating Networks of SHACL Constraints
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. Trav-SHACL: Efficiently Validating Networks of SHACL ConstraintsMónica Figuera, Philipp D. Rohde, Maria-Esther VidalWWW 2021 · 39 次引用
  2. Common Foundations for SHACL, ShEx, and PG-SchemaShqiponja Ahmetaj, Iovka Boneva, Jan Hidders, Katja Hose 等WWW 2025 · 10 次引用
  3. Magic Shapes for SHACL ValidationShqiponja Ahmetaj, Bianca Löhnert, Magdalena Ortiz, Mantas SimkusVLDB 2022 · 7 次引用
  4. Stable Model Semantics for Description Logic TerminologiesFederica Di Stefano, Mantas SimkusAAAI 2024 · 5 次引用

相关 Paper

  1. From Shapes to Shapes: Inferring SHACL Shapes for Results of SPARQL CONSTRUCT QueriesPhilipp Seifer, Daniel Hernández, Ralf Lämmel, Steffen StaabWWW 2024 · 3 次引用
  2. Efficient Validation of SHACL Shapes with ReasoningJin Ke, Zenon G. Zacouris, Maribel AcostaVLDB 2024 · 9 次引用
  3. Transforming RDF Graphs to Property Graphs using Standardized SchemasKashif Rabbani, Matteo Lissandrini, Angela Bonifati, Katja HoseSIGMOD 2025 · 13 次引用
  4. Finite-Choice Logic ProgrammingChris Martens, Robert J. Simmons, Michael ArntzeniusPOPL 2025 · 3 次引用
  5. Structural Decompositions of Epistemic Logic ProgramsMarkus Hecher, Michael Morak, Stefan WoltranAAAI 2020 · 15 次引用
黄昏的海面,两侧是细线勾勒的悬崖