Open
Description
(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
- eg for https://www.w3.org/TR/shacl/#MaxExclusiveConstraintComponent that's
?maxExclusive
- but not all Constraint Components in the spec mention such parameters
- I'm sure there is a comprehensive file that defines all Constraint Components and their params?
- eg for https://www.w3.org/TR/shacl/#MaxExclusiveConstraintComponent that's
BTW, is it ok to use {$value}
in sh:message
, or should it be spelled as {?value}
?