uid
int64 0
3.67M
| timestamp
int64 -9,223,372,037
1.41B
⌀ | event_set
stringclasses 2
values | event
stringlengths 8
17
| other_uid
int64 0
3.65M
⌀ |
|---|---|---|---|---|
9
| 1,361,664,000
|
relational
|
co-review_product
| 7,479
|
359
| 1,377,043,200
|
relational
|
co-review_product
| 7,847
|
359
| 1,377,043,200
|
relational
|
co-review_product
| 37,019
|
359
| 1,377,043,200
|
relational
|
co-review_product
| 71,012
|
359
| 1,377,043,200
|
relational
|
co-review_product
| 120,556
|
359
| 1,377,043,200
|
relational
|
co-review_product
| 123,332
|
359
| 1,377,043,200
|
relational
|
co-review_product
| 142,805
|
359
| 1,377,907,200
|
relational
|
co-review_product
| 122,783
|
359
| 1,378,080,000
|
relational
|
co-review_product
| 97,095
|
359
| 1,378,339,200
|
relational
|
co-review_product
| 29,024
|
359
| 1,378,512,000
|
relational
|
co-review_product
| 14,001
|
359
| 1,380,412,800
|
relational
|
co-review_product
| 72,117
|
359
| 1,380,499,200
|
relational
|
co-review_product
| 185,072
|
359
| 1,380,844,800
|
relational
|
co-review_product
| 68,584
|
359
| 1,380,931,200
|
relational
|
co-review_product
| 117,302
|
359
| 1,381,017,600
|
relational
|
co-review_product
| 173,270
|
359
| 1,381,449,600
|
relational
|
co-review_product
| 81,638
|
359
| 1,381,536,000
|
relational
|
co-review_product
| 111,437
|
359
| 1,382,313,600
|
relational
|
co-review_product
| 28,639
|
359
| 1,383,004,800
|
relational
|
co-review_product
| 138,834
|
359
| 1,383,436,800
|
relational
|
co-review_product
| 18,622
|
359
| 1,384,041,600
|
relational
|
co-review_product
| 32,458
|
359
| 1,384,732,800
|
relational
|
co-review_product
| 158,201
|
359
| 1,384,819,200
|
relational
|
co-review_product
| 174,825
|
359
| 1,384,992,000
|
relational
|
co-review_product
| 157,160
|
359
| 1,384,992,000
|
relational
|
co-review_product
| 184,125
|
359
| 1,386,633,600
|
relational
|
co-review_product
| 174,821
|
359
| 1,386,806,400
|
relational
|
co-review_product
| 53,180
|
359
| 1,388,361,600
|
relational
|
co-review_product
| 81,078
|
359
| 1,388,361,600
|
relational
|
co-review_product
| 143,435
|
359
| 1,388,534,400
|
relational
|
co-review_product
| 130,879
|
359
| 1,388,880,000
|
relational
|
co-review_product
| 159,287
|
359
| 1,388,966,400
|
relational
|
co-review_product
| 100,401
|
359
| 1,395,446,400
|
relational
|
co-review_product
| 6,402
|
489
| 1,390,867,200
|
relational
|
co-review_product
| 28,639
|
489
| 1,390,867,200
|
relational
|
co-review_product
| 31,241
|
489
| 1,390,867,200
|
relational
|
co-review_product
| 31,942
|
489
| 1,390,867,200
|
relational
|
co-review_product
| 37,019
|
489
| 1,390,867,200
|
relational
|
co-review_product
| 49,568
|
489
| 1,390,867,200
|
relational
|
co-review_product
| 55,680
|
489
| 1,390,867,200
|
relational
|
co-review_product
| 68,584
|
489
| 1,390,867,200
|
relational
|
co-review_product
| 72,117
|
489
| 1,390,867,200
|
relational
|
co-review_product
| 81,638
|
489
| 1,390,867,200
|
relational
|
co-review_product
| 83,348
|
489
| 1,390,867,200
|
relational
|
co-review_product
| 87,804
|
489
| 1,390,867,200
|
relational
|
co-review_product
| 104,937
|
489
| 1,390,867,200
|
relational
|
co-review_product
| 110,145
|
489
| 1,390,867,200
|
relational
|
co-review_product
| 111,437
|
489
| 1,390,867,200
|
relational
|
co-review_product
| 122,783
|
489
| 1,390,867,200
|
relational
|
co-review_product
| 138,834
|
489
| 1,390,867,200
|
relational
|
co-review_product
| 139,863
|
489
| 1,390,867,200
|
relational
|
co-review_product
| 140,814
|
550
| 1,382,140,800
|
relational
|
co-review_product
| 2,786
|
550
| 1,382,140,800
|
relational
|
co-review_product
| 2,910
|
550
| 1,382,140,800
|
relational
|
co-review_product
| 77,948
|
550
| 1,382,140,800
|
relational
|
co-review_product
| 87,804
|
550
| 1,382,140,800
|
relational
|
co-review_product
| 104,603
|
550
| 1,382,140,800
|
relational
|
co-review_product
| 109,931
|
550
| 1,382,140,800
|
relational
|
co-review_product
| 117,960
|
550
| 1,382,140,800
|
relational
|
co-review_product
| 119,506
|
550
| 1,382,140,800
|
relational
|
co-review_product
| 143,062
|
550
| 1,382,140,800
|
relational
|
co-review_product
| 153,859
|
550
| 1,382,140,800
|
relational
|
co-review_product
| 154,737
|
550
| 1,383,868,800
|
relational
|
co-review_product
| 146,686
|
550
| 1,384,732,800
|
relational
|
co-review_product
| 143,288
|
550
| 1,385,337,600
|
relational
|
co-review_product
| 177,035
|
550
| 1,385,424,000
|
relational
|
co-review_product
| 84,507
|
772
| 1,218,672,000
|
relational
|
co-review_product
| 2,923
|
772
| 1,218,672,000
|
relational
|
co-review_product
| 13,824
|
772
| 1,218,672,000
|
relational
|
co-review_product
| 20,252
|
772
| 1,218,672,000
|
relational
|
co-review_product
| 130,776
|
909
| 1,375,056,000
|
relational
|
co-review_product
| 51,049
|
909
| 1,395,187,200
|
relational
|
co-review_product
| 31,942
|
909
| 1,395,187,200
|
relational
|
co-review_product
| 37,799
|
909
| 1,395,187,200
|
relational
|
co-review_product
| 68,584
|
909
| 1,395,187,200
|
relational
|
co-review_product
| 88,356
|
909
| 1,395,187,200
|
relational
|
co-review_product
| 96,677
|
909
| 1,395,187,200
|
relational
|
co-review_product
| 138,834
|
909
| 1,395,187,200
|
relational
|
co-review_product
| 156,641
|
909
| 1,395,187,200
|
relational
|
co-review_product
| 161,372
|
909
| 1,395,187,200
|
relational
|
co-review_product
| 167,236
|
909
| 1,395,705,600
|
relational
|
co-review_product
| 2,169
|
909
| 1,396,051,200
|
relational
|
co-review_product
| 82,295
|
909
| 1,396,051,200
|
relational
|
co-review_product
| 137,245
|
909
| 1,396,051,200
|
relational
|
co-review_product
| 160,519
|
909
| 1,396,051,200
|
relational
|
co-review_product
| 161,244
|
1,011
| 1,388,880,000
|
relational
|
co-review_product
| 111,159
|
1,011
| 1,388,880,000
|
relational
|
co-review_product
| 138,834
|
1,011
| 1,388,880,000
|
relational
|
co-review_product
| 154,737
|
1,011
| 1,388,966,400
|
relational
|
co-review_product
| 155,719
|
1,011
| 1,389,484,800
|
relational
|
co-review_product
| 19,750
|
1,011
| 1,389,484,800
|
relational
|
co-review_product
| 38,618
|
1,011
| 1,389,484,800
|
relational
|
co-review_product
| 88,356
|
1,011
| 1,389,484,800
|
relational
|
co-review_product
| 99,832
|
1,368
| 1,317,686,400
|
relational
|
co-review_product
| 19,182
|
1,368
| 1,343,952,000
|
relational
|
co-review_product
| 185,725
|
1,422
| 1,369,094,400
|
relational
|
co-review_product
| 29,026
|
1,438
| 1,387,411,200
|
relational
|
co-review_product
| 42,091
|
1,438
| 1,387,411,200
|
relational
|
co-review_product
| 111,437
|
1,438
| 1,387,411,200
|
relational
|
co-review_product
| 113,473
|
Personal and Relational Event Sequence Datasets
This dataset collection supports research on modeling personal and relational event sequences, as referred in our LoG 2025 paper: Integrating Sequential and Relational Modeling for User Events: Datasets and Prediction Tasks.
It is organized into two main folders: processed/ and tasks/.
Folder Structure
processed/amazon-clothing_all_events.csvamazon-electronics_all_events.csvbrightkite_all_events.csvgowalla_all_events.csvgithub_all_events.csv
tasks/amazon-clothing/coreview_prediction/personal_train.csvrelational_val.csvrelational_test_negative_sample.csv- ...
product_rating_prediction/personal_val.csvrelational_observed.csv- ...
amazon-electronics/coreview_prediction/- ...
product_rating_prediction/- ...
brightkite/checkin_prediction/- ...
friend_recommendation/- ...
gowalla/checkin_prediction/- ...
friend_recommendation/- ...
github/collab_prediction/- ...
processed/ Folder
The processed/ folder contains all raw events for each dataset, without any task-specific processing. These files include:
- Full sequences of user events (both personal and relational)
- No train/validation/test split
- No task-specific formatting
Each row includes:
uid: user IDtimestamp: event timestampevent_set: event set. either"personal"or"relational"event: event nameother_uid: another user ID (for relational events)
tasks/ Folder
The tasks/ folder defines various prediction tasks derived from each dataset. Each subfolder corresponds to a dataset and contains directories for specific tasks.
Each task includes:
- Pre-split files for
train,val, andtest(if applicable) - Separate files for
personalandrelationalevents - Pre-generated negative samples (e.g.,
*_negative_sample.csv) for use in evaluation or ranking-based training
Notes
- All datasets include both personal and relational event types.
- Task folders follow a uniform schema for easy benchmarking.
- Negative sampling files are provided to support reproducible experiments.
Dataset Description and Sources
pres-brightkite. This dataset contains location check-ins and friendship history of Brightkite users, a location-based social networking platform. It was originally collected by Cho et al., 2011 and published in the SNAP Dataset Repository (Leskovec & Krevl, 2014). Personal events consist of sequences of location check-ins. We convert the original latitude and longitude coordinates into Geohash-8 representations (Niemeyer, 2008; Morton, 1966), short alphanumeric strings encoding geographic locations. Nearby locations share similar geohash prefixes, while distant ones differ. Example geohashes include 9v6kpmr1, gcpwkeq6, and u0yhxgm1. Relational events capture friendship connections among users. The dataset includes 58,228 users and 5,130,866 events. Only personal events have timestamps; relational events do not.
pres-gowalla. The dataset also contains the location check-in and friendship history of another social network platform, Gowalla. It was also originally collected by Cho et al., 2011 and published in the SNAP Repository (Leskovec & Krevl, 2014). We processed and formatted the data following the same approach used for pres-brightkite. The dataset contains personal events from geohash check-ins and relational events from friendship connections, totaling 8,342,943 events from 196,591 users.
pres-amazon-clothing. The dataset contains Amazon product reviews and ratings in the Clothing, Shoes and Jewelry category, spanning from May 1996 to July 2014. The raw data was originally collected by McAuley et al., 2015. In this dataset, we define personal events as sequences of product IDs and ratings reviewed by a user, for example: B000MLDCZ2:5 and B001OE3F08:3. Relational events represent co-review patterns, where two users have reviewed at least three of the same products. The dataset contains event sequences from 185,986 users, with a total of 1,591,947 events.
pres-amazon-electronics. The dataset contains Amazon product reviews and ratings in the Electronics category, originally collected by McAuley et al., 2015. As in pres-amazon-clothing, personal events are defined as sequences of product IDs and ratings, while relational events capture co-review patterns. In total, the dataset contains 2,938,178 events from 254,064 users.
pres-github. This dataset contains GitHub user activity from January 2025, collected from the GH Archive. Personal events include actions such as Push, CreateBranch, CreateRepository, PullRequestOpened, IssuesOpened, and Fork. Relational events represent project collaboration, where two users are linked if both contributed at least five commits or pull requests to the same repository. The dataset includes 102,878,895 events from 3,669,079 users. Only personal events include timestamps; relational events do not, similar to pres-brightkite and pres-gowalla.
References
Cho, E., Myers, S. A., & Leskovec, J. (2011). Friendship and mobility: user movement in location-based social networks. In Proceedings of the 17th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pages 1082–1090.
Leskovec, J., & Krevl, A. (2014). SNAP Datasets: Stanford large network dataset collection. http://snap.stanford.edu/data
McAuley, J., Targett, C., Shi, Q., & Van Den Hengel, A. (2015). Image-based recommendations on styles and substitutes. In Proceedings of the 38th International ACM SIGIR Conference on Research and Development in Information Retrieval, pages 43–52.
Citation
If you use this dataset, please cite the following paper
@article{fathony2025integrating,
title={Integrating Sequential and Relational Modeling for User Events: Datasets and Prediction Tasks},
author={Fathony, Rizal and Melnyk, Igor and Reinert, Owen and Nguyen, Nam H and Rosa, Daniele and Bruss, C Bayan},
journal={Learning on Graphs Conference 2025},
year={2025}
}
- Downloads last month
- 116