Skip to content

allow interpolating vars in message for all constraintsย #204

Open
@VladimirAlexiev

Description

@VladimirAlexiev

(Related to #173, inspired by #158)
https://www.w3.org/TR/shacl/#x5.3.2-mapping-of-solution-bindings-to-result-properties specifies how {?vars} are interpolated into the message, but only for SPARQL constraints.

It would be useful to allow this for all shapes. Why should standard constraint components lack this feature?

What vars can be used in interpolation?

  • ?this
  • ?value
  • Constraint Component parameters as used in POTENTIAL DEFINITION IN SPARQL

BTW, is it ok to use {$value} in sh:message, or should it be spelled as {?value}?

Metadata

Metadata

Assignees

No one assigned

    Labels

    CoreFor SHACL 1.2 Core spec

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions