# Can Language Models Analyze Data? Evaluating Large Language Models for Question Answering over Datasets

Source: [Can Language Models Analyze Data? Evaluating Large Language Models for Question Answering over Datasets](<https://www.sota2.com/research/paper/6a02b47bdbc836b87d824c17>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2026-05-13T05:00:20.520Z

Authors: Andreas Xenofontos, Pavlos Fafalios

Published: 2026-05-11T11:54:47.000Z

## Abstract

This paper investigates the effectiveness of large language models (LLMs) in answering questions over datasets. We examine their performance in two scenarios: (a) directly answering questions given a dataset file as input, and (b) generating SQL queries to answer questions given the schema of a relational database. We also evaluate the impact of different prompting strategies on model performance. The study includes both state-of-the-art LLMs and smaller language models that require fewer resources and operate at lower computational and financial cost. Experiments are conducted on two datasets containing questions of varying difficulty. The results demonstrate the strong performance of large LLMs, while highlighting the limitations of smaller, more cost-efficient models. These findings contribute to a better understanding of how LLMs can be utilized in data analytics tasks and their associated limitations.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2605.10419>)

[PDF](<https://arxiv.org/pdf/2605.10419.pdf>)
