id int64 1 211 | income_level stringclasses 5
values | iso_code stringlengths 3 3 | name stringlengths 4 30 | region_wb stringclasses 7
values |
|---|---|---|---|---|
1 | High income | ABW | Aruba | Latin America & Caribbean |
2 | Low income | AFG | Afghanistan | Middle East, North Africa, Afghanistan & Pakistan |
3 | Lower middle income | AGO | Angola | Sub-Saharan Africa |
4 | Upper middle income | ALB | Albania | Europe & Central Asia |
5 | High income | AND | Andorra | Europe & Central Asia |
6 | High income | ARE | United Arab Emirates | Middle East, North Africa, Afghanistan & Pakistan |
7 | Upper middle income | ARG | Argentina | Latin America & Caribbean |
8 | Upper middle income | ARM | Armenia | Europe & Central Asia |
9 | High income | ASM | American Samoa | East Asia & Pacific |
10 | High income | ATG | Antigua and Barbuda | Latin America & Caribbean |
11 | High income | AUS | Australia | East Asia & Pacific |
12 | High income | AUT | Austria | Europe & Central Asia |
13 | Upper middle income | AZE | Azerbaijan | Europe & Central Asia |
14 | Low income | BDI | Burundi | Sub-Saharan Africa |
15 | High income | BEL | Belgium | Europe & Central Asia |
16 | Lower middle income | BEN | Benin | Sub-Saharan Africa |
17 | Low income | BFA | Burkina Faso | Sub-Saharan Africa |
18 | Lower middle income | BGD | Bangladesh | South Asia |
19 | High income | BGR | Bulgaria | Europe & Central Asia |
20 | High income | BHR | Bahrain | Middle East, North Africa, Afghanistan & Pakistan |
21 | High income | BHS | Bahamas, The | Latin America & Caribbean |
22 | Upper middle income | BIH | Bosnia and Herzegovina | Europe & Central Asia |
23 | Upper middle income | BLR | Belarus | Europe & Central Asia |
24 | Upper middle income | BLZ | Belize | Latin America & Caribbean |
25 | High income | BMU | Bermuda | North America |
26 | Lower middle income | BOL | Bolivia | Latin America & Caribbean |
27 | Upper middle income | BRA | Brazil | Latin America & Caribbean |
28 | High income | BRB | Barbados | Latin America & Caribbean |
29 | High income | BRN | Brunei Darussalam | East Asia & Pacific |
30 | Lower middle income | BTN | Bhutan | South Asia |
31 | Upper middle income | BWA | Botswana | Sub-Saharan Africa |
32 | Low income | CAF | Central African Republic | Sub-Saharan Africa |
33 | High income | CAN | Canada | North America |
34 | High income | CHE | Switzerland | Europe & Central Asia |
35 | High income | CHL | Chile | Latin America & Caribbean |
36 | Upper middle income | CHN | China | East Asia & Pacific |
37 | Lower middle income | CIV | Cote d'Ivoire | Sub-Saharan Africa |
38 | Lower middle income | CMR | Cameroon | Sub-Saharan Africa |
39 | Low income | COD | Congo, Dem. Rep. | Sub-Saharan Africa |
40 | Lower middle income | COG | Congo, Rep. | Sub-Saharan Africa |
41 | Upper middle income | COL | Colombia | Latin America & Caribbean |
42 | Lower middle income | COM | Comoros | Sub-Saharan Africa |
43 | Upper middle income | CPV | Cabo Verde | Sub-Saharan Africa |
44 | High income | CRI | Costa Rica | Latin America & Caribbean |
45 | Upper middle income | CUB | Cuba | Latin America & Caribbean |
46 | High income | CUW | Curacao | Latin America & Caribbean |
47 | High income | CYM | Cayman Islands | Latin America & Caribbean |
48 | High income | CYP | Cyprus | Europe & Central Asia |
49 | High income | CZE | Czechia | Europe & Central Asia |
50 | High income | DEU | Germany | Europe & Central Asia |
51 | Lower middle income | DJI | Djibouti | Middle East, North Africa, Afghanistan & Pakistan |
52 | Upper middle income | DMA | Dominica | Latin America & Caribbean |
53 | High income | DNK | Denmark | Europe & Central Asia |
54 | Upper middle income | DOM | Dominican Republic | Latin America & Caribbean |
55 | Upper middle income | DZA | Algeria | Middle East, North Africa, Afghanistan & Pakistan |
56 | Upper middle income | ECU | Ecuador | Latin America & Caribbean |
57 | Lower middle income | EGY | Egypt, Arab Rep. | Middle East, North Africa, Afghanistan & Pakistan |
58 | Low income | ERI | Eritrea | Sub-Saharan Africa |
59 | High income | ESP | Spain | Europe & Central Asia |
60 | High income | EST | Estonia | Europe & Central Asia |
61 | Not classified | ETH | Ethiopia | Sub-Saharan Africa |
62 | High income | FIN | Finland | Europe & Central Asia |
63 | Upper middle income | FJI | Fiji | East Asia & Pacific |
64 | High income | FRA | France | Europe & Central Asia |
65 | High income | FRO | Faroe Islands | Europe & Central Asia |
66 | Lower middle income | FSM | Micronesia, Fed. Sts. | East Asia & Pacific |
67 | Upper middle income | GAB | Gabon | Sub-Saharan Africa |
68 | High income | GBR | United Kingdom | Europe & Central Asia |
69 | Upper middle income | GEO | Georgia | Europe & Central Asia |
70 | Lower middle income | GHA | Ghana | Sub-Saharan Africa |
71 | Lower middle income | GIN | Guinea | Sub-Saharan Africa |
72 | Low income | GMB | Gambia, The | Sub-Saharan Africa |
73 | Low income | GNB | Guinea-Bissau | Sub-Saharan Africa |
74 | Upper middle income | GNQ | Equatorial Guinea | Sub-Saharan Africa |
75 | High income | GRC | Greece | Europe & Central Asia |
76 | Upper middle income | GRD | Grenada | Latin America & Caribbean |
77 | High income | GRL | Greenland | Europe & Central Asia |
78 | Upper middle income | GTM | Guatemala | Latin America & Caribbean |
79 | High income | GUM | Guam | East Asia & Pacific |
80 | High income | GUY | Guyana | Latin America & Caribbean |
81 | Lower middle income | HND | Honduras | Latin America & Caribbean |
82 | High income | HRV | Croatia | Europe & Central Asia |
83 | Lower middle income | HTI | Haiti | Latin America & Caribbean |
84 | High income | HUN | Hungary | Europe & Central Asia |
85 | Upper middle income | IDN | Indonesia | East Asia & Pacific |
86 | High income | IMN | Isle of Man | Europe & Central Asia |
87 | Lower middle income | IND | India | South Asia |
88 | High income | IRL | Ireland | Europe & Central Asia |
89 | Upper middle income | IRN | Iran, Islamic Rep. | Middle East, North Africa, Afghanistan & Pakistan |
90 | Upper middle income | IRQ | Iraq | Middle East, North Africa, Afghanistan & Pakistan |
91 | High income | ISL | Iceland | Europe & Central Asia |
92 | High income | ITA | Italy | Europe & Central Asia |
93 | Upper middle income | JAM | Jamaica | Latin America & Caribbean |
94 | Lower middle income | JOR | Jordan | Middle East, North Africa, Afghanistan & Pakistan |
95 | High income | JPN | Japan | East Asia & Pacific |
96 | Upper middle income | KAZ | Kazakhstan | Europe & Central Asia |
97 | Lower middle income | KEN | Kenya | Sub-Saharan Africa |
98 | Lower middle income | KGZ | Kyrgyz Republic | Europe & Central Asia |
99 | Lower middle income | KHM | Cambodia | East Asia & Pacific |
100 | Lower middle income | KIR | Kiribati | East Asia & Pacific |
Health Determinants Knowledge Graph
239,802 nodes. 239,795 edges. 211 countries × 35 years of World Bank development indicators — the socioeconomic, demographic, environmental, water and nutrition conditions that shape population health, as one graph.
Built with Samyama Graph. Loader and ETL: samyama-ai/health-determinants-kg.
Licence
| Data | CC-BY-4.0 — attribution required, commercial use permitted |
| Source | World Bank World Development Indicators |
| Loader code | Apache-2.0, in the GitHub repo. This does not govern the data. |
Verified at the source: the World Bank's licensing page states CC-BY-4.0 is the default for datasets the World Bank produces, and that it "allows users to copy, modify and distribute data in any format for any purpose, including commercial use", with attribution and an indication of changes.
Attribution to carry downstream:
Contains data from the World Bank World Development Indicators, licensed CC-BY-4.0. Restructured as a graph; values unmodified.
⚠️ What was removed, and why
The upstream repository builds this graph from more than one source. The WHO-derived portion has been excluded from this dataset, because WHO's data policy permits only "non-commercial, not-for-profit use of the Data for public health purposes" — terms a commercial publisher cannot meet.
45,833 nodes were removed from the 285,635 in the source snapshot:
| Removed | indicator_code |
Nodes |
|---|---|---|
WaterResource |
basic_water, basic_sanitation, safely_managed_water, safely_managed_sanitation |
44,013 |
EnvironmentalFactor |
AIR_QUALITY |
1,820 |
Their incident edges went with them. What remains is World Bank data only, and this dataset carries a single licence rather than a mixture.
If you need the WHO indicators, get them from WHO GHO directly under their own terms.
What this is
For each of 211 countries, indicator time series from 1990 to 2024 across five domains, each attached to the country as its own node so that values, years and indicator codes stay first-class rather than collapsing into columns.
The graph shape is deliberately simple — a star around Country — which makes cross-domain
questions one hop apart: pair environmental burden against nutrition outcomes, or water
access against income level, without a join.
| Income level | Countries |
|---|---|
| High income | 81 |
| Upper middle income | 54 |
| Lower middle income | 49 |
| Low income | 25 |
| Not classified | 2 |
Files
Nodes carry an id; edges reference those ids as src and tgt. Join on id.
nodes/
| File | Rows | Columns |
|---|---|---|
demographicprofile.csv |
107,088 | id, demographicprofile_id, indicator_code, indicator_name, value, year |
socioeconomicindicator.csv |
52,367 | id, socioeconomicindicator_id, indicator_code, indicator_name, value, year |
environmentalfactor.csv |
33,847 | id, environmentalfactor_id, indicator_code, indicator_name, value, year |
waterresource.csv |
32,209 | id, waterresource_id, indicator_code, indicator_name, value, year |
nutritionindicator.csv |
14,073 | id, nutritionindicator_id, indicator_code, indicator_name, value, year |
country.csv |
211 | id, income_level, iso_code, name, region_wb |
region.csv |
7 | id, code, name |
edges/
| File | Rows | Connects |
|---|---|---|
demographic_of.csv |
107,088 | Country → DemographicProfile |
has_indicator.csv |
52,367 | Country → SocioeconomicIndicator |
environment_of.csv |
33,847 | Country → EnvironmentalFactor |
water_resource_of.csv |
32,209 | Country → WaterResource |
nutrition_status.csv |
14,073 | Country → NutritionIndicator |
in_region.csv |
211 | Country → Region |
Also included
health-determinants.sgsnap — the same filtered graph as a Samyama snapshot, importable
in one step. It was produced by removing the WHO rows from the source snapshot and rewriting
the header, so the snapshot and the CSVs contain exactly the same data.
Usage
from datasets import load_dataset
countries = load_dataset("VaidhyaMegha/health-determinants-kg", "country", revision="v1.0")
print(countries["train"].num_rows) # 211
docker run --rm -p 8080:8080 -p 6379:6379 public.ecr.aws/f9f6l5u4/samyama-graph:1.1.0
curl -X POST localhost:8080/api/tenants -H 'Content-Type: application/json' \
-d '{"id":"health-determinants","name":"Health Determinants KG"}'
curl -X POST localhost:8080/api/tenants/health-determinants/snapshot/import \
-F "file=@health-determinants.sgsnap"
// Highest GNI per capita, 2023
MATCH (c:Country)-[:HAS_INDICATOR]->(s:SocioeconomicIndicator)
WHERE s.indicator_code = 'NY.GNP.PCAP.CD' AND s.year = 2023
RETURN c.name, s.value ORDER BY s.value DESC LIMIT 5
// Bermuda 134,500 · Norway 101,640 · Switzerland 95,740 ·
// Luxembourg 88,480 · Iceland 82,630
// Cross-domain in one hop: low-income countries carrying both an
// environmental and a nutrition burden
MATCH (c:Country {income_level: 'Low income'})-[:ENVIRONMENT_OF]->(e:EnvironmentalFactor),
(c)-[:NUTRITION_STATUS]->(n:NutritionIndicator)
WHERE e.year = 2020 AND n.year = 2020
RETURN c.name, e.indicator_name, e.value, n.indicator_name, n.value
LIMIT 20
Provenance
1. Original source — World Bank World Development Indicators, CC-BY-4.0, commercial use permitted with attribution.
2. ETL — samyama-ai/health-determinants-kg, which maps the WDI series onto a country-centred property graph.
3. Snapshot — taken 2026-04-03 (sgsnap v2, engine v0.7.0), 285,635 nodes.
4. This dataset — the WHO-derived rows removed (45,833 nodes and their edges), the header rewritten, then flattened to CSV. Totals asserted against the filtered snapshot header — 239,802 nodes and 239,795 edges — and re-verified after upload.
Versioning
| Version | Date | Contents |
|---|---|---|
v1.0 |
2026-08-17 | Initial release — World Bank WDI only, WHO rows excluded |
load_dataset("VaidhyaMegha/health-determinants-kg", "country", revision="v1.0")
Data changes get a new tag; card corrections land on main.
Limitations
- World Bank only. The upstream repo describes four sources. WHO was removed for the
licence reason above, and UNDP HDI is not present in this snapshot at all — the HDI
phase found no data and skipped, so there are zero
indicator_code = 'HDI'rows. Treat the repo's source list as describing the ETL's capability, not this export. - Sparse by construction. Not every country has every indicator in every year; the World Bank's own coverage varies widely by indicator and by decade.
- Values are as published, including revisions and estimates. Nothing was recomputed, imputed or gap-filled.
- Country is the only unit. No subnational data, and the 211
Countrynodes include aggregates and territories as the World Bank classifies them, not only sovereign states. - The graph is a star. Every edge is
Country → indicator; there are no indicator-to-indicator relationships to traverse. region.csvholds 7 World Bank regions;Country.region_wbcarries the same information as a property.
Verification
Totals match the filtered snapshot header exactly, and zero WHO rows survive the filter (checked explicitly on both affected labels after conversion). Spot-checked against published World Bank figures: 2023 GNI per capita ranks Bermuda, Norway, Switzerland, Luxembourg and Iceland at the top, and the income-level distribution (81 high / 54 upper-middle / 49 lower-middle / 25 low) matches the World Bank's classification.
Citation
CC-BY-4.0 requires attribution.
Original source:
World Bank. World Development Indicators. https://datatopics.worldbank.org/world-development-indicators/
Licensed CC-BY-4.0. https://creativecommons.org/licenses/by/4.0/
This graph build:
Health Determinants Knowledge Graph, v1.0 (239,802 nodes, 239,795 edges).
Built with Samyama Graph. https://huggingface.co/datasets/VaidhyaMegha/health-determinants-kg
ETL: https://github.com/samyama-ai/health-determinants-kg
Source data: World Bank World Development Indicators, CC-BY-4.0.
Restructured as a graph; WHO-derived rows excluded; values unmodified.
@misc{health_determinants_kg_samyama,
title = {Health Determinants Knowledge Graph},
howpublished = {\url{https://huggingface.co/datasets/VaidhyaMegha/health-determinants-kg}},
version = {v1.0},
note = {Derived from World Bank World Development Indicators, CC-BY-4.0.
WHO-derived rows excluded.
ETL: \url{https://github.com/samyama-ai/health-determinants-kg}},
year = {2026}
}
The three pieces
| Piece | Where |
|---|---|
| Code — ETL, schema, loaders | github.com/samyama-ai/health-determinants-kg |
| Data — this dataset, and the raw source it derives from | here, and World Bank WDI |
| Graph — importable snapshot | health-determinants.sgsnap in this repository |
- Downloads last month
- -