RelBench v2: A Large-Scale Benchmark and Repository for Relational Data
Paper • 2602.12606 • Published
src_id int64 0 2.65M | dst_id int64 0 2.65M ⌀ | event_ts timestamp[ns, tz=UTC]date 1970-01-01 00:00:00 2024-03-22 02:53:06 ⌀ |
|---|---|---|
0 | 1 | 2022-04-01T11:10:21 |
2 | 3 | 2022-04-01T11:10:21 |
4 | 5 | 2022-04-01T11:10:24 |
6 | 7 | 2022-04-01T11:10:24 |
8 | 9 | 2022-04-01T11:10:24 |
8 | 10 | 2022-04-01T11:10:24 |
11 | 12 | 2022-04-01T11:10:24 |
13 | 14 | 2022-04-01T11:10:24 |
15 | 16 | 2022-04-01T11:10:24 |
17 | 18 | 2022-04-01T11:10:37 |
19 | 20 | 2022-04-01T11:10:37 |
21 | 22 | 2022-04-01T11:10:37 |
23 | 24 | 2022-04-01T11:10:37 |
25 | 26 | 2022-04-01T11:10:37 |
27 | 28 | 2022-04-01T11:10:37 |
29 | 30 | 2022-04-01T11:10:37 |
31 | 32 | 2022-04-01T11:10:37 |
33 | 34 | 2022-04-01T11:10:37 |
35 | 27 | 2022-04-01T11:10:37 |
36 | 37 | 2022-04-01T11:10:37 |
38 | 39 | 2022-04-01T11:10:37 |
40 | 24 | 2022-04-01T11:10:37 |
41 | 42 | 2022-04-01T11:10:37 |
43 | 44 | 2022-04-01T11:10:37 |
45 | 46 | 2022-04-01T11:10:37 |
46 | 45 | 2022-04-01T11:10:37 |
47 | 48 | 2022-04-01T11:10:37 |
49 | 14 | 2022-04-01T11:10:37 |
50 | 51 | 2022-04-01T11:10:37 |
49 | 64 | 2022-04-01T11:10:58 |
52 | 53 | 2022-04-01T11:10:58 |
54 | 55 | 2022-04-01T11:10:58 |
56 | 57 | 2022-04-01T11:10:58 |
58 | 59 | 2022-04-01T11:10:58 |
60 | 61 | 2022-04-01T11:10:58 |
62 | 63 | 2022-04-01T11:10:58 |
65 | 66 | 2022-04-01T11:10:58 |
66 | 65 | 2022-04-01T11:10:58 |
66 | 67 | 2022-04-01T11:10:58 |
67 | 66 | 2022-04-01T11:10:58 |
67 | 68 | 2022-04-01T11:10:58 |
67 | 69 | 2022-04-01T11:10:58 |
69 | 70 | 2022-04-01T11:10:58 |
71 | 67 | 2022-04-01T11:10:58 |
17 | 18 | 2022-04-01T11:11:07 |
18 | 91 | 2022-04-01T11:11:07 |
27 | 87 | 2022-04-01T11:11:07 |
29 | 94 | 2022-04-01T11:11:07 |
29 | 97 | 2022-04-01T11:11:07 |
31 | 90 | 2022-04-01T11:11:07 |
31 | 95 | 2022-04-01T11:11:07 |
33 | 96 | 2022-04-01T11:11:07 |
46 | 72 | 2022-04-01T11:11:07 |
54 | 79 | 2022-04-01T11:11:07 |
70 | 91 | 2022-04-01T11:11:07 |
73 | 74 | 2022-04-01T11:11:07 |
75 | 76 | 2022-04-01T11:11:07 |
77 | 78 | 2022-04-01T11:11:07 |
78 | 105 | 2022-04-01T11:11:07 |
80 | 81 | 2022-04-01T11:11:07 |
82 | 83 | 2022-04-01T11:11:07 |
84 | 85 | 2022-04-01T11:11:07 |
85 | 49 | 2022-04-01T11:11:07 |
85 | 86 | 2022-04-01T11:11:07 |
86 | 85 | 2022-04-01T11:11:07 |
88 | 89 | 2022-04-01T11:11:07 |
91 | 111 | 2022-04-01T11:11:07 |
91 | 112 | 2022-04-01T11:11:07 |
91 | 112 | 2022-04-01T11:11:07 |
91 | 114 | 2022-04-01T11:11:07 |
92 | 93 | 2022-04-01T11:11:07 |
98 | 99 | 2022-04-01T11:11:07 |
100 | 37 | 2022-04-01T11:11:07 |
101 | 102 | 2022-04-01T11:11:07 |
103 | 104 | 2022-04-01T11:11:07 |
105 | 49 | 2022-04-01T11:11:07 |
106 | 107 | 2022-04-01T11:11:07 |
108 | 109 | 2022-04-01T11:11:07 |
110 | 91 | 2022-04-01T11:11:07 |
113 | 91 | 2022-04-01T11:11:07 |
49 | 14 | 2022-04-01T11:12:21 |
91 | 24 | 2022-04-01T11:12:21 |
91 | 112 | 2022-04-01T11:12:21 |
115 | 91 | 2022-04-01T11:12:21 |
116 | 117 | 2022-04-01T11:12:21 |
117 | 122 | 2022-04-01T11:12:21 |
118 | 117 | 2022-04-01T11:12:21 |
119 | 117 | 2022-04-01T11:12:21 |
120 | 121 | 2022-04-01T11:12:21 |
123 | 124 | 2022-04-01T11:12:21 |
24 | 127 | 2022-04-01T11:12:23 |
48 | 144 | 2022-04-01T11:12:23 |
70 | 139 | 2022-04-01T11:12:23 |
125 | 72 | 2022-04-01T11:12:23 |
126 | 24 | 2022-04-01T11:12:23 |
128 | 129 | 2022-04-01T11:12:23 |
129 | 128 | 2022-04-01T11:12:23 |
129 | 130 | 2022-04-01T11:12:23 |
129 | 131 | 2022-04-01T11:12:23 |
132 | 14 | 2022-04-01T11:12:23 |
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
license: cc-by-4.0 tags:
The Temporal Graph Benchmark (TGB) datasets in RelBench format. Labels, splits and official negative samples are TGB's, served as-is (kind: external, evaluator: tgb). Each dataset ships negatives/ and, for heterogeneous graphs, mappings/, which the TGB protocol needs.
| family | datasets | task |
|---|---|---|
tgbl-* link prediction |
tgbl-wiki, tgbl-wiki-v2, tgbl-review, tgbl-review-v2, tgbl-coin, tgbl-comment, tgbl-flight |
src-dst-mrr |
thgl-* heterogeneous link prediction |
thgl-software, thgl-forum, thgl-github, thgl-myket |
edge-type-<k>-mrr |
tgbn-* node property prediction |
tgbn-trade |
node-label-ndcg |
import relbench
ds = relbench.load_dataset("stanford-star/tgb/tgbl-wiki")
task = relbench.load_task("stanford-star/tgb/tgbl-wiki", "src-dst-mrr")
Cite the TGB papers (Huang et al., 2023 and the THGB extension; see https://tgb.complexdatalab.com/) and follow the license of each source dataset. For the RelBench-format port:
@inproceedings{relbenchv2,
title={RelBench v2: A Large-Scale Benchmark and Repository for Relational Data},
author={Gu, Justin and Ranjan, Rishabh and Kanatsoulis, Charilaos and Tang, Haiming and Jurkovic, Martin and Hudovernik, Valter and Znidar, Mark and Chaturvedi, Pranshu and Shroff, Parth and Li, Fengyu and Leskovec, Jure},
booktitle={3rd Workshop on Navigating and Addressing Data Problems for Foundation Models (DATA-FM) at ICLR 2026},
year={2026},
note={arXiv:2602.12606 [cs.LG]},
url={https://arxiv.org/abs/2602.12606}
}