-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Labels
SPARQLFor SHACL 1.2 SPARQL extensions specFor SHACL 1.2 SPARQL extensions spec
Description
(Apologies if this has been addressed)
SPARQL-based constraints can take a long time to evaluate if the query is complex and there are many targets. Usually, evaluating the query without pre-binding ?this
is much faster.
It would make things easier if SHACL allowed a sparql based constraint to interpret the binding for ?this
in each solution as the focus node for the validation result.
One way to achieve this would be to add a shape property, say, sh:allowSparqlQueryTargets (true|false)
, which would cause the engine to evaluate the query once without pre-binding ?this
, requiring that ?this be projected, and using ?this as the focus node for the validation result
Metadata
Metadata
Assignees
Labels
SPARQLFor SHACL 1.2 SPARQL extensions specFor SHACL 1.2 SPARQL extensions spec