The KnowWhereGraph Ontology

Cogan Shimizu, Shirly Stephen, Adrita Barua, Ling Cai, Antrea Christou, Kitty Currier, Abhilekha Dalal, Colby K. Fisher, Pascal Hitzler, Krzysztof Janowicz, Wenwen Li, Zilong Liu, Mohammad Saeid Mahdavinejad, Gengchen Mai, Dean Rehberger, Mark Schildhauer, Meilin Shi, Sanaz Saki Norouzi, Yuanyuan Tian, Sizhe Wang, Zhangyu Wang, Joseph Zalewski, Lu Zhou, Rui Zhu · DOI

Introduction

The KnowWhereGraph (KWG) Ontology serves as the semantic foundation for one of the largest geospatial knowledge graphs in existence, currently housing over 28 billion triples. By merging modular ontology modeling with a hierarchical discrete global grid, researchers have developed a framework that integrates more than 30 diverse data layers—ranging from wildfire tracks to public health statistics—to facilitate rapid humanitarian and agricultural decision-making.

The Challenge of Geospatial Integration

Geospatial data integration is a significant technical hurdle. Reconciling satellite imagery of smoke plumes with administrative county boundaries, soil quality reports, and census data often involves navigating disparate formats, spatial scales (points vs. polygons), and inconsistent terminologies. Existing solutions typically oscillate between being overly complex and heavy (e.g., the Environment Ontology) or too shallow to support sophisticated reasoning (e.g., Google Data Commons). KWG addresses this by acting as a "geospatial informational backbone," linking disparate datasets through a unified spatial and conceptual framework.

Methodology: Modular Modeling and the S2 Grid

The authors employed a Modular Ontology Modeling (MOMo) approach, assembling the schema from small, reusable "Ontology Design Patterns" (ODPs) rather than a single rigid hierarchy.

The high-level structure of the KnowWhereGraph ontology, showing the integration of the KWG Core and the SOSA/SSN Kernel.

Key technical components include:

  • The KWG Core: A tripartite structure consisting of Hazards (e.g., hurricanes), Regions (e.g., ZIP codes), and S2Cells (the mathematical grid).
  • SOSA/SSN Kernel: An adaptation of the W3C "Sensor, Observation, Sample, and Actuator" standard to unify how different phenomena are measured, ensuring semantic compatibility across different data sources.
  • Discrete Global Grid (DGG): KWG utilizes the S2 Grid System to partition the Earth’s surface into hierarchical cells. This allows the graph to pre-compute spatial relationships, enabling complex "area briefings" to be generated in seconds.

Key Insights: Cells as Integrators

A central innovation of KWG is the use of the S2 grid to bypass expensive geometric "join" operations at query time. By mapping everything—from point-based weather stations to polygon-based counties—onto the grid, the cells become the common language for all spatial data. Furthermore, the ontology maintains an intentional separation between an observation, its target, and the property being observed. This allows the system to ingest data from multiple sources (e.g., two different wildfire databases) and harmonize them without losing source-specific nuances.

Real-World Impact and Results

The resulting knowledge graph contains over 28 billion triples, making it a major asset in the Linked Open Data ecosystem. The system is currently optimized to provide comprehensive area briefings for any region in the United States within seconds.

The KnowWhereGraph dashboard visualizing wildfire impacts on specific crops using the S2 grid system.

This operational speed has direct humanitarian applications. For instance, during the response to Hurricane Ida, KWG was used to identify where vulnerable populations (identified via the Social Vulnerability Index) overlapped with the hurricane's path and subsequent power outages, assisting organizations like Direct Relief in prioritizing aid distribution.

Limitations and Future Directions

While KWG excels at spatial and temporal reasoning, modeling causal relationships (the "why" behind events) remains a work in progress. Additionally, while the S2 grid is global, the richest thematic layers are currently concentrated in the United States. Future work will focus on expanding global data coverage, simplifying the representation of complex geometries, and enhancing interoperability with other external vocabularies on the Semantic Web.

Summary updated

BibTeX
@article{shimizu2025knowwheregraph,
  author = {Cogan Shimizu and Shirly Stephen and Adrita Barua and Ling Cai and Antrea Christou and Kitty Currier and Abhilekha Dalal and Colby K. Fisher and Pascal Hitzler and Krzysztof Janowicz and Wenwen Li and Zilong Liu and Mohammad Saeid Mahdavinejad and Gengchen Mai and Dean Rehberger and Mark Schildhauer and Meilin Shi and Sanaz Saki Norouzi and Yuanyuan Tian and Sizhe Wang and Zhangyu Wang and Joseph Zalewski and Lu Zhou and Rui Zhu},
  title = {{The KnowWhereGraph Ontology}},
  journal = {J. Web Semant.},
  year = {2025},
  doi = {10.1016/j.websem.2024.100842},
}
Figure