# KGTK: A Toolkit for Large Knowledge Graph Manipulation and Analysis

arXiv: https://arxiv.org/abs/2006.00088 · HTML: https://mlsanity.com/paper/2006.00088/

## Key facts

- Cited by 17 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 29 May 2020.

## Built on by (most cited first, 17 of 17)

- [A Study of the Quality of Wikidata](https://mlsanity.com/paper/2107.00156/) (2021)
- [CypherBench: Towards Precise Retrieval over Full-scale Modern Knowledge Graphs in the LLM Era](https://mlsanity.com/paper/2412.18702/) (2024)
- [Analyzing Race and Country of Citizenship Bias in Wikidata](https://mlsanity.com/paper/2108.05412/) (2021)
- [Extracting Mathematical Concepts from Text](https://mlsanity.com/paper/2208.13830/) (2022)
- [Machine-Assisted Script Curation](https://mlsanity.com/paper/2101.05400/) (2021)
- [KGxBoard: Explainable and Interactive Leaderboard for Evaluation of Knowledge Graph Completion Models](https://mlsanity.com/paper/2208.11024/) (2022)
- [Nipping in the Bud: Detection, Diffusion and Mitigation of Hate Speech on Social Media](https://mlsanity.com/paper/2201.00961/) (2022)
- [Enriching Wikidata with Linked Open Data](https://mlsanity.com/paper/2207.00143/) (2022)
- [Identifying and Consolidating Knowledge Engineering Requirements](https://mlsanity.com/paper/2306.15124/) (2023)
- [SR-KI: Scalable and Real-Time Knowledge Integration into LLMs via Supervised Attention](https://mlsanity.com/paper/2511.06446/) (2025)
- [User-friendly Comparison of Similarity Algorithms on Wikidata](https://mlsanity.com/paper/2108.05410/) (2021)
- [Creating and Querying Personalized Versions of Wikidata on a Laptop](https://mlsanity.com/paper/2108.07119/) (2021)
- [Creating Knowledge Graphs Subsets using Shape Expressions](https://mlsanity.com/paper/2110.11709/) (2021)
- [Knowledge-Powered Recommendation for an Improved Diet Water Footprint](https://mlsanity.com/paper/2403.17426/) (2024)
- [OntoMerger: An Ontology Integration Library for Deduplicating and Connecting Knowledge Graph Nodes](https://mlsanity.com/paper/2206.02238/) (2022)
- [Standardizing Knowledge Engineering Practices with a Reference Architecture](https://mlsanity.com/paper/2404.03624/) (2024)
- [Building a Japanese Document-Level Relation Extraction Dataset Assisted by Cross-Lingual Transfer](https://mlsanity.com/paper/2404.16506/) (2024)

## Abstract (arXiv)

Knowledge graphs (KGs) have become the preferred technology for representing, sharing and adding knowledge to modern AI applications. While KGs have become a mainstream technology, the RDF/SPARQL-centric toolset for operating with them at scale is heterogeneous, difficult to integrate and only covers a subset of the operations that are commonly needed in data science applications. In this paper we present KGTK, a data science-centric toolkit designed to represent, create, transform, enhance and analyze KGs. KGTK represents graphs in tables and leverages popular libraries developed for data science applications, enabling a wide audience of developers to easily construct knowledge graph pipelines for their applications. We illustrate the framework with real-world scenarios where we have used KGTK to integrate and manipulate large KGs, such as Wikidata, DBpedia and ConceptNet.
