AbdulSittar's picture
Super-squash branch 'main' using huggingface_hub
fa4181b
|
Raw History Blame Contribute Delete
4.2 kB
metadata
license: cc-by-4.0
language:
  - en
pretty_name: Social Graph Inference Reddit
tags:
  - reddit
  - social-network
  - social-graph
  - agent-based-modeling
  - social-simulation
  - network-analysis
  - computational-social-science
  - climate
  - covid-19
  - technology
size_categories:
  - 1M<n<10M

Social Graph Inference Reddit

A large-scale, empirically grounded Reddit dataset built to support the development and evaluation of agent-based social simulations.

Dataset Description

Using publicly available Reddit posts and comments, we define agent categories based on content and interaction patterns, derive inter-agent relationships from temporal commenting behaviors, and build a directed, weighted network that reflects empirically observed user connections.

The dataset covers three domains, each with over one million posts and comments:

Domain Agents Agent file Events file
Technology 33 technology_33_agents.json (502.0 MB) tech_events_0-01pct.json (67.0 kB)
Climate 14 climate_14_agents.json (443.1 MB) climate_events_0-01pct.json (105.8 kB)
COVID-19 7 covid_7_agents.json (490.7 MB) covid_events_0-01pct.json (12.3 kB)

Total size is about 1.4 GB.

The resulting dataset enables researchers to calibrate and benchmark agent behavior, network structure, and information diffusion processes against real social dynamics. Quantitative and qualitative analysis reveal distinctive patterns in user connectivity, engagement life cycles, and triadic closure growth, illustrating the potential of Reddit-derived interaction networks for realistic social simulation.

Repository Structure

├── technology_33_agents.json
├── tech_events_0-01pct.json
├── climate_14_agents.json
├── climate_events_0-01pct.json
├── covid_7_agents.json
└── covid_events_0-01pct.json

Usage

Download a single file:

from huggingface_hub import hf_hub_download
import json

path = hf_hub_download(
    repo_id="YOUR_USERNAME_OR_ORG/social-graph-inference-reddit",
    filename="covid_7_agents.json",
    repo_type="dataset",
)

with open(path) as f:
    data = json.load(f)

Or download everything:

from huggingface_hub import snapshot_download

snapshot_download(
    repo_id="YOUR_USERNAME_OR_ORG/social-graph-inference-reddit",
    repo_type="dataset",
    local_dir="social-graph-inference-reddit",
)

The agent files are large (440 to 500 MB each), so make sure you have enough memory, or process them with a streaming JSON parser.

Code

The code used to build this dataset is available on GitHub: abdulsittar/Social-Graph-Inference-Reddit (Python).

Authors

  • Abdul Sittar, Jožef Stefan Institute (ORCID)
  • Alenka Guček, Jožef Stefan Institute (ORCID)
  • Miha Češnovar

Funding

This work was supported by the European Commission under the TWON project (TWin of Online Social Networks), project number 101095095.

Source and Versioning

License

Released under the Creative Commons Attribution 4.0 International (CC BY 4.0) license. You may share and adapt the data as long as you give appropriate credit.

Citation

@dataset{sittar_social_graph_reddit_2025,
  author    = {Sittar, Abdul and Guček, Alenka and Češnovar, Miha},
  title     = {Social Graph Inference Reddit},
  year      = {2025},
  publisher = {Zenodo},
  version   = {v1},
  doi       = {10.5281/zenodo.18082502},
  url       = {https://doi.org/10.5281/zenodo.18082502}
}

APA: Sittar, A., Guček, A., & Češnovar, M. (2025). Social Graph Inference Reddit [Dataset]. Zenodo. https://doi.org/10.5281/zenodo.18082502