test
string | hypothesis
string | validated
bool | sample_size
int64 | tunnel_mean_degree
float64 | non_tunnel_mean_degree
float64 | degree_ratio
float64 | t_statistic
float64 | p_value
float64 | correlation
float64 | mean_depth
float64 | n5_related_fraction
float64 | expected_if_uniform
float64 | concentration_ratio
float64 | degree_shift_fraction
float64 | path_divergence_fraction
float64 | dominance_ratio
float64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
hub_tunnel_correlation
|
Tunnel nodes have higher out-degree than non-tunnel nodes
| false
| 19,018
| 31.8
| 34.02
| 0.935
| -2.021
| 0.043303
| null | null | null | null | null | null | null | null |
depth_tunnel_correlation
|
Shallow nodes (low depth) have higher tunnel scores
| true
| 9,018
| null | null | null | null | 0
| -0.8337
| 11.1
| null | null | null | null | null | null |
transition_concentration
|
Tunnel transitions concentrate around N=5 (phase transition)
| true
| 9,134
| null | null | null | null | null | null | null | 1
| 0.25
| 4
| null | null | null |
mechanism_distribution
|
degree_shift (different Nth link) dominates mechanisms
| true
| 9,134
| null | null | null | null | null | null | null | null | null | null | 0.9934
| 0.0066
| 151.2
|
Wikipedia N-Link Basins
A novel graph-theoretic analysis of Wikipedia's internal link structure, revealing deterministic "basins of attraction" under N-link traversal rules.
Dataset Description
This dataset demonstrates that Wikipedia's 17.9 million pages partition into coherent regions when following a simple rule: from any page, always follow the Nth link. Every page eventually reaches a cycle, and pages sharing the same terminal cycle form a basin of attraction.
Key Discovery: Phase Transition at N=5
At N=5, Wikipedia's link graph exhibits a dramatic phase transition where basin sizes peak, then collapse by 10-1000× at higher N values.
Dataset Structure
Configurations
default (Recommended, 1.8 GB)
Full reproducibility package - everything needed to regenerate all reports, figures, and visualizations.
multiplex (125 MB)
Cross-N analysis results only. Sufficient for exploring findings.
source (1.6 GB)
Raw link sequences for computing any N value from scratch.
analysis (44 MB)
Per-N basin assignments and 3D geometry data for visualizations.
Data Files
| Split | File | Rows | Description |
|---|---|---|---|
| source | nlink_sequences.parquet |
18.0M | Link sequences per page (up to 3873 links) |
| source | pages.parquet |
64.7M | Page ID to title mapping |
| multiplex | multiplex_basin_assignments.parquet |
2.1M | Basin membership per page per N |
| multiplex | tunnel_nodes.parquet |
2.1M | Pages that switch basins across N |
| multiplex | multiplex_edges.parquet |
9.7M | Multiplex graph edges |
| analysis | branches_n={3-10}_*_assignments.parquet |
varies | Per-N basin assignments |
| analysis | basin_pointcloud_*.parquet |
varies | 3D geometry for visualizations |
Data Fields
multiplex_basin_assignments
page_id(int64): Wikipedia page identifierN(int8): N-link rule value (3-10)cycle_key(string): Raw cycle identifier for this Ncanonical_cycle_id(string): Normalized basin identifier (stable across N)entry_id(int64): Page ID of entry point into terminal cycledepth(int32): Distance from terminal cycle
tunnel_nodes
page_id(int64): Wikipedia page identifierbasin_at_N3throughbasin_at_N10(string): Basin assignment at each N value (null if page not in any basin at that N)n_distinct_basins(int8): Number of unique basins this page belongs to across N valuesis_tunnel_node(bool): True if page switches basins across N values
Dataset Statistics
| Metric | Value |
|---|---|
| Total Wikipedia pages | 17,972,018 |
| Pages in analysis | 2,079,289 |
| Basins tracked | 9 major cycles |
| Tunnel nodes | 9,018 (0.45%) |
| N range | 3-10 |
Basin Sizes at N=5 (Phase Transition Peak)
| Basin | Pages |
|---|---|
| Massachusetts ↔ Gulf_of_Maine | 1,009,471 |
| Sea_salt ↔ Seawater | 265,896 |
| Mountain ↔ Hill | 188,968 |
| Autumn ↔ Summer | 162,689 |
| Kingdom_(biology) ↔ Animal | 112,805 |
Usage
from datasets import load_dataset
# Load multiplex configuration
ds = load_dataset("your-username/wikipedia-nlink-basins", "multiplex")
# Access basin assignments
basins = ds['train'].to_pandas()
n5_basins = basins[basins.N == 5]
# Find tunnel nodes
tunnels = ds['tunnel_nodes'].to_pandas()
tunnel_pages = tunnels[tunnels.is_tunnel_node]
print(f"Pages that switch basins: {len(tunnel_pages):,}")
Curation Rationale
This dataset was created to:
- Validate N-Link Rule Theory - Prove that finite graphs partition into disjoint basins under deterministic rules
- Discover phase transitions - Identify critical N values where structure changes dramatically
- Enable graph ML research - Provide labeled basin memberships for GNN experiments
- Support knowledge graph analysis - Study Wikipedia's semantic structure through graph dynamics
Source Data
Wikipedia Dump: enwiki-20251220 (English Wikipedia, December 2025)
Processing Pipeline:
- Extract internal links from article prose (excluding navigation, infoboxes)
- Resolve redirects to canonical page IDs
- Store ordered link sequences per page
- Trace N-link paths to terminal cycles
- Assign basin membership
Considerations for Using the Data
Social Impact
This dataset reveals structural properties of Wikipedia's knowledge organization. Findings could inform:
- Information navigation and search
- Knowledge graph construction
- Understanding editorial link patterns
Limitations
- English Wikipedia only (cross-language validation pending)
- Link structure reflects December 2025 snapshot
- Basin analysis covers 9 major cycles (not exhaustive)
Bias
Wikipedia's link structure reflects editorial decisions and systemic biases present in the encyclopedia.
Additional Information
Licensing
CC BY-SA 4.0 (same as Wikipedia source)
Citation
@dataset{wikipedia_nlink_basins_2026,
title={Wikipedia N-Link Basins: Phase Transitions in Knowledge Graph Structure},
year={2026},
publisher={Hugging Face Datasets},
howpublished={\url{https://huggingface.co/datasets/wikipedia-nlink-basins}}
}
Contact
[Your contact information]
Dataset Card Authors
[Your name]
- Downloads last month
- 14