keepset

Open Graph Benchmark - MAG (Academic Graph)

Large heterogeneous graph of academic citations and collaborations from Microsoft Academic Graph. Contains 4 node types: papers, authors, institutions, and fields of study. 5 edge types: author-paper (writes), author-institution (affiliated-with), paper-venue (published-in), and topic edges. Used extensively for heterogeneous graph neural network benchmarking and node classification tasks.

npx keepset fetch ogbn-mag

Nodes
1,939,743
Edges
21,111,007
Size
411.8 MiB

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

Overview

Idogbn-mag
Categorygraph/v1
Kindgraph
DomainAcademic heterogeneous
LicenceODC-By-1.0
Cataloguekeepset 1.33.0

Sources and provenance

#URLStatusRetrievedRead by recipePinned snapshotSHA-256
0https://data.pyg.org/datasets/ogbn_mag.ziplive2026-03-26
1https://snap.stanford.edu/ogb/data/nodeproppred/mag.ziplive2026-10-21yes20261022042203raw2afe62ead87f

Citations

Recipe

Source#1
Archivezip
Filesmatching [^/]+/raw/(?:num-node-list|num-node-dict|edge|num-edge-list|triplet-type-list|relations/[^/]+/(?:edge|num-edge-list))\.csv\.gz
Inner archivegzip
Parser format"ogb"
Parser encoding"utf-8"

Crosswalk

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

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

Expected counts

Edges21,111,007
Nodes1,939,743

Properties

Components1
Connectedyes
Cyclicyes
Density0.00001121
Directedyes
Download bytes411.8 MiB
Edge types1
Heterogeneousyes
Multigraphno
Node types2
Raw bytes0 B
Self loopsno
Weightedno