arXiv cs.AI· Lucas Lageweg, Karen Goes, Tom van den Broek, Frank Pijpers, Paul Groth, Jan-Christoph Kalo·· 1 小时前AI 评分35
LOCuST:面向官方统计数据的 Text-to-SQL 基准发布
A Text-to-SQL Benchmark for Official Statistics
AI 导读
荷兰统计局相关研究团队推出 LOCuST,一个面向官方统计数据的 text-to-SQL 基准,将来自 Statistics Netherlands 的两千余张英文和荷兰语表格与语义知识图谱配对。
正文 · 原文
Abstract:Official statistics are critical datasets for a wide variety of actors, including policymakers and businesses. For providers of official statistics, improving accessibility, governance, and disclosure of their data is of key importance. This can be improved by providing question-answering systems based on text-to-SQL approaches. However, existing text-to-SQL benchmarks do not resemble this setting. Official statistics are published as open-domain catalogs of thousands of wide tables whose columns and values are codes, and whose meaning is recorded in separate metadata rather than in a relational schema. To address this gap, we introduce LOCuST, a text-to-SQL benchmark that pairs over two thousand English and Dutch tables from Statistics Netherlands with a semantic knowledge graph. The graph describes the tables, measures, and dimension codes through labels, definitions, hierarchies, and units, and is the external knowledge a system needs to find the right tables and ground a question in the right codes. The benchmark includes expert-annotated questions for different query and aggregation types, including raw value retrieval, summations, proportion calculations, and joins. Alongside standard evaluation measures, we introduce an observation F1 metric that measures how close a query is to the ground truth even when the answers are different. We evaluate a variety of state-of-the-art LLMs and find that they struggle to write SQL that answers the questions correctly.
| Subjects: | Artificial Intelligence (cs.AI); Information Retrieval (cs.IR) |
| Cite as: | arXiv:2611.32646 [cs.AI] |
| (or arXiv:2611.32646v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2611.32646 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Lucas Lageweg [view email]
[v1]
Tue, 24 Nov 2026 14:05:10 UTC (589 KB)
来源:arXiv cs.AI · arxiv.org