Re: [topbraid-users] Converting SHACL constraints (sh:sparql) to SHACL templates

2016-08-25 Thread Holger Knublauch
Given that you are talking about SHACL templates, I assume you are on 5.1 (these have been renamed to ConstraintComponents in 5.2 and the SHACL spec). To use SHACL templates/constraint components, make sure that the graph is owl:imported. Declaring them in a .spin. file will not be sufficient

[topbraid-users] Converting SHACL constraints (sh:sparql) to SHACL templates

2016-08-25 Thread Jack Hodges
I want to convert some of my SHACL sh:sparql queries into SHACL templates. When I do, at least in one case, I am getting a 'has no registered function factory' error. This template is defined in a .spin.ttl file but its rdf:type is sh:ConstraintTemplate. Could this be causing the problem? I can