Skip to content

Include the validation of templates in the SHACL shapes #79

Open
@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

Labels

proposalissue has a proposal to be solvedshapes

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions