sdg:matchesEvent
sdg:matchesEvent selects which transactions trigger a hook. Its object is a blank-node pattern, mirroring how authorisation Rules scope their targets with sdg:onTargetPattern.
Pattern properties
sdg:txKind<kind>— match transactions of one kind; the dependent-doc-changed hook matches[ sdg:txKind sdg:publish ].sdg:anyTransaction"true"^^xsd:boolean— match every committed transaction; the demo log hook uses this wildcard.
Usage
- Domain:
sdg:HookDefinition. Range: a blank node carrying exactly one pattern property. - Evaluated against each committed transaction for
sdg:PostCommithooks.