- From: Martin via GitHub <noreply@w3.org>
- Date: Thu, 06 Nov 2025 12:05:24 +0000
- To: public-shacl@w3.org
MPvHarmelen has just created a new issue for https://github.com/w3c/data-shapes: == Missing `sh:resultMessage` in SPARQL tests == [The spec](https://www.w3.org/TR/shacl/#message) states (emphasis mine): > If a shape has at least one value for `sh:message` in the shapes graph, then **all** [validation results](https://www.w3.org/TR/shacl/#dfn-validation-results) produced as a result of the shape will have exactly these messages as their value of sh:resultMessage (...) (Note that in SHACL-SPARQL, [SPARQL-based constraints](https://www.w3.org/TR/shacl/#dfn-sparql-based-constraints) and [SPARQL-based constraint components](https://www.w3.org/TR/shacl/#sparql-constraint-components) provide additional means to declare such messages.) However, (at least) the following tests do not include the message in the expected report: - [sparql/node/sparql-001](https://github.com/w3c/data-shapes/blob/57ecb78e3c135eef0d307776c441bb2d0d56b629/data-shapes-test-suite/tests/sparql/node/sparql-001.ttl) - [sparql/node/sparql-002](https://github.com/w3c/data-shapes/blob/57ecb78e3c135eef0d307776c441bb2d0d56b629/data-shapes-test-suite/tests/sparql/node/sparql-002.ttl) - [sparql/node/sparql-003](https://github.com/w3c/data-shapes/blob/57ecb78e3c135eef0d307776c441bb2d0d56b629/data-shapes-test-suite/tests/sparql/node/sparql-003.ttl) - [sparql/property/sparql-001](https://github.com/w3c/data-shapes/blob/57ecb78e3c135eef0d307776c441bb2d0d56b629/data-shapes-test-suite/tests/sparql/property/sparql-001.ttl) For example, this is the expected validation result from [sparql/property/sparql-001](https://github.com/w3c/data-shapes/blob/gh-pages/data-shapes-test-suite/tests/sparql/property/sparql-001.ttl): https://github.com/w3c/data-shapes/blob/57ecb78e3c135eef0d307776c441bb2d0d56b629/data-shapes-test-suite/tests/sparql/property/sparql-001.ttl#L56-L65 https://github.com/w3c/data-shapes/issues/60 seems to be related, but may have been written at a time that the definition of `sh:message` was non-normative. Please view or discuss this issue at https://github.com/w3c/data-shapes/issues/641 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 6 November 2025 12:05:25 UTC