keepset

CoDEx-S Knowledge Graph

Small knowledge graph from the CoDEx (Comprehensive Distillation and Extraction) benchmark. Extracted from Wikidata and Wikipedia. Contains 42 relation types connecting entities, with 337 entity pairs having multiple relation types. Directed triples (head, relation, tail) format.

npx keepset fetch kg-codex-s

Nodes
2,034
Edges
32,888
Size
171.5 KiB

Fetch and preview this dataset on this page, or download the result as JSON. The command line fetches it without a browser.

Overview

Idkg-codex-s
Categorygraph/v1
Kindgraph
DomainEncyclopedic knowledge graph
Tagsknowledge-graph
LicenceMIT
Cataloguekeepset 1.33.0

Sources and provenance

#URLStatusRetrievedRead by recipePinned snapshotSHA-256
0https://github.com/tsafavi/codex/raw/master/data/triples/codex-s/train.txtlive2026-04-19yes

Citations

Recipe

Source#0
Archivenone
Parser format"kg-triples"
Parser encoding"utf-8"
Parser delimiter"tab"
Parser order"head-relation-tail"
Parser header"none"
Parser quotedfalse

Crosswalk

keepset/relations to graph/v1, as a crossmap crosswalk.

RuleFromToDirection
movemetametaboth
movenodes[].idnodes[].idboth
moveedges[].sourceedges[].sourceboth
moveedges[].targetedges[].targetboth
moveedges[].typeedges[].typeboth

Expected counts

Edges32,888
Nodes2,034

Properties

Directedyes
Download bytes171.5 KiB
Heterogeneousyes
Multigraphyes
Self loopsno
Weightedno