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 and .spin. is only for SPIN things anyway.

Holger


On 26/08/2016 6:01, Jack Hodges wrote:
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 always put the SPARQL back into the SHACL constraint but would like to reuse this functionality across classes.

Jack
--
You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include the TopBraid Suite family of products and its base technologies such as SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to [email protected]
---
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Group "TopBraid 
Suite Users", the topics of which include the TopBraid Suite family of products and 
its base technologies such as SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to [email protected]
--- You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to