Common Foundations for Recursive Shape Languages

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Ahmetaj, Shqiponja, Boneva, Iovka, Hidders, Jan, Jakubowski, Maxime, Labra-Gayo, Jose-Emilio, Martens, Wim, Mogavero, Fabio, Murlak, Filip, Okulmus, Cem, Savković, Ognjen, Šimkus, Mantas, Tomaszuk, Dominik
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866917490136711168
author Ahmetaj, Shqiponja
Boneva, Iovka
Hidders, Jan
Jakubowski, Maxime
Labra-Gayo, Jose-Emilio
Martens, Wim
Mogavero, Fabio
Murlak, Filip
Okulmus, Cem
Savković, Ognjen
Šimkus, Mantas
Tomaszuk, Dominik
author_facet Ahmetaj, Shqiponja
Boneva, Iovka
Hidders, Jan
Jakubowski, Maxime
Labra-Gayo, Jose-Emilio
Martens, Wim
Mogavero, Fabio
Murlak, Filip
Okulmus, Cem
Savković, Ognjen
Šimkus, Mantas
Tomaszuk, Dominik
contents As schema languages for RDF data become more mature, we are seeing efforts to extend them with recursive semantics, applying diverse ideas from logic programming and description logics. While ShEx has an official recursive semantics based on greatest fixpoints (GFP), the discussion for SHACL is ongoing and seems to be converging towards least fixpoints (LFP). A practical study we perform shows that, indeed, ShEx validators implement GFP, whereas SHACL validators are more heterogeneous. This situation creates tension between ShEx and SHACL, as their semantic commitments appear to diverge, potentially undermining interoperability and predictability. We aim to clarify this design space by comparing the main semantic options in a principled yet accessible way, hoping to engage both theoreticians and practitioners, especially those involved in developing tools and standards. We present a unifying formal semantics that treats LFP, GFP, and supported model semantics (SMS), clarifying their relationships and highlighting a duality between LFP and GFP on stratified fragments. Next, we investigate to which extent the directions taken by SHACL and ShEx are compatible. We show that, although ShEx and SHACL seem to be going in different directions, they include large fragments with identical expressive power. Moreover, there is a strong correspondence between these fragments through the aforementioned principle of duality. Finally, we present a complete picture of the data and combined complexity of ShEx and SHACL validation under LFP, GFP, and SMS, showing that SMS comes at a higher computational cost under standard complexity-theoretic assumptions.
format Preprint
id arxiv_https___arxiv_org_abs_2604_20946
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Common Foundations for Recursive Shape Languages
Ahmetaj, Shqiponja
Boneva, Iovka
Hidders, Jan
Jakubowski, Maxime
Labra-Gayo, Jose-Emilio
Martens, Wim
Mogavero, Fabio
Murlak, Filip
Okulmus, Cem
Savković, Ognjen
Šimkus, Mantas
Tomaszuk, Dominik
Logic in Computer Science
Databases
As schema languages for RDF data become more mature, we are seeing efforts to extend them with recursive semantics, applying diverse ideas from logic programming and description logics. While ShEx has an official recursive semantics based on greatest fixpoints (GFP), the discussion for SHACL is ongoing and seems to be converging towards least fixpoints (LFP). A practical study we perform shows that, indeed, ShEx validators implement GFP, whereas SHACL validators are more heterogeneous. This situation creates tension between ShEx and SHACL, as their semantic commitments appear to diverge, potentially undermining interoperability and predictability. We aim to clarify this design space by comparing the main semantic options in a principled yet accessible way, hoping to engage both theoreticians and practitioners, especially those involved in developing tools and standards. We present a unifying formal semantics that treats LFP, GFP, and supported model semantics (SMS), clarifying their relationships and highlighting a duality between LFP and GFP on stratified fragments. Next, we investigate to which extent the directions taken by SHACL and ShEx are compatible. We show that, although ShEx and SHACL seem to be going in different directions, they include large fragments with identical expressive power. Moreover, there is a strong correspondence between these fragments through the aforementioned principle of duality. Finally, we present a complete picture of the data and combined complexity of ShEx and SHACL validation under LFP, GFP, and SMS, showing that SMS comes at a higher computational cost under standard complexity-theoretic assumptions.
title Common Foundations for Recursive Shape Languages
topic Logic in Computer Science
Databases
url https://arxiv.org/abs/2604.20946