Won’t ‘description of data retrieval’ also be ‘a set of instructions to be executed’?
I consider SQL / AQL, or any language for data retrieval is code. Even a simple GET request with search params.
And of course, it’s not intended for the end user of an application to actually understand it. But there is always a human in the loop who has to understand / what this means - this is usually the developer of this application. These are the people usually using these tools to help build the queries faster. It’s never the end user or clinician constructing SQL or AQL..
So even if there is a tool that translates a user’s requirements to a machine readable state, why have the output of such tool not be fit for human consumption? The developer needs to look at this and agree on it’s correctness anyway. Why make it more complex than it needs to be?