- From: Vladimir Alexiev via GitHub <noreply@w3.org>
- Date: Tue, 05 Aug 2025 16:19:49 +0000
- To: public-shacl@w3.org
VladimirAlexiev has just created a new issue for https://github.com/w3c/data-shapes: == explain `target-can-be-skipped` in #conventions or merge to `triples-can-be-skipped` == @HolgerKnublauch @ajnelson-nist (Slightly related to https://github.com/w3c/data-shapes/issues/465) https://raw.githack.com/w3c/data-shapes/master/shacl12-core/index.html#conventions defines a graying out called `triple-can-be-skipped` <img width="461" height="48" alt="Image" src="https://github.com/user-attachments/assets/8d0eae3f-7692-4c13-a686-654f3e0f5b98" /> However, that is not used in the spec. Instead, 36 examples use `target-can-be-skipped`, eg https://raw.githack.com/w3c/data-shapes/master/shacl12-core/index.html#example-shape-with-a-list-of-iris-as-sh-datatype-property-constraint : <img width="981" height="148" alt="Image" src="https://github.com/user-attachments/assets/f810791c-a7a9-485b-8ef9-c019d67b43aa" /> It is rendered prominently as a highlight; in this example the `sh:datatype ( xsd:string rdf:langString ) ;` should be rendered as a highlight. So it seems there's a confusion: - `triples-can-be-skipped` is defined to be used as a graying out - `target-can-be-skipped` is instead used, and is a highlighting instead of a graying out There's also some JS that adds a tooltip > Targets are not the only way to initiate validation, SHACL also allows specific nodes to be validated against specific shapes. I have to say I don't understand the tooltip, given that in this case the target **consists** of specific nodes: `sh:targetNode ex:Estonia, ex:GreatBritain`. Do you mean the SHACL **API** allows specific nodes to be validated, without any targeting triples in the shape graph? Please view or discuss this issue at https://github.com/w3c/data-shapes/issues/472 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 5 August 2025 16:19:50 UTC