Re: ISSUE-95: Template Simplifications

On 10/30/2015 4:04, Peter F. Patel-Schneider wrote:
> On 10/28/2015 10:29 PM, Holger Knublauch wrote:
>> On 10/29/2015 14:14, Peter F. Patel-Schneider wrote:
> [...]
>>> 9.5
>>>
>>> [Remove, as implementing this will require parsing and modifying SPARQL
>>> bodies.]
>> What modifications are required? I had explained how these are invoked in 7.6
> Well then I don't understand how 7.6 is supposed to work.
>
> It appears to me that somehow the body of the node validation function is
> going to have to be modified and injected into the generated SPARQL query, so
> that !{validationFunction} can be executed.

Take the node validation function sh:hasDatatype as an example. The call 
would become

     FILTER (!sh:hasDatatype(?object, $datatype)) .

i.e. no difficult SPARQL manipulation would be required.

Holger

Received on Thursday, 29 October 2015 22:50:39 UTC