Adaptations of AI models for querying the LandMatrix database in natural language

Fatiha Ait Kbir, Jérémy Bourgoin, Rémy Decoupes, Marie Gradeler, Roberto Interdonato
12/17/2024
cs.CL

Official code: tetis-nlp/landmatrix-graphql-python (1 star, last commit 2025-02-03).

Abstract

The Land Matrix initiative (https://landmatrix.org) and its global observatory aim to provide reliable data on large-scale land acquisitions to inform debates and actions in sectors such as agriculture, extraction, or energy in low- and middle-income countries. Although these data are recognized in the academic world, they remain underutilized in public policy, mainly due to the complexity of access and exploitation, which requires technical expertise and a good understanding of the database schema. The objective of this work is to simplify access to data from different database systems. The methods proposed in this article are evaluated using data from the Land Matrix. This work presents various comparisons of Large Language Models (LLMs) as well as combinations of LLM adaptations (Prompt Engineering, RAG, Agents) to query different database systems (GraphQL and REST queries). The experiments are reproducible, and a demonstration is available online: https://github.com/tetis-nlp/landmatrix-graphql-python.

View on arXivView PDF

Code Implementations(1)

Text-to-Graphql / API REST for quering the Land Matrix database

10Python, Jupyter NotebookApr 5, 20241 years ago
llmtext-to-sql

Similar Papers

Cite this paper

@article{kbir2024adaptations,
  title  = {Adaptations of AI models for querying the LandMatrix database in natural language},
  author = {Fatiha Ait Kbir and Jérémy Bourgoin and Rémy Decoupes and Marie Gradeler and Roberto Interdonato},
  year   = {2024},
  eprint = {2412.12961},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.12961v1}
}

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/2412.12961.svg)](https://codeofpaper.com/paper/2412.12961)

Discussion