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

Andreas Xenofontos, Pavlos Fafalios
5/11/2026
cs.CLcs.AI

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{xenofontos2026language,
  title  = {Can Language Models Analyze Data? Evaluating Large Language Models for Question Answering over Datasets},
  author = {Andreas Xenofontos and Pavlos Fafalios},
  year   = {2026},
  eprint = {2605.10419},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.10419v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.10419.svg)](https://codeofpaper.com/paper/2605.10419)

Discussion