SELECT"Name"FROMparksWHERE"Location"='Alaska'ORDERBY{{LLMMap(question='Size in km2?',context='parks::Area')}}DESCLIMIT1
By virtue of the ORDER BY clause, we assume that the output of the {{LLMMap} ingredient should be a numeric. BlendSQL constrains the generation of the language model, then, to the regular expression corresponding to a integer (or floating point) (((\d|\.)+|-);){n}, where n is the number of values in the Area column, and - represents a null value.
Automatic options Injection
SELECT"Location","Name"AS"Park Protecting Ash Flow"FROMparksWHERE"Name"={{LLMQA('Which park protects an ash flow?',(SELECT"Name","Description"FROMparks))}}
We can omit the options argument, and BlendSQL will automatically infer the options="parks::Name" argument.