When doing something like this: const query = new SparqlGenerator().generate(parsedQuery, { prefixes: this.options.prefixes });,
the resulting query string does not include these prefixes.
Once fixed, this hack can be removed from our web client: comunica/jQuery-Widget.js@eddc68f