keepset

FB15k-237

Heterogeneous knowledge graph from Freebase with 237 relation types. A subset of FB15k created by removing inverse relations to prevent test leakage. Contains entities from multiple domains (people, locations, music, film) with directed relation edges. Standard benchmark for knowledge graph completion and link prediction.

npx keepset fetch fb15k-237

Nodes
14,541
Edges
310,116
Size
3.7 MiB

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

Overview

Idfb15k-237
Categorygraph/v1
Kindgraph
DomainKnowledge graph
Licencenot recorded by the source
Cataloguekeepset 1.33.0

Sources and provenance

#URLStatusRetrievedRead by recipePinned snapshotSHA-256
0https://web.informatik.uni-mannheim.de/pi1/kge-datasets/fb15k-237.tar.gzlive2026-03-03yes
1https://github.com/pykeen/pykeen#datasetslive2026-03-03
2https://www.microsoft.com/en-us/download/details.aspx?id=52312live2026-03-03

Citations

Recipe

Source#0
Archivetar.gz
Part trainfb15k-237/train.txt
Part validfb15k-237/valid.txt
Part testfb15k-237/test.txt
Parser format"kg-triples"
Parser encoding"utf-8"
Parser delimiter"tab"
Parser order"head-relation-tail"
Parser header"none"
Parser quotedfalse

Crosswalk

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

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

Expected counts

Edges310,116
Nodes14,541

Properties

Components6
Connectedno
Cyclicyes
Density0.004329
Directedyes
Download bytes3.7 MiB
Edge types237
Heterogeneousyes
Multigraphyes
Node types1
Raw bytes0 B
Self loopsyes
Weightedno