DBOCJun 18

DeQL: A Decision Query Language for Prescriptive Analytics over Relational Data

arXiv:2606.197518.3
Predicted impact top 44% in DB · last 90 daysOriginality Incremental advance
AI Analysis

This work provides a new query language for prescriptive analytics over relational data, targeting database users and decision-makers who need to optimize decisions within existing SQL ecosystems.

DeQL extends SQL to allow users to express decision queries that compute optimal courses of action from relational data, constraints, and objectives, enabling prescriptive analytics. The paper presents the language design, syntax, grammar, and execution model with examples across various decision types.

DeQL (Decision Query Language) extends SQL to express decision queries: given options drawn from relational data, constraints from policy, and a measurable objective, a DeQL query computes the best course of action. Two constructs carry the extension: CREATE CANDIDATES, which defines the space of options from relational sources, and DECIDE, which declares decision variables, named constraints, and an objective over them. The design follows SQL's principles: the user states what to optimize while the engine chooses how to solve it, every query consumes and produces relations, and the structure of a problem stays visible to the engine. This document specifies the language (its design principles, syntax, formal grammar, and execution model) with examples spanning subset selection, allocation, assignment, scheduling, and decisions at multiple levels of aggregation, and extensions for optimization under uncertainty, inline model scoring, and time- and quality-bounded solving. It is the first version of the specification; the language is under active development, and this version fixes the core constructs on which later revisions will build.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes