Narrative Cartography with Knowledge Graphs

Gengchen Mai, Weiming Huang, Ling Cai, Rui Zhu, Ni Lao

Abstract

Narrative cartography is a discipline which studies the interwoven nature of stories and maps. However, conventional geovisualization techniques of narratives often encounter several prominent challenges, including the data acquisition & integration challenge and the semantic challenge. To tackle these challenges, in this paper, we propose the idea of narrative cartography with knowledge graphs (KGs). Firstly, to tackle the data acquisition & integration challenge, we develop a set of KG-based GeoEnrichment toolboxes to allow users to search and retrieve relevant data from integrated cross-domain knowledge graphs for narrative mapping from within a GISystem. With the help of this tool, the retrieved data from KGs are directly materialized in a GIS format which is ready for spatial analysis and mapping. Two use cases — Magellan’s expedition and World War II — are presented to show the effectiveness of this approach. In the meantime, several limitations are identified from this approach, such as data incompleteness, semantic incompatibility, and the semantic challenge in geovisualization. For the later two limitations, we propose a modular ontology for narrative cartography, which formalizes both the map content (Map Content Module) and the geovisualization process (Cartography Module). We demonstrate that, by representing both the map content and the geovisualization process in KGs (an ontology), we can realize both data reusability and map reproducibility for narrative cartography.

Introduction

Narrative cartography explores the intimate link between stories—whether historical or fictional—and geographic space. Despite its potential for education and research, creating these maps is traditionally a manual, labor-intensive process. Two major "roadblocks" hinder the field:

  1. Data Acquisition & Integration: Relevant data is often scattered across disparate "data silos." Mapping a historical event requires manually scraping web sources, finding building footprints in GIS databases, and hunting for temporal records.
  2. The Semantic Challenge: This involves both the ambiguity of map content (e.g., distinguishing between "Washington" the state and the city) and the geovisualization process itself. Styling rules are often implicit or buried in code, making maps difficult to reproduce or reuse.

Methodology: Bridging GIS and Knowledge Graphs

To address these challenges, this research proposes a framework that leverages Knowledge Graphs (KGs) as a primary data source for GIS.

KG-based GeoEnrichment Toolboxes

A set of Python-based tools for ArcGIS Pro was developed to treat KGs like Wikidata as native data sources:

  • Linked Data Relationship Finder: Enables users to explore "N-degree" relationships. For instance, starting with "Ferdinand Magellan," a user can find related "Expeditions" and retrieve their "Start Points."
  • Linked Data Property Enrichment: Fetches specific attributes (e.g., start/end times, casualty counts) to populate GIS attribute tables directly.

Modular Narrative Cartography Ontology

To resolve semantic ambiguity, a two-part ontology was designed:

  • Map Content Module: Formalizes the "what" by defining events, objects, and their spatiotemporal extents.
  • Cartography Module: Formalizes the "how" by encoding portrayal rules (styling) as KG statements. By using SPARQL queries, the logic behind map symbols becomes machine-readable and shareable.

Case Studies and Results

The framework was tested using Wikidata and the Linked Open Data (LOD) Cloud on two complex historical narratives:

  1. Ferdinand Magellan’s Expedition: Mapping the trajectory and key stopover points of the 16th-century voyage.
  2. World War II: Mapping significant events and sub-events (like the Battle of Moscow) ordered by a temporal timeline.

Key Findings

  • Efficiency: Complex narrative maps that typically require days of data cleaning were generated in minutes.
  • Scalability: The relationship finder transitively retrieved 48 significant WWII events from Wikidata. Advanced SPARQL queries scaled this to over 2,000 sub-events, providing detail far beyond traditional interactive web maps.
  • Reproducibility: By linking visualization rules (e.g., specific symbols for US-involved battles) directly to the KG data, the research proved that the cartographic process can be standardized and reproduced.

Discussion: The Map as a Knowledge Base

This approach shifts the role of GIS from a simple producer of triples to a dynamic consumer of KG data. By formalizing portrayal rules in an ontology, the map ceases to be a static image and becomes a "knowledge base" where the reasoning behind every symbol is explicit. Furthermore, the ontology explicitly handles the "durative" nature of events, treating time and space as a unified spatiotemporal extent crucial for narrative flow.

Limitations and Future Work

While promising, several challenges remain:

  • Data Incompleteness: KGs are not exhaustive; for example, some historical events like the Jinan Incident were not properly linked to WWII in Wikidata.
  • Semantic Incompatibility: Conflicting data across different KGs requires more robust entity alignment strategies.
  • Multimedia and Fiction: Future work aims to incorporate multimedia (photos, audio) and explore the unique challenges of mapping fictional worlds where standard basemaps do not exist.

Summary updated

BibTeX
@article{mai2022narrative,
  author = {Gengchen Mai and Weiming Huang and Ling Cai and Rui Zhu and Ni Lao},
  title = {{Narrative Cartography with Knowledge Graphs}},
  journal = {Journal of Geovisualization and Spatial Analysis},
  year = {2022},
  doi = {10.1007/s41651-021-00097-4},
}
Figure