Towards AI-assisted metadata generation for improved description of geospatial data

List of Authors

  1. Margherita Di Leo ,  
  2. Ilyas Tiouassiouine-Maes
    ,  
  3. Jordi Escriu ,  
  4. Hagar Lowenthal
    ,  
  5. Manlio Bacco ,  
  6. Marco Minghini
Article Authors & roles Authors Peer review record Peer review Metrics
Cite

Abstract

Metadata are fundamental components of spatial data infrastructures, enabling the discovery, evaluation, and reuse of datasets. Their creation and maintenance, typically performed manually, can be costly, time-consuming, and prone to inconsistencies. This work investigates the feasibility of using Generative AI (GenAI) to assist human operators working for data producers in creating structured dataset descriptions compliant with GeoDCAT-AP standards. We address the following research question: to what extent can layered prompt engineering strategies improve the quality of metadata descriptions generated through Large Language Models (LLMs), and how do individual prompt components-role definition, content rules, template structure, and few-shot examples-interact with model selection to affect structural compliance, semantic similarity, and factual reliability?

We propose a six-layer prompting framework and evaluate seven ablation strategies, each selectively disabling specific layers, using two LLMs (qwen3-32b and qwen3-coder-30b-a3b-instruct) and eight geospatial datasets. Generated descriptions are assessed using eight automated metrics spanning lexical quality, structural compliance, and semantic similarity, complemented by targeted expert evaluation of factual accuracy.

Results reveal a clear hierarchy of layer impact. The input template, used as the reference structure of the description, is the most influential component, driving both structural compliance and readability. Few-shot examples are the second most impactful layer, substantially reducing redundancy and improving semantic alignment. Content rules do not measurably improve surface-level output quality, but serve as critical safeguards, encouraging models to flag missing information rather than fabricate content. Expert role definition contributes the least measurable effect. Both LLMs produce semantically comparable outputs under full guidance but diverge without structural constraints. We recommend the full prompting configuration for production use and provide practical guidelines for balancing prompt complexity, output quality, and factual reliability in LLM-assisted metadata generation workflows.

Corresponding author
Margherita Di Leo
Grant information

Co-authors are member of staff at the Joint Research Centre of the European Commission.

The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

Copyright
© 2026 Margherita Di Leo (Corresponding Author, Co-Author); Ilyas Tiouassiouine-Maes (Co-Author); Jordi Escriu (Co-Author); Hagar Lowenthal (Co-Author); Manlio Bacco (Co-Author); Marco Minghini (Co-Author) Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 International License.

First version published
Latest version published

Comments

Authors & roles

Margherita Di Leo

Arcadia SIT, under contract with the European Commission, Joint Research Centre, Ispra, VA, 21027, Italy

Roles
Corresponding Author, Co-Author, Conceptualization, Data Curation, Formal Analysis, Investigation, Methodology, Software, Validation, Visualization, Writing – Original Draft Preparation

Ilyas Tiouassiouine-Maes

European Commission Joint Research Centre Ispra, Ispra, Lombardy, Italy

Roles
Co-Author, Conceptualization, Data Curation, Methodology, Writing – Original Draft Preparation

Jordi Escriu

European Commission Joint Research Centre Ispra, Ispra, Lombardy, Italy

Roles
Co-Author, Conceptualization, Writing – Original Draft Preparation

Hagar Lowenthal

European Commission Joint Research Centre Ispra, Ispra, Lombardy, Italy

Roles
Co-Author, Data Curation, Writing – Original Draft Preparation

Manlio Bacco

European Commission Joint Research Centre Ispra, Ispra, Lombardy, Italy

Roles
Co-Author, Conceptualization, Methodology, Writing – Original Draft Preparation

Marco Minghini

European Commission Joint Research Centre Ispra, Ispra, Lombardy, Italy

Roles
Co-Author, Conceptualization, Methodology, Writing – Original Draft Preparation

Downloads over the last 12 months:

Cited by

via Crossref

View citing articles