Datasets:

Modalities:
Tabular
Formats:
parquet
ArXiv:
rishabh-ranjan commited on
Commit
cc90e96
·
verified ·
1 Parent(s): 46c6a73

Rebuild dbinfer from the original 4DBInfer archives

Browse files

Regenerated by provenance/dbinfer.py from https://data.dgl.ai/mtbench/20240304-<name>.tar (sha256-pinned), replacing the port derived from dbinfer-relbench-adapter's db.zip artifacts.

Fixes: foreign keys were 99.9-100% null (validated against the parent's column count); real primary keys were overwritten before that validation; foreign keys to non-materialized key domains were dropped; task entity ids used a task-local remapping unrelated to the database's; task time columns were cast from integers into 1970 timestamps; classification targets were relabelled by sorted-string order and task_type inferred from cardinality; undeclared label and full-history-aggregate columns were published.

Results computed against the previous revision are not comparable.

This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. README.md +89 -22
  2. STATS/databases.parquet +2 -2
  3. STATS/tasks.parquet +2 -2
  4. dbinfer-amazon/README.md +27 -3
  5. dbinfer-amazon/db/Customer.parquet +2 -2
  6. dbinfer-amazon/db/Product.parquet +2 -2
  7. dbinfer-amazon/db/Review.parquet +2 -2
  8. dbinfer-amazon/manifest.yaml +7 -7
  9. dbinfer-amazon/schema.svg +74 -82
  10. dbinfer-amazon/tasks/churn/manifest.yaml +2 -3
  11. dbinfer-amazon/tasks/churn/test.parquet +1 -1
  12. dbinfer-amazon/tasks/churn/train.parquet +2 -2
  13. dbinfer-amazon/tasks/churn/val.parquet +1 -1
  14. dbinfer-amazon/tasks/purchase/manifest.yaml +9 -6
  15. dbinfer-amazon/tasks/purchase/test.parquet +2 -2
  16. dbinfer-amazon/tasks/purchase/train.parquet +2 -2
  17. dbinfer-amazon/tasks/purchase/val.parquet +2 -2
  18. dbinfer-amazon/tasks/rating/manifest.yaml +7 -5
  19. dbinfer-amazon/tasks/rating/test.parquet +2 -2
  20. dbinfer-amazon/tasks/rating/train.parquet +2 -2
  21. dbinfer-amazon/tasks/rating/val.parquet +2 -2
  22. dbinfer-avs/README.md +11 -1
  23. dbinfer-avs/db/Brand.parquet +3 -0
  24. dbinfer-avs/db/Category.parquet +3 -0
  25. dbinfer-avs/db/Chain.parquet +3 -0
  26. dbinfer-avs/db/Company.parquet +3 -0
  27. dbinfer-avs/db/Customer.parquet +3 -0
  28. dbinfer-avs/db/History.parquet +2 -2
  29. dbinfer-avs/db/Offer.parquet +2 -2
  30. dbinfer-avs/db/Transaction.parquet +2 -2
  31. dbinfer-avs/manifest.yaml +39 -9
  32. dbinfer-avs/schema.svg +206 -122
  33. dbinfer-avs/tasks/repeater/manifest.yaml +2 -3
  34. dbinfer-avs/tasks/repeater/test.parquet +2 -2
  35. dbinfer-avs/tasks/repeater/train.parquet +2 -2
  36. dbinfer-avs/tasks/repeater/val.parquet +2 -2
  37. dbinfer-diginetica/README.md +25 -2
  38. dbinfer-diginetica/db/Click.parquet +2 -2
  39. dbinfer-diginetica/db/Orders.parquet +3 -0
  40. dbinfer-diginetica/db/Product.parquet +1 -1
  41. dbinfer-diginetica/db/ProductNameToken.parquet +2 -2
  42. dbinfer-diginetica/db/Purchase.parquet +2 -2
  43. dbinfer-diginetica/db/Query.parquet +2 -2
  44. dbinfer-diginetica/db/QueryResult.parquet +2 -2
  45. dbinfer-diginetica/db/QuerySearchstringToken.parquet +2 -2
  46. dbinfer-diginetica/db/Session.parquet +3 -0
  47. dbinfer-diginetica/db/Token.parquet +3 -0
  48. dbinfer-diginetica/db/User.parquet +3 -0
  49. dbinfer-diginetica/db/View.parquet +2 -2
  50. dbinfer-diginetica/manifest.yaml +48 -23
README.md CHANGED
@@ -3,6 +3,8 @@ tags:
3
  - relbench
4
  - relational-deep-learning
5
  pretty_name: RelBench dbinfer datasets
 
 
6
  configs:
7
  - config_name: databases
8
  data_files:
@@ -19,33 +21,51 @@ configs:
19
  This repository hosts the **dbinfer** family of relational datasets in the RelBench 3.0
20
  manifest format, one subdirectory per dataset. The datasets originate from the
21
  [4DBInfer benchmark](https://github.com/awslabs/multi-table-benchmark) (data version
22
- `20240304`) and are exposed to RelBench via the `dbinfer-relbench-adapter` package. Their
23
- labels are built externally and served as-is (every task has `kind: external`).
 
24
 
25
- Each subdirectory is a self-describing RelBench dataset (`manifest.yaml` + plain `db/*.parquet`
26
- + `tasks/<task>/`); open its `schema.svg` for a zoomable entity-relationship diagram.
 
27
 
28
  ## Datasets
29
 
30
- | dataset | domain | tasks |
31
- |---|---|---|
32
- | [`dbinfer-avs`](dbinfer-avs) | Acquire Valued Shoppers retail transactions | `repeater` |
33
- | [`dbinfer-diginetica`](dbinfer-diginetica) | E-commerce browsing/purchase sessions (CIKM Cup 2016) | `ctr`, `purchase` |
34
- | [`dbinfer-retailrocket`](dbinfer-retailrocket) | E-commerce visitor events | `cvr` |
35
- | [`dbinfer-seznam`](dbinfer-seznam) | Seznam.cz advertising account charges | `charge`, `prepay` |
36
- | [`dbinfer-amazon`](dbinfer-amazon) | Amazon product reviews | `rating`, `purchase`, `churn` |
37
- | [`dbinfer-stackexchange`](dbinfer-stackexchange) | StackExchange community Q&A | `churn`, `upvote` |
38
- | [`dbinfer-outbrain-small`](dbinfer-outbrain-small) | Outbrain content recommendation | `ctr` |
39
 
40
- (Only datasets actually present as subdirectories are available; see each subdirectory's card
41
- for details.)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
 
43
  ## Loading
44
 
45
  ```python
46
  import relbench
47
- ds = relbench.load_dataset("dbinfer-diginetica") # or any dataset above
48
- task = relbench.load_task("dbinfer-diginetica", "ctr")
49
  db = ds.get_db()
50
  train = task.get_table("train")
51
  ```
@@ -54,15 +74,62 @@ See the RelBench
54
  [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md)
55
  for the manifest layout.
56
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  ## Citation
58
 
59
  These datasets are from the 4DBInfer benchmark. If you use them, please cite:
60
 
61
  ```bibtex
62
- @article{dbinfer,
63
- title={4DBInfer: A 4D Benchmarking Toolbox for Graph-Centric Predictive Modeling on Relational DBs},
64
- author={Wang, Minjie and Gan, Quan and Wipf, David and Cai, Zhenkun and Li, Ning and Tang, Jianheng and Zhang, Yanlin and Zhang, Zizhao and Mao, Zunyao and Song, Yakun and Wang, Yanbo and Li, Jiahang and Zhang, Han and Yang, Guang and Qin, Xiao and Lei, Chuan and Zhang, Muhan and Zhang, Weinan and Faloutsos, Christos and Zhang, Zheng},
65
- journal={arXiv preprint arXiv:2404.18209},
66
- year={2024}
67
  }
68
  ```
 
3
  - relbench
4
  - relational-deep-learning
5
  pretty_name: RelBench dbinfer datasets
6
+ size_categories:
7
+ - 100M<n<1B
8
  configs:
9
  - config_name: databases
10
  data_files:
 
21
  This repository hosts the **dbinfer** family of relational datasets in the RelBench 3.0
22
  manifest format, one subdirectory per dataset. The datasets originate from the
23
  [4DBInfer benchmark](https://github.com/awslabs/multi-table-benchmark) (data version
24
+ `20240304`), built directly from the original archives that `dbinfer_bench` itself
25
+ downloads (`https://data.dgl.ai/mtbench/20240304-<name>.tar`). Labels are the source's own, served as-is
26
+ (every task has `kind: external`).
27
 
28
+ Each subdirectory is a self-describing RelBench dataset (`manifest.yaml` + plain
29
+ `db/*.parquet` + `tasks/<task>/`); open its `schema.svg` for a zoomable
30
+ entity-relationship diagram.
31
 
32
  ## Datasets
33
 
34
+ | dataset | domain | tables | tasks |
35
+ |---|---|---|---|
36
+ | [`dbinfer-amazon`](dbinfer-amazon) | E-commerce (reviews) | 3 | `churn`, `purchase`, `rating` |
37
+ | [`dbinfer-avs`](dbinfer-avs) | Retail (Acquire Valued Shoppers) | 8 | `repeater` |
38
+ | [`dbinfer-diginetica`](dbinfer-diginetica) | E-commerce (sessions) | 12 | `ctr`, `purchase` |
39
+ | [`dbinfer-outbrain-small`](dbinfer-outbrain-small) | Content recommendation | 9 | `ctr` |
40
+ | [`dbinfer-retailrocket`](dbinfer-retailrocket) | E-commerce (behaviour) | 7 | `cvr` |
41
+ | [`dbinfer-seznam`](dbinfer-seznam) | Digital advertising | 4 | `charge`, `prepay` |
42
+ | [`dbinfer-stackexchange`](dbinfer-stackexchange) | Online community (Q&A) | 9 | `churn`, `upvote` |
43
 
44
+ Table counts include the single-column key tables materialized for the foreign-key targets
45
+ that 4DBInfer declares without a payload of their own (`Item`, `Visitor`, `Customer`,
46
+ `Chain`, `Brand`, `Category`, `Company`, `Session`, `User`, `Orders`, `Token`); see each
47
+ dataset card.
48
+
49
+ > **`dbinfer-outbrain-small` has almost no referential integrity, in the source.** 4DBInfer
50
+ > subsampled its tables independently, so ~99.9% of its foreign keys -- and all but 58 of
51
+ > 69,543 distinct train entities of its `ctr` task -- point at rows that were not kept. The
52
+ > previous revision hid this behind all-null keys. There is no full-size `outbrain` archive
53
+ > upstream. Its card has the numbers.
54
+
55
+ Several tasks derive their label from a column that is also in the database
56
+ (`retailrocket/cvr` <- `View.added_to_cart`, `seznam/charge` <- `Dobito.sluzba`,
57
+ `seznam/prepay` <- `Probehnuto.sluzba`, `outbrain-small/ctr` <- `Click.clicked`,
58
+ `amazon/rating` <- `Review.rating`). Each such task declares `remove_columns`; the column is
59
+ kept in `db/` so the database stays faithful to 4DBInfer. RelBench's loader currently
60
+ honours `remove_columns` only for `kind: autocomplete` tasks, so drop it yourself for these
61
+ `external` ones. Test labels are outside `get_db(upto_test_timestamp=True)` regardless.
62
 
63
  ## Loading
64
 
65
  ```python
66
  import relbench
67
+ ds = relbench.load_dataset("relbench/dbinfer/dbinfer-diginetica")
68
+ task = relbench.load_task("relbench/dbinfer/dbinfer-diginetica", "ctr")
69
  db = ds.get_db()
70
  train = task.get_table("train")
71
  ```
 
74
  [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md)
75
  for the manifest layout.
76
 
77
+ ## Provenance and revision history
78
+
79
+ Generated by
80
+ [`provenance/dbinfer.py`](https://github.com/snap-stanford/relbench/blob/main/provenance/dbinfer.py),
81
+ which pins the sha256 of each source archive; verified by
82
+ [`provenance/check_dbinfer.py`](https://github.com/snap-stanford/relbench/blob/main/provenance/check_dbinfer.py).
83
+ Port decisions -- which columns are kept, how implicit key domains are materialized, how
84
+ keys are reindexed -- are documented in that file's module docstring, and each dataset card
85
+ lists the payload columns it drops.
86
+
87
+ **This collection was rebuilt from the original 4DBInfer archives.** The previous revision
88
+ was derived from pre-built `db.zip` artifacts produced by the upstream
89
+ `dbinfer-relbench-adapter` export pipeline, which corrupted the data in ways that were not
90
+ visible from the schema:
91
+
92
+ * **Every declared foreign key was 99.9-100% null.** The adapter validated foreign keys
93
+ against `len(parent_table)` where the parent was a `{column: array}` dict -- i.e.
94
+ against the parent's *column count* -- so all larger key values were set to `NaN`. None
95
+ of the seven databases could be joined.
96
+ * **Real primary keys were overwritten** with `np.arange(n)` before that validation, so the
97
+ key correspondence was already gone.
98
+ * **Foreign keys to non-materialized key domains were dropped**, amputating the schema
99
+ (`retailrocket/View` was left with no foreign keys at all).
100
+ * **Task entity ids were remapped through a task-local mapping** unrelated to the
101
+ database's, so label rows did not reference the database.
102
+ * **Task time columns were destroyed** (`1970-01-01 00:00:00.000000022`) by casting the
103
+ source's integer-valued columns with `astype('datetime64[ns]')`.
104
+ * **Classification targets were silently relabelled** by sorted-string order, and
105
+ `task_type` was inferred from target cardinality -- turning `amazon/rating`, a 4DBInfer
106
+ regression/RMSE task, into multiclass, and both retrieval tasks into multiclass.
107
+ * **Undeclared payload columns were published**, including `Posts.Score` (from which
108
+ `stackexchange/upvote`'s label is derived), `History.repeater` (`avs/repeater`'s label
109
+ itself), and full-history aggregates like `Users.Reputation/UpVotes/Views`.
110
+ * **`val_timestamp` / `test_timestamp` fell after the end of the data**, so
111
+ `get_db(upto_test_timestamp=True)` trimmed nothing and gave no temporal protection at all
112
+ (`dbinfer-retailrocket` claimed `2015-09-21` against a last event of `2015-09-18`;
113
+ `dbinfer-diginetica` claimed `2016-11-12`; `dbinfer-seznam` `2015-10-04` against
114
+ `2015-10-01`). They also did not bracket the source's own splits -- seznam's val labels
115
+ start at `2015-04-01` and its test labels at `2015-07-01`.
116
+
117
+ The current revision fixes all of the above: foreign keys resolve, primary keys are dense,
118
+ implicit key domains are materialized as tables, task entity columns index their entity
119
+ table, time columns are real timestamps, targets keep their source values, `task_type`
120
+ follows the source, and each task declares `remove_columns` for any database column its
121
+ label is derived from. **Results computed against the previous revision are not
122
+ comparable.**
123
+
124
  ## Citation
125
 
126
  These datasets are from the 4DBInfer benchmark. If you use them, please cite:
127
 
128
  ```bibtex
129
+ @inproceedings{wang2024fourdbinfer,
130
+ title = {{4DBInfer}: A {4D} Benchmarking Toolbox for Graph-Centric Predictive Modeling on Relational Databases},
131
+ author = {Wang, Minjie and Gan, Quan and Wipf, David and Cai, Zhenkun and Li, Ning and Tang, Jianheng and Zhang, Yanlin and Zhang, Zizhao and Mao, Zunyao and Song, Yakun and Wang, Yanbo and Li, Jiahang and Zhang, Han and Yang, Guang and Qin, Xiao and Lei, Chuan and Zhang, Muhan and Zhang, Weinan and Faloutsos, Christos and Zhang, Zheng},
132
+ booktitle = {Advances in Neural Information Processing Systems 37 (NeurIPS 2024) Datasets and Benchmarks Track},
133
+ year = {2024}
134
  }
135
  ```
STATS/databases.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7eebe80dd44a58a60e68375c9635235d19b85cbfde1612d6f5a4f898082e0aea
3
- size 10691
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14c962ef7d84bcb863052e68adbaae4c554442d162d5ddc65165d3c7113fca02
3
+ size 14300
STATS/tasks.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e6074513c9f778c2d49770c78c3de64df1989ad326677421c343d3a8fed6b981
3
- size 11901
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1860e13c5cd347fdaf977fdd87ff66cae92be52e12c3d0d92e884817238eb797
3
+ size 14961
dbinfer-amazon/README.md CHANGED
@@ -10,9 +10,33 @@ Amazon from the 4DBInfer benchmark: a large product-review dataset linking users
10
 
11
  | task | kind | type | description |
12
  |---|---|---|---|
13
- | `churn` | external | binary_classification | Predict whether a user churns (stops purchasing). |
14
- | `purchase` | external | multiclass_classification | Predict whether a user purchases a product. |
15
- | `rating` | external | multiclass_classification | Predict the star rating a user gives a product. |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
 
17
  ## Loading
18
 
 
10
 
11
  | task | kind | type | description |
12
  |---|---|---|---|
13
+ | `rating` | external | regression | Predict the star rating a customer gives a product (`product_id` names the product; 4DBInfer scores this as regression/RMSE). |
14
+ | `purchase` | external | link_prediction | Rank products a customer will purchase. 4DBInfer's MRR retrieval protocol: `train` holds positives only; `val`/`test` enumerate candidates with `label` and `query_idx`. Score with MRR over those candidates -- RelBench's default link metric (MAP) is a different protocol. |
15
+ | `churn` | external | binary_classification | Predict whether a customer churns (stops reviewing/purchasing). |
16
+
17
+ ## Port notes
18
+
19
+ Built from the original 4DBInfer archive (`https://data.dgl.ai/mtbench/20240304-amazon.tar`), keeping exactly the columns its `metadata.yaml` declares. Primary keys are reindexed to `0..n-1` and every foreign key -- in the database and in the task labels -- is remapped through the same mapping.
20
+
21
+ Undeclared payload columns dropped:
22
+
23
+ * `Customer`: `customer_name`
24
+
25
+ ### Label columns in the database
26
+
27
+ 4DBInfer derives some labels from a column that is itself part of the database, so a model reading that row can read its own label:
28
+
29
+ * `rating` -> `Review.rating`
30
+ * `purchase` -> `Review.product_id`
31
+
32
+ Each such task declares `remove_columns`, and the column is left in `db/` so the database stays faithful to the source. Note that RelBench's loader currently applies `remove_columns` only to `kind: autocomplete` tasks (`Dataset.get_db` calls `get_modified_db` only when `target_col` is set), so for these `external` tasks **drop the column yourself** before training. Because `get_db(upto_test_timestamp=True)` trims the database at `test_timestamp`, test labels are outside the visible database either way -- the exposure is on the train and val rows.
33
+
34
+ ### Known upstream defects
35
+
36
+ The three tasks are split at different points in time (`churn` from 2015-10-03,
37
+ `purchase` from 2015-12-29, `rating` from 2015-12-30). The dataset-level
38
+ `val_timestamp`/`test_timestamp` take the earliest of each, so trimming the database at a
39
+ cutoff is conservative for every task rather than exact for one.
40
 
41
  ## Loading
42
 
dbinfer-amazon/db/Customer.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2b0c351cedf1591c31f8dd902494a3510c0d3a676640c580e0abcfb2590c93b4
3
- size 27108420
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc2933612361bcaf9d6309fc5a52d270408f0a1590d3e4aa9e1dd23584dfd134
3
+ size 7955070
dbinfer-amazon/db/Product.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c0207519f78c0651f2ce7fe16159ddfee1520b006864f7379f8043a155344bc8
3
- size 205561338
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf1b894ef612e9b4ce4a0fbb7f32b394ba3487d401a9a7fb487ce0c100aa4276
3
+ size 205561342
dbinfer-amazon/db/Review.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2157a00380d90948a1d6517f3a6306d3937f5fb4562ec2c103db98fddb75c717
3
- size 5669621770
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:061db08142c1123130e2880503df1faba3f2184432c526d6e7996cc61882ebf2
3
+ size 5497783668
dbinfer-amazon/manifest.yaml CHANGED
@@ -1,20 +1,20 @@
1
  name: dbinfer-amazon
2
  manifest_version: 1
3
  description: 'Amazon from the 4DBInfer benchmark: a large product-review dataset linking users, products and reviews, used for rating prediction and user purchase/churn prediction.'
4
- val_timestamp: '2016-01-03 00:00:00'
5
- test_timestamp: '2016-01-04 00:00:00'
6
  tables:
7
  Customer:
8
  pkey: customer_id
9
  time_col: null
10
  fkeys: {}
 
 
 
 
11
  Review:
12
- pkey: __synthetic_pk__
13
  time_col: review_time
14
  fkeys:
15
  customer_id: Customer
16
  product_id: Product
17
- Product:
18
- pkey: product_id
19
- time_col: null
20
- fkeys: {}
 
1
  name: dbinfer-amazon
2
  manifest_version: 1
3
  description: 'Amazon from the 4DBInfer benchmark: a large product-review dataset linking users, products and reviews, used for rating prediction and user purchase/churn prediction.'
4
+ val_timestamp: '2015-10-03 00:00:00'
5
+ test_timestamp: '2015-12-30 00:00:00'
6
  tables:
7
  Customer:
8
  pkey: customer_id
9
  time_col: null
10
  fkeys: {}
11
+ Product:
12
+ pkey: product_id
13
+ time_col: null
14
+ fkeys: {}
15
  Review:
16
+ pkey: null
17
  time_col: review_time
18
  fkeys:
19
  customer_id: Customer
20
  product_id: Product
 
 
 
 
dbinfer-amazon/schema.svg CHANGED
dbinfer-amazon/tasks/churn/manifest.yaml CHANGED
@@ -1,10 +1,9 @@
1
  name: churn
2
  kind: external
3
  task_type: binary_classification
4
- description: Predict whether a user churns (stops purchasing).
5
  entity_table: Customer
6
- entity_col: timestamp
7
  target_col: churn
8
  time_col: timestamp
9
- timedelta: 1 days 00:00:00
10
  manifest_version: 1
 
1
  name: churn
2
  kind: external
3
  task_type: binary_classification
4
+ description: Predict whether a customer churns (stops reviewing/purchasing).
5
  entity_table: Customer
6
+ entity_col: customer_id
7
  target_col: churn
8
  time_col: timestamp
 
9
  manifest_version: 1
dbinfer-amazon/tasks/churn/test.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fba46135cff418414ea31a30b47235a161792ff53e2a045a1827b2f6be4ce880
3
  size 914941
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f7f4869d7c61553ad7742b631fa132242339b8aa82b5013a939b010b2d03d90
3
  size 914941
dbinfer-amazon/tasks/churn/train.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1c074b0892108123dfc7a2493e44793abee1096689e5b47b232a9e1b15367472
3
- size 2813393
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e286e9b25e89043ea5ec152a0a978b92343affe4823962159d053051382f2c3e
3
+ size 2813478
dbinfer-amazon/tasks/churn/val.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3d83ccf909264eb5fef9d54cad96f3e1f981dcea18389f7ccbc2a5ecdd68016f
3
  size 901837
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c7313a16ee2650746763104dc7ecc54f8be06ad50c57cccb2a8bde1b46ebe00a
3
  size 901837
dbinfer-amazon/tasks/purchase/manifest.yaml CHANGED
@@ -1,10 +1,13 @@
1
  name: purchase
2
  kind: external
3
- task_type: multiclass_classification
4
- description: Predict whether a user purchases a product.
5
- entity_table: Review
6
- entity_col: customer_id
7
- target_col: product_id
8
  time_col: prediction_timestamp
9
- timedelta: 1 days 00:00:00
 
 
 
 
 
 
10
  manifest_version: 1
 
1
  name: purchase
2
  kind: external
3
+ task_type: link_prediction
4
+ description: 'Rank products a customer will purchase. 4DBInfer''s MRR retrieval protocol: `train` holds positives only; `val`/`test` enumerate candidates with `label` and `query_idx`. Score with MRR over those candidates -- RelBench''s default link metric (MAP) is a different protocol.'
 
 
 
5
  time_col: prediction_timestamp
6
+ src_entity_table: Customer
7
+ src_entity_col: customer_id
8
+ dst_entity_table: Product
9
+ dst_entity_col: product_id
10
+ remove_columns:
11
+ - - Review
12
+ - product_id
13
  manifest_version: 1
dbinfer-amazon/tasks/purchase/test.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:18397b96fe7d26a62e2d7479773bf906acbe701cc1bb40fa89b8713103abbec1
3
- size 1410670
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f7a9af1315ec92890ae10024c8c4412c71d77958cd1973a4ea0e7aef2367c005
3
+ size 1421894
dbinfer-amazon/tasks/purchase/train.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d6aee988d2c6b9029a3efa82d9157f08ddb644c0b86383c47e340401390486b8
3
- size 663145
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e829f0516c4316eddd08872880ad1ca6444d799c0fbcc1887ba3738f6956668
3
+ size 708776
dbinfer-amazon/tasks/purchase/val.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bcf4fede317ba52095db4d29a0fe4be1b53e0e1018710c548718d7988705ca42
3
- size 765218
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c37af4304e645f79368b208dc2679ea2773215199960bc996a6083b4c860134f
3
+ size 771793
dbinfer-amazon/tasks/rating/manifest.yaml CHANGED
@@ -1,10 +1,12 @@
1
  name: rating
2
  kind: external
3
- task_type: multiclass_classification
4
- description: Predict the star rating a user gives a product.
5
- entity_table: Review
6
- entity_col: review_time
7
  target_col: rating
8
  time_col: review_time
9
- timedelta: 1 days 00:00:00
 
 
10
  manifest_version: 1
 
1
  name: rating
2
  kind: external
3
+ task_type: regression
4
+ description: Predict the star rating a customer gives a product (`product_id` names the product; 4DBInfer scores this as regression/RMSE).
5
+ entity_table: Customer
6
+ entity_col: customer_id
7
  target_col: rating
8
  time_col: review_time
9
+ remove_columns:
10
+ - - Review
11
+ - rating
12
  manifest_version: 1
dbinfer-amazon/tasks/rating/test.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:16a4f375bc1957eaca4e77b7f992e9eb719d46223d4154511c483901e3029d2a
3
- size 144638
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ced8f84cf4a72c859be9c19c36334525f3284e5727397cb26a4e02699017fdd0
3
+ size 144640
dbinfer-amazon/tasks/rating/train.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b9f831e1351c0a461fb967582d9e5cc841f1916661a22dc27a44f8d2e216909b
3
- size 738553
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0fe5df269383904de2659124fe76c1c5f9fda54ff18f1be6c08e4f42a747d9d4
3
+ size 738597
dbinfer-amazon/tasks/rating/val.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:521550b51bfac612497ed6f09349ef03546dc84d9a33db779ddfa5a1af0c5b1b
3
- size 84948
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa6347cf68fa17b405c6fe306c8623bb71a908c6d9344fc6b564e6d4f14bcd50
3
+ size 84956
dbinfer-avs/README.md CHANGED
@@ -10,7 +10,17 @@ Acquire Valued Shoppers (AVS) from the 4DBInfer benchmark: a retail dataset of c
10
 
11
  | task | kind | type | description |
12
  |---|---|---|---|
13
- | `repeater` | external | binary_classification | Predict whether a shopper becomes a repeat buyer of an offer. |
 
 
 
 
 
 
 
 
 
 
14
 
15
  ## Loading
16
 
 
10
 
11
  | task | kind | type | description |
12
  |---|---|---|---|
13
+ | `repeater` | external | binary_classification | Predict whether a shopper becomes a repeat buyer of an offer (`offer`, `chain`, `market`, `offerdate` describe the offer instance). Source labels `'t'`/`'f'` are encoded 1/0. |
14
+
15
+ ## Port notes
16
+
17
+ Built from the original 4DBInfer archive (`https://data.dgl.ai/mtbench/20240304-avs.tar`), keeping exactly the columns its `metadata.yaml` declares. Primary keys are reindexed to `0..n-1` and every foreign key -- in the database and in the task labels -- is remapped through the same mapping.
18
+
19
+ 4DBInfer links some foreign keys to key domains that have no payload table of their own; those are materialized here as single-column key tables: `Brand`, `Category`, `Chain`, `Company`, `Customer`.
20
+
21
+ Undeclared payload columns dropped:
22
+
23
+ * `History`: `repeattrips`, `repeater`
24
 
25
  ## Loading
26
 
dbinfer-avs/db/Brand.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b3996482f14935b37ed78ac4534cd39d5a8ed8cc4bf71d13f10ea465b620acf
3
+ size 213076
dbinfer-avs/db/Category.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4a283dfb5d829b18e6f2c533629438e85c258963068cbab5dabe00c4bfd8bdf
3
+ size 5581
dbinfer-avs/db/Chain.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e30458708d44b960b4b236847c71378038960ce03e99d2737184a2d75c8076b
3
+ size 1860
dbinfer-avs/db/Company.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f05c4d6ec1068976656ae37a8e51f78f3ffacb205df42abebbdb72c0886951f
3
+ size 195564
dbinfer-avs/db/Customer.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:827cd003d8b36e2b0fa617d76bcef1a7be4925562b81f591736800969d3f90a4
3
+ size 1519961
dbinfer-avs/db/History.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d863a3bb790e9f08fcfbf606467947d94ab69099534612a42fef5006b333ac5f
3
- size 2469250
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6af897bd74c66cdb0818ac32fb1437401f0d5b7c735862daf4fb2130bf39365
3
+ size 1302748
dbinfer-avs/db/Offer.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2f32501995256bba5b498008009213a4ce5fc0e39d540e0b51c141e33002a4ec
3
- size 4625
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ed6b3bb3cd44e19ce7af3e52c924c755f7b3eda3e3cbf28fef5c5cbe31cab87
3
+ size 4598
dbinfer-avs/db/Transaction.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f44db13a2e424027900a1229bb72068bdd101f5ab275f16673177d45d86f83e3
3
- size 5559598329
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:adbfa91855cf766d52667f3726ada3888d5b489c55e21383c182b8e5729d8b94
3
+ size 3284971241
dbinfer-avs/manifest.yaml CHANGED
@@ -1,19 +1,49 @@
1
  name: dbinfer-avs
2
  manifest_version: 1
3
  description: 'Acquire Valued Shoppers (AVS) from the 4DBInfer benchmark: a retail dataset of customer transaction histories and promotional offers, used to predict shopper behavior such as offer repeat purchases.'
4
- val_timestamp: '2013-07-30 00:00:00'
5
- test_timestamp: '2013-07-31 00:00:00'
6
  tables:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  History:
8
- pkey: __synthetic_pk__
9
  time_col: offerdate
10
  fkeys:
 
 
11
  offer: Offer
12
  Transaction:
13
- pkey: __synthetic_pk__
14
  time_col: date
15
- fkeys: {}
16
- Offer:
17
- pkey: offer
18
- time_col: null
19
- fkeys: {}
 
 
1
  name: dbinfer-avs
2
  manifest_version: 1
3
  description: 'Acquire Valued Shoppers (AVS) from the 4DBInfer benchmark: a retail dataset of customer transaction histories and promotional offers, used to predict shopper behavior such as offer repeat purchases.'
4
+ val_timestamp: '2013-04-24 00:00:00'
5
+ test_timestamp: '2013-04-30 00:00:00'
6
  tables:
7
+ Offer:
8
+ pkey: offer
9
+ time_col: null
10
+ fkeys:
11
+ brand: Brand
12
+ category: Category
13
+ company: Company
14
+ Brand:
15
+ pkey: id
16
+ time_col: null
17
+ fkeys: {}
18
+ Category:
19
+ pkey: id
20
+ time_col: null
21
+ fkeys: {}
22
+ Chain:
23
+ pkey: id
24
+ time_col: null
25
+ fkeys: {}
26
+ Company:
27
+ pkey: id
28
+ time_col: null
29
+ fkeys: {}
30
+ Customer:
31
+ pkey: id
32
+ time_col: null
33
+ fkeys: {}
34
  History:
35
+ pkey: null
36
  time_col: offerdate
37
  fkeys:
38
+ chain: Chain
39
+ id: Customer
40
  offer: Offer
41
  Transaction:
42
+ pkey: null
43
  time_col: date
44
+ fkeys:
45
+ brand: Brand
46
+ category: Category
47
+ chain: Chain
48
+ company: Company
49
+ id: Customer
dbinfer-avs/schema.svg CHANGED
dbinfer-avs/tasks/repeater/manifest.yaml CHANGED
@@ -1,10 +1,9 @@
1
  name: repeater
2
  kind: external
3
  task_type: binary_classification
4
- description: Predict whether a shopper becomes a repeat buyer of an offer.
5
- entity_table: History
6
  entity_col: id
7
  target_col: repeater
8
  time_col: timestamp
9
- timedelta: 1 days 00:00:00
10
  manifest_version: 1
 
1
  name: repeater
2
  kind: external
3
  task_type: binary_classification
4
+ description: Predict whether a shopper becomes a repeat buyer of an offer (`offer`, `chain`, `market`, `offerdate` describe the offer instance). Source labels `'t'`/`'f'` are encoded 1/0.
5
+ entity_table: Customer
6
  entity_col: id
7
  target_col: repeater
8
  time_col: timestamp
 
9
  manifest_version: 1
dbinfer-avs/tasks/repeater/test.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8c38a530eb578b583a9d8d4004c5539feb4ff26122860553fe41066f599e943c
3
- size 225527
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:117a0916ac7ec0edd8bb1660c9e68d0ebc5f79f80ba57b6e41e075e061409738
3
+ size 227993
dbinfer-avs/tasks/repeater/train.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:995a502ea9f2a215798e8839d1e488297e90782a12a65d1f7353aca66004b2f0
3
- size 931403
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5726602bece7b5a059fbda34d171c759c87967e7d26516228a8d9d9298df2f8
3
+ size 941649
dbinfer-avs/tasks/repeater/val.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8225e3dd5f9cfb48287df40d15afb72f9a361b9e8a3c61b935e4691072bb14fa
3
- size 204314
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19216bf35cc6da40a6d681cc19121ad38f0ad6ecdcff90b81162256cedf7f66a
3
+ size 206200
dbinfer-diginetica/README.md CHANGED
@@ -10,8 +10,31 @@ Diginetica from the 4DBInfer benchmark: an e-commerce dataset of user browsing a
10
 
11
  | task | kind | type | description |
12
  |---|---|---|---|
13
- | `ctr` | external | binary_classification | Predict whether a displayed item is clicked (click-through rate). |
14
- | `purchase` | external | multiclass_classification | Predict whether a viewed item is purchased. |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
 
16
  ## Loading
17
 
 
10
 
11
  | task | kind | type | description |
12
  |---|---|---|---|
13
+ | `ctr` | external | binary_classification | Predict whether a displayed item is clicked (click-through rate); `itemId` names the displayed item. |
14
+ | `purchase` | external | link_prediction | Rank items a session will purchase. 4DBInfer's MRR retrieval protocol: `train` holds positives only; `val`/`test` enumerate candidates with `label` and `query_idx`. Score with MRR over those candidates -- RelBench's default link metric (MAP) is a different protocol. |
15
+
16
+ ## Port notes
17
+
18
+ Built from the original 4DBInfer archive (`https://data.dgl.ai/mtbench/20240304-diginetica.tar`), keeping exactly the columns its `metadata.yaml` declares. Primary keys are reindexed to `0..n-1` and every foreign key -- in the database and in the task labels -- is remapped through the same mapping.
19
+
20
+ 4DBInfer links some foreign keys to key domains that have no payload table of their own; those are materialized here as single-column key tables: `Orders`, `Session`, `Token`, `User`.
21
+
22
+ ### Label columns in the database
23
+
24
+ 4DBInfer derives some labels from a column that is itself part of the database, so a model reading that row can read its own label:
25
+
26
+ * `purchase` -> `Purchase.itemId`
27
+
28
+ Each such task declares `remove_columns`, and the column is left in `db/` so the database stays faithful to the source. Note that RelBench's loader currently applies `remove_columns` only to `kind: autocomplete` tasks (`Dataset.get_db` calls `get_modified_db` only when `target_col` is set), so for these `external` tasks **drop the column yourself** before training. Because `get_db(upto_test_timestamp=True)` trims the database at `test_timestamp`, test labels are outside the visible database either way -- the exposure is on the train and val rows.
29
+
30
+ ### Known upstream defects
31
+
32
+ Two source-side quirks, both faithful to the archive:
33
+
34
+ * `QuerySearchstringToken.queryId` -> `Query`: 43,759 of 138,260 values (31.65%) name a
35
+ query that is not in `Query`, so they are null here.
36
+ * `Query.userId`, `View.userId`, `Purchase.userId` are 64%/70%/63% null in the source --
37
+ Diginetica sessions are mostly anonymous. That is the data, not a porting loss.
38
 
39
  ## Loading
40
 
dbinfer-diginetica/db/Click.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d71af23640c331e3d68d75aafe57db56e831938c130dff92b2a969f40fae1f9f
3
- size 13213627
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0191c4fece9a1a040b7530868f26ec0eec8405d6b8ea4bb8a1f8d7d82f9d2a2e
3
+ size 16083479
dbinfer-diginetica/db/Orders.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba01053b724416779a46c2220ae11bf0f7f305a6a319f8ea8e1786221a9c1149
3
+ size 78926
dbinfer-diginetica/db/Product.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:49cb9d5ed922ff9da2e0bab1b2dc26d4442efbb174b48c45438e07cb6c41002f
3
  size 1105589
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dfe3b14863402fac527f4693eb6c38026600fdbb7d523b9e435c8768d744e3ad
3
  size 1105589
dbinfer-diginetica/db/ProductNameToken.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e7e0440643583c710da6009876e5c6872462ed7014b0af23aef8acb707651b16
3
- size 7040478
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c34352cc65f3afef6a2291675f3891c6b3cc6ad31917ca244eec8976313ba871
3
+ size 4635441
dbinfer-diginetica/db/Purchase.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:65ddc59398f6c8af80c092a3fec3633ab4559a78ccd06a57f6a09f09c5d8f6a8
3
- size 464218
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba861387673acfcc8d5121277403ddceb1471df7009122c3145e407278b50a65
3
+ size 428150
dbinfer-diginetica/db/Query.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cf5f7e2b06e76f4e48f5998cd7b2ef2d32d4030a4617b4c5db035b66decb0412
3
- size 13367023
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:989eeec9ed1e8554a37d5825e7c99ad4ff73c0568bffceaa1ecca9c93c9e2778
3
+ size 13294414
dbinfer-diginetica/db/QueryResult.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f167bbabc93d9f0f4420f64a13f5b011bd7ac1e45c77fad5a227b2a1a9302c71
3
- size 401427337
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e0142e7f1f6e07ba4d973c0ea350d19682f23f9e94268afe15cb0d2251f4fec7
3
+ size 228555939
dbinfer-diginetica/db/QuerySearchstringToken.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2e593b640506608d2ab4194f688774f7e8c0e22090507f7449c5ba39ae0a1368
3
- size 1168161
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5b6677e00b35b4ce5104f4fd2d407b2de2974546e07c096beedc83fa5e53459
3
+ size 664675
dbinfer-diginetica/db/Session.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f97e071a5650ee16486c44c818d69f1158c34d3f76a98ca18d2481d114f170a
3
+ size 1757616
dbinfer-diginetica/db/Token.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b216550200e27ed51000a84701de5650d1e1fde67dc621dca38530e266f9ba4b
3
+ size 994344
dbinfer-diginetica/db/User.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:014c18f8b0109ddd34294b1066a6bc23c747532f81288d3febbc50a0f87c1acf
3
+ size 837770
dbinfer-diginetica/db/View.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:10c885cf4a116bcdf4667fdeadbb8129a87cd540899de3ce79751ecf1e606b18
3
- size 19543006
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e6548ece42a50a7bcd708a103e3c07a98254235b59d532f7505d1b9ea72221d5
3
+ size 17283867
dbinfer-diginetica/manifest.yaml CHANGED
@@ -1,46 +1,71 @@
1
  name: dbinfer-diginetica
2
  manifest_version: 1
3
  description: 'Diginetica from the 4DBInfer benchmark: an e-commerce dataset of user browsing and purchasing sessions over a product catalog (CIKM Cup 2016), used for click-through-rate and purchase prediction.'
4
- val_timestamp: '2016-11-11 00:00:00'
5
- test_timestamp: '2016-11-12 00:00:00'
6
  tables:
7
- Click:
8
- pkey: __synthetic_pk__
9
- time_col: timestamp
10
- fkeys:
11
- queryId: Query
12
- itemId: Product
13
- Purchase:
14
- pkey: __synthetic_pk__
15
  time_col: timestamp
16
  fkeys:
17
- itemId: Product
18
- QuerySearchstringToken:
19
- pkey: __synthetic_pk__
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  time_col: null
 
 
 
 
21
  fkeys:
22
  queryId: Query
 
23
  QueryResult:
24
- pkey: __synthetic_pk__
25
  time_col: timestamp
26
  fkeys:
27
  queryId: Query
28
  itemId: Product
29
  View:
30
- pkey: __synthetic_pk__
31
  time_col: timestamp
32
  fkeys:
 
 
33
  itemId: Product
 
 
 
 
 
 
 
 
34
  ProductNameToken:
35
- pkey: __synthetic_pk__
36
  time_col: null
37
  fkeys:
38
  itemId: Product
39
- Product:
40
- pkey: itemId
 
41
  time_col: null
42
- fkeys: {}
43
- Query:
44
- pkey: queryId
45
- time_col: timestamp
46
- fkeys: {}
 
1
  name: dbinfer-diginetica
2
  manifest_version: 1
3
  description: 'Diginetica from the 4DBInfer benchmark: an e-commerce dataset of user browsing and purchasing sessions over a product catalog (CIKM Cup 2016), used for click-through-rate and purchase prediction.'
4
+ val_timestamp: '2016-05-26 00:00:00'
5
+ test_timestamp: '2016-05-31 00:00:00'
6
  tables:
7
+ Product:
8
+ pkey: itemId
9
+ time_col: null
10
+ fkeys: {}
11
+ Query:
12
+ pkey: queryId
 
 
13
  time_col: timestamp
14
  fkeys:
15
+ sessionId: Session
16
+ userId: User
17
+ Orders:
18
+ pkey: id
19
+ time_col: null
20
+ fkeys: {}
21
+ Session:
22
+ pkey: id
23
+ time_col: null
24
+ fkeys: {}
25
+ Token:
26
+ pkey: id
27
+ time_col: null
28
+ fkeys: {}
29
+ User:
30
+ pkey: id
31
  time_col: null
32
+ fkeys: {}
33
+ Click:
34
+ pkey: null
35
+ time_col: timestamp
36
  fkeys:
37
  queryId: Query
38
+ itemId: Product
39
  QueryResult:
40
+ pkey: null
41
  time_col: timestamp
42
  fkeys:
43
  queryId: Query
44
  itemId: Product
45
  View:
46
+ pkey: null
47
  time_col: timestamp
48
  fkeys:
49
+ sessionId: Session
50
+ userId: User
51
  itemId: Product
52
+ Purchase:
53
+ pkey: null
54
+ time_col: timestamp
55
+ fkeys:
56
+ sessionId: Session
57
+ userId: User
58
+ itemId: Product
59
+ ordernumber: Orders
60
  ProductNameToken:
61
+ pkey: null
62
  time_col: null
63
  fkeys:
64
  itemId: Product
65
+ token: Token
66
+ QuerySearchstringToken:
67
+ pkey: null
68
  time_col: null
69
+ fkeys:
70
+ queryId: Query
71
+ token: Token