Query Kumo Relational
PQL describes a predictive task over a relational schema. Every runnable Kumo Relational query identifies a target and the entity or entities to score.
Target × entity × horizon
- Target: The value or event to predict, such as a column or future aggregation.
- Entity: The table key for which Kumo Relational returns predictions.
- Horizon: The future interval used by a temporal target.
Complete examples
Current Kumo Relational constraints
These constraints describe the current sdm-pql validator, not every construct in the broader PQL grammar.
See Write Predictive Queries for clause and aggregation details, and Prediction Types for ranking and forecasting.
From query to prediction
Continue with the query-writing tutorial or choose a prediction type.