- From: Tomasz Pluskiewicz via GitHub <sysbot+gh@w3.org>
- Date: Fri, 14 Feb 2025 15:35:29 +0000
- To: public-shacl@w3.org
tpluscode has just created a new issue for https://github.com/w3c/data-shapes:
== Node Expression use case - NOT EXISTS ==
Not sure this is the right kind of issue as it addresses what appears to be a shortcoming of the current SHACL-AF draft when it comes to [`sh:exists`](https://w3c.github.io/shacl/shacl-af/#node-expressions-exists). Raising here, I'd like to ensure that it will be address in the new spec
Here's the example of `sh:exists` which is defined to be equivalent to the SPARQL which follows
```turtle
[
sh:exists [ sh:path ex:someProperty ]
] .
```
```sparql
{
BIND (EXISTS { $this ex:someProperty ?any } AS ?result)
}
```
From what I can tell, there is no possibility to declare a `NOT EXISTS` expression. If it is, then at least we can ensure that the spec is clearer in that regard.
I would also appreciate a solutions for the current way, if it is indeed possible.
PS
Should we have a label for Node Expressions?
Please view or discuss this issue at https://github.com/w3c/data-shapes/issues/250 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 14 February 2025 15:35:30 UTC