Skip to content

Include the validation of templates in the SHACL shapes #79

@chrdebru

Description

@chrdebru

I believe that checking the validity of templates should be included in the shapes. I'm not sure whether SPARQL's regular expressions allow for recursion, but it can be achieved by:

  • removing the unescaped curly braces from the template
  • checking whether the resulting string matches ^[^\{\}]*(?:\{[^\{\}]+\}[^\{\}]*)*$ (balanced and not nested)

This can be achieved for a SPARQL constraint component.

Metadata

Metadata

Assignees

Labels

shapesRelated with SHACL validation of RML-core mappings

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions