Figure 2

The setups

Same model, same questions. Each row adds one kind of context to the bare table definitions.

SetupWhat the agent was givenRight
Describes the data
Bare schemaTable and column names and types. Nothing else.31.8%
DocumentationWritten descriptions of every table and column, plus usage notes mined from the query log.43.9%
ProfilingColumn statistics, sample values and likely joins.34.6%
Semantic views40 hand-written semantic model files describing tables, joins and measures.38.3%
OntologyA business knowledge graph, queried in SPARQL.33.6%
Shows decisions as SQL
Past SQLThe five most relevant queries our analysts had run, served whole.70.1%
Ranked past SQLPast queries deduplicated and ranked by how many analysts ran them.75.7%
Metrics layerThe configuration we ship: metrics mined from the query log, each with checked SQL, plus trusted past SQL, a handful served per question.83.2%