actions:RequestTemplate
A request template with potentially dynamic values resolved at execution time.
Not a subclass of svc:Request - templates are specifications, not executable requests.
Properties may reference literals or os:Function instances for dynamic resolution.
At execution time, SPARQL functions within the template are evaluated with ?_process bound to the current execution. Navigate to the invocation via ?_process os:parent ?invocation. The template is then materialized into a concrete svc:Request.
Functions execute in a SPARQL context where ?_process is bound to the current execution. Navigate to the invocation via ?_process os:parent ?invocation, then access subject via ?invocation act:subject ?s and payload via ?invocation act:payload ?p.
Properties
actions:requestObjectMap (required, min 1)
Maps a predicate-value pair to the request object. This is a repeatable property.
RequestTemplate must have at least one requestObjectMap to define request properties.
Each requestObjectMap defines how to set one property on the materialized request.
actions:requestType (required, max 1)
The type of request object to construct (e.g., http:Request, grpc:Request).
RequestTemplate must have exactly one requestType (e.g., http:Request).
This defines the rdf:type of the materialized request resource.