[data-shapes] SHACL Protocol (#608)

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

== SHACL Protocol ==
In SHACL 1.0 there is one operation. "validate" takes a shapes graph and a data graph and produces a validation report graph.

The shapes graph and the data graph may be both local in which case it is an API issue.

However, the data graph may be large enough that it is impractical to move the data. 

There is no standardized way to invoke validation, either by sending the shapes graph to a validation engine co-resident with the data, or requesting that validation apply a shapes graph identified by reference.

SHACL 1.2 adds operations that operate on both shapes and data such as:
  * #545
  * Where Targets (`sh:targetWhere`)
  * #587
  * #517
  * `sh:targetNode` with a node expression
  
The rules work has  the operation "apply rules", taking a rule set and apply it it to a data graph to produce an inference graph. The resulting inference graph may be applied to the data (at the site of the data) or returned to the caller.

These use case can involve a separation of shape and data - it is no longer a local API issue.


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


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

Received on Monday, 13 October 2025 13:02:17 UTC