The setups
Same model, same questions. Each row adds one kind of context to the bare table definitions.
| Setup | What the agent was given | Right |
|---|---|---|
| Describes the data | ||
| Bare schema | Table and column names and types. Nothing else. | 31.8% |
| Documentation | Written descriptions of every table and column, plus usage notes mined from the query log. | 43.9% |
| Profiling | Column statistics, sample values and likely joins. | 34.6% |
| Semantic views | 40 hand-written semantic model files describing tables, joins and measures. | 38.3% |
| Ontology | A business knowledge graph, queried in SPARQL. | 33.6% |
| Shows decisions as SQL | ||
| Past SQL | The five most relevant queries our analysts had run, served whole. | 70.1% |
| Ranked past SQL | Past queries deduplicated and ranked by how many analysts ran them. | 75.7% |
| Metrics layer | The configuration we ship: metrics mined from the query log, each with checked SQL, plus trusted past SQL, a handful served per question. | 83.2% |