1 of 9

A LLM-Driven GeoAI Pipeline for Sustainable Development Indicators:  Conversational Insights

SDL Internship Program Presentation

Liu Zhao

liu.zhao@utas.edu.au

Mentor: Dr. Devika Jain

Dr. Yongze Song

2 of 9

Outline

    • Background
    • Aim and Objective
    • Research Objectives
    • Methodology
    • Workflow Overview
    • Results
    • Future things can do

3 of 9

Sustainable Development Goal (SDG) indicators are used to measure global progress in economic, social, and environmental domains. However, due to the vast amount of data, diverse sources, and complex analysis required, efficiently extracting and utilizing these indicators remains a challenge.

In recent years, the advancement of Large Language Models (LLMs) and Geospatial Artificial Intelligence (GeoAI) has provided new possibilities for SDG indicator analysis. Traditional geospatial analysis relies on complex queries and specialized tools, creating a high entry barrier. LLMs, however, enable natural language interactions, lowering the difficulty of data access and analysis.

This study develops an LLM-driven GeoAI pipeline that allows users to obtain spatial analysis results for SDG indicators through conversational queries. The pipeline integrates PostGIS for geospatial data processing and LLMs for natural language query interpretation, enabling intelligent querying, dynamic visualization, and in-depth insights.

This system not only enhances the interpretability of SDG data but also improves policy-making, environmental monitoring, and socio-economic assessments. Through conversational interactions, users can explore and analyze SDG indicators without requiring specialized expertise, fostering more transparent and data-driven decision-making.

Background

https://databank.worldbank.org/source/sustainable-development-goals-(sdgs)

4 of 9

Develop an LLM-driven GeoAI pipeline that enables users to explore, analyze, and visualize Sustainable Development Goal (SDG) indicators through natural language interactions, making complex geospatial data more accessible and actionable.

  • Design a natural language query system that translates user inputs into geospatial database queries for SDG analysis.
  • Implement geospatial data processing using PostGIS to support spatial queries and generate location-based insights.
  • Enhance data interpretability by integrating dynamic visualizations and trend analysis powered by GeoAI techniques.
  • Improve accessibility and usability by enabling non-experts to explore and analyze SDG indicators through conversational AI.
  • Validate the pipeline’s effectiveness through case studies, ensuring accuracy, efficiency, and real-world applicability.

Aim and Objective

5 of 9

Methodology

GPT-4o

NL2SQL

Prompt Engineering

PostGIS

Respond

Leafmap

RAG

6 of 9

Workflow Overview

Prompt Engineering

User inputs a natural language query related to SDG indicators.

GPT-4o Processing

GPT-4o interprets the query and determines whether it requires:

A structured data query (processed through NL2SQL for PostGIS.

Retrieval-Augmented Generation (RAG) Module

GPT-4o generates a natural language response using the retrieved knowledge.

NL2SQL Query Generation

The SQL query is optimized to fetch relevant SDG indicators from a PostGIS database.

PostGIS Geospatial Processing

The generated SQL query is executed in PostGIS, retrieving spatially relevant SDG data.

Leafmap-Based Visualization

The retrieved geospatial data is passed to Leafmap, which generates interactive maps and visualizations.

7 of 9

Results

8 of 9

Results

Query Description

SQL Query

Basic

Query all data

SELECT * FROM "SDG"

Query basic country information

SELECT "name", "continent", "region", "geometry" FROM "SDG"

Medium

Query most populated countries

SELECT "name", "Population, total", "geometry" FROM "SDG" WHERE "Population, total" > 100000000 LIMIT 100

Query low fertility rate countries

SELECT "name", "Fertility rate, total (births per woman)", "geometry" FROM "SDG" WHERE "Fertility rate, total (births per woman)" < 2 LIMIT 100

Query countries with high forest coverage

SELECT "name", "Forest area (sq. km)", "geometry" FROM "SDG" WHERE "Forest area (sq. km)" > 1000000 LIMIT 100

Query countries with high net migration

SELECT "name", "Net migration", "geometry" FROM "SDG" WHERE "Net migration" > 100000 LIMIT 100

High

Which countries have high fertility rates but low life expectancy?

SELECT "name", "Fertility rate, total (births per woman)", "Life expectancy at birth, total (years)", "geometry" FROM "SDG" WHERE "Fertility rate, total (births per woman)" > 4 AND "Life expectancy at birth, total (years)" < 65 LIMIT 100

Which countries have high adolescent fertility rates and high child mortality?

SELECT "name", "Adolescent fertility rate (births per 1,000 women ages 15-19)", "Mortality rate, under-5 (per 1,000 live births)", "geometry" FROM "SDG" WHERE "Adolescent fertility rate (births per 1,000 women ages 15-19)" > 50 AND "Mortality rate, under-5 (per 1,000 live births)" > 60 LIMIT 100

Which countries have high net migration but low GDP?

SELECT "name", "Net migration", "GDP (current US$)", "geometry" FROM "SDG" WHERE "Net migration" > 100000 AND "GDP (current US$)" < 100000000000 LIMIT 100

9 of 9

    • Enhancing user interface and feedback mechanisms.
    • Comparing performance with open-source models to evaluate efficiency, accuracy, and scalability.
    • Integrating dialogue and query generation to create a seamless conversational data exploration experience.
    • Enhancing visualization capabilities with interactive charts, time-series analysis. (I just used 2020’s data in this project)

Future things can do