Semantics and Validation of Shapes Schemas for RDF - Archive ouverte HAL
Conference Papers Year : 2017

Semantics and Validation of Shapes Schemas for RDF

Abstract

We present a formal semantics and proof of soundness for shapes schemas, an expressive schema language for RDF graphs that is the foundation of Shape Expressions Language 2.0. It can be used to describe the vocabulary and the structure of an RDF graph, and to constrain the admissible properties and values for nodes in that graph. The language defines a typing mechanism called shapes against which nodes of the graph can be checked. It includes an algebraic grouping operator, a choice operator and cardinality constraints for the number of allowed occurrences of a property. Shapes can be combined using Boolean operators, and can use possibly recursive references to other shapes. We describe the syntax of the language and define its semantics. The semantics is proven to be well-defined for schemas that satisfy a reasonable syntactic restriction, namely stratified use of negation and recursion. We present two algorithms for the validation of an RDF graph against a shapes schema. The first algorithm is a direct implementation of the semantics , whereas the second is a non-trivial improvement. We also briefly give implementation guidelines.
Fichier principal
Vignette du fichier
paper-lncs.pdf (368.96 Ko) Télécharger le fichier
Origin Files produced by the author(s)
Loading...

Dates and versions

hal-01590350 , version 1 (19-09-2017)

Identifiers

  • HAL Id : hal-01590350 , version 1

Cite

Iovka Boneva, Jose G Labra Gayo, Eric G Prud 'Hommeaux. Semantics and Validation of Shapes Schemas for RDF. ISWC2017 - 16th International semantic web conference, Oct 2017, Vienna, Austria. ⟨hal-01590350⟩
463 View
258 Download

Share

More