Dataset Viewer
The dataset viewer is not available for this dataset.
Unexpected token '<', "<html> <h"... is not valid JSON

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Small Knowledge Graphs (small-kgs)

A collection of small knowledge graphs in multiple formats for graph ML research and development.

Dataset Structure

This dataset contains knowledge graphs in three formats:

graph-std

Compressed Sparse Row (CSR) graph format with parquet files containing:

  • Node data (persons, organizations, events, concepts, places, knowledge graphs)
  • Edge indices and indirection pointers
  • Node/edge type mappings
  • Schema definition

duckdb

DuckDB database format for efficient analytical queries on graph data.

lbdb

LadybugDB format for graph database operations using the LadybugDB embedded graph database.

Usage

from datasets import load_dataset

# Load graph-std version
dataset = load_dataset("ladybugdb/small-kgs", name="graph-std")

# Load duckdb version  
dataset = load_dataset("ladybugdb/small-kgs", name="duckdb")

# Load lbdb version
dataset = load_dataset("ladybugdb/small-kgs", name="lbdb")

Contents

Version File Size
graph-std csr_graph_*.parquet ~200KB
duckdb kg_history.duckdb ~5MB
lbdb kg_history.lbdb ~8MB
Downloads last month
406