Skip to main content

Overview

The Research Agent is an AI-powered interface that translates natural language questions into SQL queries against the GDELT database. Ask questions in plain English and receive structured data about global events, actors, and media coverage.

How It Works

1

Natural language input

Type your question in the chat interface using everyday language.
2

AI translation

The Research Agent uses advanced LLMs (gpt-5.2-mini) to understand your intent and translate it to optimized SQL.
3

Query execution

The generated SQL query runs against GDELT database with automatic query optimization.
4

Results presentation

Data is returned in a structured format with event details, actors, locations, and sentiment.

Example Questions

The Research Agent can answer a wide variety of questions about global events:

Event-Based Queries

What protests happened in France in the last week?

Actor-Based Queries

What has the US government done in the last 5 days?

Geographic Queries

What are the most significant events in sub-Saharan Africa?

Theme & Sentiment Analysis

What news themes mention climate change?

Features

Conversational Context

The Research Agent maintains conversation context, allowing follow-up questions:
You: What protests happened in France last week?Agent: Returns 47 protest events in France

Query Refinement

If your initial question is ambiguous, the Agent will ask clarifying questions:
You: Show me protests in the Middle EastAgent: Would you like to see protests from:
  • Today
  • This week
  • This month
  • Custom date range
You: What’s happening in China?Agent: I can show you:
  • All events where China is the actor
  • All events occurring in China
  • All events mentioning China in news coverage
Which would you prefer?

Data Visualization

Results can be displayed in multiple formats:

Table View

Structured data with sortable columns and filtering options

Timeline View

Events displayed chronologically with trend indicators

Map View

Geographic visualization of event locations

Export

Download results as CSV or JSON for further analysis

Understanding Results

Event Data Fields

When querying the Events table, results include:
FieldDescriptionExample
dayEvent date2025-01-15
actor1_namePrimary actor”United States”
actor2_nameSecondary actor”China”
event_codeCAMEO event type”14” (Protest)
goldstein_scaleConflict/cooperation (-10 to +10)-5.0
num_mentionsMedia coverage frequency247
avg_toneSentiment score-3.2
action_geo_country_codeEvent locationUSA

GKG Data Fields

When querying the GKG table, results include:
FieldDescriptionExample
dateArticle timestamp2025-01-15 14:30:00
source_common_nameNews source”BBC News”
v2_themesArticle themes”ECON_TRADE,LEADER”
v1_5_toneSentiment metrics”-2.5,65.2,3.1”
v2_personsNamed persons”Biden;Xi Jinping”
v2_organizationsNamed organizations”United Nations;NATO”

Goldstein Scale Interpretation

The Goldstein scale measures event cooperation/conflict intensity:
  • +10: Yield
  • +8.3: Agree
  • +7.0: Consult
  • +6.0: Approve
  • +5.0: Promise

Tips for Power Users

Use CAMEO codes

Reference specific event types: “Show event code 14 in France” (protests)

Combine with SQL

For complex analysis, export data and use the Query API directly

Track specific actors

Monitor named entities consistently across time

Compare time periods

Ask for data from different periods and compare trends