Support this or self pointer to current template definition.
See ottr/lutra/lutra-pro#87. The motivation for allowing template instances in the head of template definitions, is to have metadata templates that annotate the template with various provenience information; this is useful both for ease of writing and to enforce some completeness of the annotation. However, since the template definition resource must necessarily (at least as it is now) be an argument to such instances it would be convenient to avoid repeating the template IRI, but instead use a
this pointer of some kind, e.g.,
<asdf> a ottr:Template ; ottr:hasParameter [ ... ] ; ottr:hasHeadInstance [ ottr:templateRef <myAnnotationTemplate> ; ottr:withValues ( ottr:this "label" "def" 2000-01-01 ) ] .
PS. this feels very un-IRI-like: using an IRI, which is "externally defined", to represent a variable value.