shapes-ISSUE-109 (function calling): SHACL requires that SPARQL implementations be able to call functions defined on the fly [SHACL Spec]

shapes-ISSUE-109 (function calling): SHACL requires that SPARQL implementations be able to call functions defined on the fly [SHACL Spec]

http://www.w3.org/2014/data-shapes/track/issues/109

Raised by: Peter Patel-Schneider
On product: SHACL Spec

The current SHACL spec requires that SPARQL code be able to call functions defined in the shapes graph.  This not only requires calling extension functions as in http://www.w3.org/TR/sparql11-query/#extensionFunctions but the ability to create these functions on the fly, i.e., for each validation, and back them with executables derived from the shapes graph.

I don't think that this is something that was envisioned for SPARQL extension functions.  Its implementation may turn out to be problematic.

An alternative would be to have a single SPARQL function that gives access to the SHACL functions, e.g., something like callSHACLFunction(name,arg,...).

Received on Wednesday, 4 November 2015 19:32:19 UTC