Predictive Query Language: A Domain-Specific Language for Predictive Modeling on Relational Databases
Not on the map. Why?
Abstract (arXiv)
The purpose of predictive modeling on relational data is to predict future or missing values in a relational database, for example, future purchases of a user, risk of readmission of the patient, or the likelihood that a financial transaction is fraudulent. Typically powered by machine learning methods, predictive models are used in recommendations, financial fraud detection, supply chain optimization, and other systems, providing billions of predictions every day. However, training a machine learning model requires manual work to extract the required training examples - prediction entities and target labels - from the database, which is slow, laborious, and prone to mistakes. Here, we present the Predictive Query Language (PQL), an SQL-inspired declarative language for defining predictive tasks on relational databases. PQL allows specifying a predictive task in a single declarative query, enabling the automatic computation of training labels for a large variety of machine learning tasks, such as regression, classification, time-series forecasting, and recommender systems. PQL is already successfully integrated and used in a collection of use cases as part of a predictive AI platform. The versatility of the language can be demonstrated through its many ongoing use cases, including financial fraud, item recommendations, and workload prediction. We demonstrate its versatile design through two implementations; one for small-scale, low-latency use and one that can handle large-scale databases.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 16 of its 39 references that are in the map. First posted on arXiv 10 Feb 2026.
Builds on
16 of 39 references.
References · 16
- 2017Inductive Representation Learning on Large Graphscited by 6,284
- 2020AutoGluon-Tabular: Robust and Accurate AutoML for Structured Datacited by 368
- 2025TabICL: A Tabular Foundation Model for In-Context Learning on Large Datacited by 267
- 2025PyG 2.0: Scalable Learning on Real World Graphscited by 49
- 2025RelGNN: Composite Message Passing for Relational Deep Learningcited by 45
- 2017One button machine for automating feature engineering in relational databasescited by 32
- 2024PyTorch Frame: A Modular Framework for Multi-Modal Tabular Learningcited by 32
- 2025Relational Transformer: Toward Zero-Shot Foundation Models for Relational Datacited by 32
- 2024Applied Causal Inference Powered by ML and AIcited by 30
- 2019Ludwig: a type-based declarative deep learning toolboxcited by 24
- 2019Overton: A Data System for Monitoring and Improving Machine-Learned Productscited by 21
- 2022End-to-end Optimization of Machine Learning Prediction Queriescited by 16
4 more
- 2016KeystoneML: Optimizing Pipelines for Large-Scale Advanced Analyticscited by 13
- 2019sql4ml A declarative end-to-end workflow for machine learningcited by 6
- 2018Helix: Accelerating Human-in-the-loop Machine Learningcited by 2
- 2024GenSQL: A Probabilistic Programming System for Querying Generative Models of Database Tablescited by 2
Built on by
Citing papers per year: 2026: 8.
8 papers.
- 2026KumoRFM-2: Scaling Foundation Models for Relational Learningcited by 15
- 2026OpenRFM: Dissecting Relational In-Context Learningcited by 4
- 2026Advancing Open and Reproducible Relational Learning: RelArena-α, TabPFN-Rel and RPIcited by 2
- 2026Universal Encoders for Modular Relational Deep Learningcited by 0
- 2026Incremental Evaluation and Training in Relational Deep Learningcited by 0
- 2026Relational Task Generation Language: A Declarative Specification Framework for Relational Deep Learningcited by 0
- 2026Support-Set Target Leakage in Relational Foundation Models during In-Context Learning: Model Dependence and Evaluation Reliabilitycited by 0
- 2026STEER: Reducing Inference Cost in Relational Foundation Models through Semantically Informed Samplingcited by 0
- 2026STEER: Reducing Inference Cost in Relational Foundation Models through Semantically Informed Sampling1 Oct 2026
- 2026Support-Set Target Leakage in Relational Foundation Models during In-Context Learning: Model Dependence and Evaluation Reliability29 Sep 2026
- 2026Relational Task Generation Language: A Declarative Specification Framework for Relational Deep Learning1 Sep 2026
- 2026Advancing Open and Reproducible Relational Learning: RelArena-α, TabPFN-Rel and RPI17 Aug 2026
- 2026Incremental Evaluation and Training in Relational Deep Learning13 Aug 2026
- 2026Universal Encoders for Modular Relational Deep Learning19 Jun 2026
- 2026OpenRFM: Dissecting Relational In-Context Learning3 Jun 2026
- 2026KumoRFM-2: Scaling Foundation Models for Relational Learning14 Apr 2026