Figure 1: Query generation versus capability-mediated execution
Description
Two request flows contrast direct query generation with a capability-mediated path that checks business meaning, policy and the selected capability before execution. The comparison is about responsibility boundaries rather than a universal judgement on query-first systems.
Purpose
Show that query generation focuses on executable translation, while a governed path makes meaning, policy and capability decisions explicit.
Specification
Two side-by-side flows. Do not depict the query-first path as universally unsafe; annotate that it may be appropriate within a bounded, well-governed semantic environment. Emphasise the different responsibilities, not a simplistic “bad versus good” comparison.
Read in context
Why Natural Language to SQL Is Not the Finish Line
Query generation is useful. It cannot, by itself, approve a business definition.