This paper presents an open source methodology for allowing users to query structured non textual datasets through natural language Unlike Retrieval Augmented Generation RAG which struggles with numerical and highly structured information our approach trains an LLM to generate executable queries To support this capability we introduce a principled pipeline for synthetic training data generation producing diverse question answer pairs that capture both user intent and the semantics of the underlying dataset We fine tune a compact model DeepSeek R1 Distill 8B using QLoRA with 4 bit quantization making the system suitable for deployment on commodity hardware We evaluate our approach on a dataset describing accessibility to essential services across Durangaldea Spain The fine tuned model achieves high accuracy across monolingual multilingual and unseen location scenarios demonstrating both robust generalization and reliable query generation Our results highlight that small domain specific models can achieve high precision for this task without relying on large proprietary LLMs making this methodology suitable for resource constrained environments and adaptable to broader multi dataset systems We evaluate our approach on a dataset describing accessibility to essential services across Durangaldea Spain The fine tuned model achieves high accuracy across monolingual multilingual and unseen location scenarios demonstrating both robust generalization and reliable query generation Our results highlight that small domain specific models can achieve high precision for this task without relying on large proprietary LLMs making this methodology suitable for resource constrained environments and adaptable to broader multi dataset systems.
Natural Language Interfaces for Tabular Data Querying and Visualization: A Survey
University of Toronto(多伦多大学);Xidian University(西安电子科技大学);International Digital Economy Academy (IDEA)(国际数字经济学院(IDEA));WeBank Co., Ltd.(微众银行股份有限公司);Hong Kong University of Science and Technology (HKUST)(香港科技大学);King Mongkut’s University of Technology Thonburi(泰国国王科技大学)
TableQuery: Querying tabular data with natural language
Saama(萨玛);Activeloop(活跃循环);Oregon State University(俄勒冈州立大学)
本文介绍了TableQuery,这是一种使用预训练的深度学习模型来查询表格数据的新工具,用于回答自由文本的问题。针对表格数据的问答的现有深度学习方法具有各种局限性,例如必须将整个表格作为输入馈送到神经网络模型中,这使得它们不适合大多数现实世界的应用。由于真实世界的数据可能包含数百万行,因此可能无法完全放入内存中。此外,数据可以存储在实时更新的实时数据库中,并且每次更新时将整个数据库串行化为神经网络友好格式是不切实际的。在TableQuery中,我们使用针对自由文本问答预先训练的深度学习模型,将自然语言查询转换为结构化查询,可以针对数据库或电子表格运行。这种方法消除了将整个数据装入内存以及序列化数据库的需要。此外,针对自由文本问答预训练的深度学习模型可以在HuggingFace Model Hub(7)等平台上轻松获得。TableQuery不需要重新训练;当新训练的问答模型具有更好的性能时,它可以替换TableQuery中的现有模型。
Text-to-OverpassQL: A Natural Language Interface for Complex Geodata Querying of OpenStreetMap
School of Informatics, University of Edinburgh(爱丁堡大学信息学院);Computational Linguistics, Heidelberg University(海德堡大学计算语言学系);IWR, Heidelberg University(海德堡大学应用科学计算研究所)
Talk2DM: Enabling Natural Language Querying and Commonsense Reasoning for Vehicle-Road-Cloud Integrated Dynamic Maps with Large Language Models
School of Resource and Environmental Sciences, Wuhan University(武汉大学资源与环境科学学院);School of Earth Sciences, Yunnan University(云南大学地球科学学院);College of Artificial Intelligence, Tianjin University of Science & Technology(天津科技大学人工智能学院);Department of Computer and Information Engineering, Khalifa University(卡利法大学计算机与信息工程系);NVIDIA;Institutes of Innovation for Future Society, Nagoya University(名古屋大学创新未来社会研究所)
TrustUQA: A Trustful Framework for Unified Structured Data Question Answering
Zhejiang University(浙江大学);University of Manchester(曼彻斯特大学);Ant Group(蚂蚁集团);ZJU-Ant Group Joint Lab of Knowledge Graph(浙江大学-蚂蚁集团知识图谱联合实验室);Zhejiang Key Laboratory of Big Data Intelligent Computing(浙江省大数据智能计算重点实验室)
Knowledge Graph Question Answering for Materials Science (KGQA4MAT): Developing Natural Language Interface for Metal-Organic Frameworks Knowledge Graph (MOF-KG) Using LLM
College of Computing and Informatics(计算与信息学院);Drexel University(德雷塞尔大学);University of Central Florida(中佛罗里达大学);Colorado School of Mines(科罗拉多矿业学院)
Sonar-TS: Search-Then-Verify Natural Language Querying for Time Series Databases
Jiangxi University of Finance and Economics(江西财经大学);Griffith University(格里菲斯大学);Yunnan University(云南大学);Microsoft Research Asia(微软亚洲研究院);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))
IfcLLM: Natural Language Querying of IFC Models through Complementary Relational and Graph Representations
GRID Lab, School of Built Environment, The University of New South Wales(建筑环境学院,新南威尔士大学GRID实验室);School of Civil and Environmental Engineering, The University of New South Wales(土木与环境工程学院,新南威尔士大学)
DBCopilot: Natural Language Querying over Massive Databases via Schema Routing
Institute of Software, CAS(中国科学院软件研究所);Hangzhou Institute for Advanced Study, UCAS(中国科学院大学杭州高等研究院);University of Chinese Academy of Sciences (UCAS)(中国科学院大学);Alibaba Cloud Intelligence Group(阿里巴巴云智能集团)
Adaptations of AI models for querying the LandMatrix database in natural language
INRAE(法国国家农业、食品与环境研究院);CIRAD(法国国际农业发展研究中心);TETIS(TETIS机构);Univ. Montpellier(蒙彼利埃大学);AgroParisTech(巴黎农业科技学院);CNRS(法国国家科学研究中心);International Land Coalition(国际土地联盟)
CityLLM: A framework for natural-language querying of semantic 3D city models
GRID Lab, School of Built Environment, UNSW Sydney(新南威尔士大学悉尼分校建筑环境学院GRID实验室);School of Civil and Environmental Engineering, UNSW Sydney(新南威尔士大学悉尼分校土木与环境工程学院)
研究针对语义 3D 城市模型访问查询难的问题,提出 CityLLM 框架,结合空间与图形数据库,在基于语言模型工作流中支持迭代查询等。通过多种模型在鹿特丹数据集上评估,多个场景 54 个查询显示其性能强大,为语义 3D 城市数据对话访问提供轻量级可扩展方法。
Benchmarking Hybrid Deep Research Across Database Querying and Web Search
University of Houston(休斯顿大学);University of California, Los Angeles(加州大学洛杉矶分校);The University of Hong Kong(香港大学);Seoul National University(首尔大学);Snowflake AI Research(Snowflake AI研究院)
Benchmarking Local LLMs for Natural-Language-to-SQL Querying in Biopharmaceutical Manufacturing: An Empirical Benchmark on Consumer-Grade Hardware
Department of Computer Science, University of the Cumberlands(大学的计算机科学系);Department of Computer Science, DePaul University(德保罗大学计算机科学系);Youngstown State University(亚当斯州立大学)