keepset

UMLS Knowledge Graph

Directed knowledge graph from the Unified Medical Language System semantic network. Nodes are biomedical concepts and edges are semantic relations (e.g. 'treats', 'diagnoses', 'prevents'). Multiple relation types can connect the same concept pair, making it a directed multigraph. 46 relation types serve as edge attributes.

npx keepset fetch kg-umls

Nodes
135
Edges
6,529
Size
34.8 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-umls
Categorygraph/v1
Kindgraph
DomainBiomedical knowledge graph
Tagsknowledge-graph
LicenceMIT
Cataloguekeepset 1.33.0

Sources and provenance

#URLStatusRetrievedRead by recipePinned snapshotSHA-256
0https://github.com/TimDettmers/ConvE/raw/master/umls.tar.gzlive2026-04-19yes

Citations

Recipe

Source#0
Archivetar.gz
Part traintrain.txt
Part validvalid.txt
Part testtest.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

Edges6,529
Nodes135

Properties

Directedyes
Download bytes34.8 KiB
Heterogeneousyes
Multigraphyes
Self loopsno
Weightedno