The Shapes Constraint Language (SHACL) is the W3C Recommendation for validating a single RDF graph. This makes SHACL inadequate for validating data across (named) graphs in an RDF dataset. Existing workarounds, such as graph unions or bespoke preprocessing, either collapse the RDF dataset structure or compromise the declarative nature of SHACL validation. In the former, we lose track of where triples come from; in the latter, knowledge is hidden in the code, and the constraints are not self-contained nor fully declarative. We present SHACL-DS to address this problem. SHACL-DS proposes a vocabulary and an algorithm on top of SHACL for RDF dataset validation. SHACL-DS introduces the concepts of Shapes Datasets, Target Graph Declarations, and Target Graph Combinations, enabling declarative constraints to operate across multiple graphs in an RDF dataset. SHACL-DS also defines the behaviour of SPARQL-based constraints for validating RDF datasets. In this paper, we formalize SHACL-DS and provide a prototype implementation.
sheval: An RDF data shapes evaluation tool and test-suite for recursive shapes
Birkbeck, University of London(伦敦大学伯贝克学院);University of Oviedo(奥维耶多大学);University of Bayreuth(拜罗伊特大学);University of Warsaw(华沙大学);Paderborn University(帕德博恩大学);Free University of Bolzano(博尔扎诺自由大学);University of Białystok(比亚韦斯托克大学)
TU Wien(维也纳工业大学);Univ. Lille(里尔大学);Birkbeck, University of London(伦敦大学伯贝克学院);University of Oviedo(奥维耶多大学);University of Bayreuth(拜罗伊特大学);Universita di Napoli Federico II(那不勒斯费德里科二世大学);University of Warsaw(华沙大学);Paderborn University(帕德博恩大学);Free University of Bolzano(波尔扎诺自由大学);University of Białystok(比亚韦斯托克大学)
TU Wien(维也纳技术大学);Univ. Lille(里尔大学);CNRS(法国国家科学研究中心);Inria(法国国家信息与自动化研究所);Centrale Lille(里尔中央理工学院);Birkbeck, University of London(伦敦大学伯贝克学院);University of Oviedo(奥维耶多大学);University of Bayreuth(拜罗伊特大学);Università di Napoli Federico II(那不勒斯费德里科二世大学);University of Warsaw(华沙大学);Paderborn University(帕德博恩大学);WU Wien(维也纳经济大学);CSH Vienna(维也纳计算机科学中心);Free University of Bolzano(波尔扎诺自由大学);University of Bialystok(比亚韦斯托克大学)
Transforming Shape Schemas with Composable Property-Graph Queries (Extended Version)
The Software Languages Team(软件语言团队);University of Koblenz(科伦茨大学);Institute for Artificial Intelligence(人工智能研究所);University of Stuttgart(斯图加特大学);University of Southampton(南安普顿大学)