[data-shapes] Provide constraints that are provided by a node expression (#357)

afs has just created a new issue for https://github.com/w3c/data-shapes:

== Provide constraints that are provided by a node expression ==
Taken from https://github.com/w3c/data-shapes/issues/221

Provide a constraint form that uses a node expression to determine whether a constraint is satisfied or not.

```
## Is this node a string that starts with "abc"?
[
   ex:path my:property ;
   sh:expression [ sh:sparqlExpr "strStarts($this, 'abc') ];
]
```
using a [SPARQL expression](https://w3c.github.io/data-shapes/shacl12-sparql/#SPARQLExprExpression)


Please view or discuss this issue at https://github.com/w3c/data-shapes/issues/357 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 10 April 2025 14:27:15 UTC