What the directory is
A world directory of government bodies: who sits where, under whom, and what each nation calls it. It shows the current structure of each nation’s national government. It does not track who leads each body, and it rates nothing.
The first pass covers the 19 G20 nations (the European Union and the African Union are left out). Wikidata is the spine for all 19; the best national register or official source for each nation is laid over it.
Levels, not names
Nations do not use consistent names for their bodies, and the directory does not invent them. What it harmonises is position in the hierarchy:
- Level 0, head of state. Monarch, president, governor-general or equivalent; exactly one a nation.
- Level 1, head of government and the collective executive. Prime minister, chancellor, cabinet, council of ministers, state council.
- Level 2, the first tier of portfolio bodies, whatever the nation calls them: ministries, departments, secretariats, federal offices.
- Level 3 and below. Agencies, authorities, directorates, commissions, bureaux, state-owned enterprises, nested under their level 2 parent.
Every body keeps its native type, what the nation calls that kind of body, verbatim. Level is computed from the chain of parents and is the only axis compared across nations.
Where a president is both head of state and chief executive (Argentina, Brazil, Indonesia, Mexico, South Africa, Türkiye, the United States) the president is level 0, the executive hangs directly from level 0, and there is no separate level 1 head of government. China’s State Council is the level 1 collective executive; the party structure is outside the model for now and noted as an exception.
Branches
Every body belongs to exactly one branch: executive, legislative (the legislature at level 1, its chambers at level 2), judicial (the judiciary at level 1, apex courts at level 2) or independent (electoral commissions, auditors-general, ombudsmen, central banks, anti-corruption and human rights commissions; level 2 by default). The head of state sits above all four. Levels are computed within a branch. Sub-national legislatures and courts are out of scope.
Functions
Functions are the vocabulary that names are not. There are 24, in five clusters that mirror how most governments group their cabinet committees, in cabinet precedence: the great offices of state first, then the large social portfolios, then the economic and infrastructure departments, then the newest ministries.
| Cluster | Functions |
|---|---|
| Centre and finance | centre of government; finance and treasury; planning and national development |
| Security and justice | foreign affairs; defence; interior and home affairs; justice |
| Social | health; education; social protection; women, family and children; youth, sport and culture; religion |
| Economy and infrastructure | industry and trade; labour; energy; resources and mining; transport; housing and public works; agriculture; water; environment |
| Knowledge and digital | science, research and digital; information and media |
A body carries every function it covers, with one marked primary. A body that fits none is tagged Other and kept: the size of the Other tail is itself a measure. Each function carries a capability domain of the GINC National Capability Framework as a hidden attribute, for later joins; the framework plays no part in order or colour here.
How tags were assigned. Every placed body was tagged by TypeSafe Jev (jev-1.14), a model that answers typed questions with probabilities. Each body’s card (nation, name, native name, what the nation calls it, branch, level, parent chain, the bodies beneath it and its Wikidata description) is asked one choice question for its main function and one yes-or-no question for each of the 24; a body carries its main function and every function with a probability of at least 0.5. Govdirectory’s own topics were meant to seed the run, but they are set on only 2 of its 2,097 agencies, so they could not. A sample of 20 bodies a nation (380 in all) was checked by Claude and awaits a person’s check: the main function was right for 98 per cent and the full set of functions for 95 per cent. The commonest errors are regional development bodies tagged housing or industry rather than Other, and a spurious housing tag on transport bodies.
The fingerprint
The fingerprint is one deterministic algorithm applied to every nation, so that shape can be compared without reading. It is a five-row icicle of the function model, read top to bottom:
- State (8 px): one grey bar for levels 0 and 1, the same for every nation.
- Clusters (14 px): the five clusters, each spanning the functions beneath it.
- Functions (20 px): each first-tier body’s width divided equally among the functions it carries. One colour over several bodies is a function split across ministries; several colours over one body is a bundled ministry.
- Departments (26 px): the executive level 2 bodies, in the colour of their primary function. Width is proportional to the number of bodies beneath each (the body itself counted), at least 3 px, with 1 px between.
- Children (10 px): the level 3 bodies under each department, in the parent’s colour.
Order. Level 2 bodies are ordered by the precedence of their primary function, then by the number of bodies beneath them, largest first, with Other last. Never alphabetically, and never by size alone, so the same kind of body sits in the same region of the glyph for every nation.
Colour. Function k of 24 takes the hue 275 − 275·(k − 1)/23 at 70 per cent saturation and 50 per cent lightness: a spectrum from violet (centre of government) through blue (defence), green (education) and yellow (energy) to red (information and media). Each cluster takes the hue of one of its own functions (finance, defence, education, energy, science), so the cluster row and the function row share a key. The spectrum is this site’s own scale. The state bar and Other are grey.
Function mode. On a function page the same glyph shows one function only: GINC Purple where it is a body’s primary function, Lavender where it sits inside a bundled body, grey elsewhere.
The figures line under each glyph reads ministries · bundled · other: the number of level 2 executive bodies, how many carry more than one function, and how many are tagged Other. Every glyph is published as SVG and PNG at /glyphs/<ISO3>.svg and .png.
The placement scale
Where a function sits in a nation: in a level 2 body of its own (the body’s primary function), inside a shared level 2 body (one of several functions it carries), in a level 3 agency only, or not found. A function carried by more than one level 2 body is split; one carried alone by a level 2 body is dedicated.
Measures
Every body carries the year it was founded: the first origin of the entity, followed back through Wikidata’s replaces chain, and the year it was established as now where it was later reconstituted. Staff and budget are collected where official tables exist and stored with their source, year, method (official, derived or estimated) and confidence. In this pass official staff tables come from the United Kingdom (Civil Service Statistics, full-time equivalent and headcount), the United States (OPM, headcount of federal civilians), Canada (Treasury Board, headcount) and Japan (authorised posts); budgets from the United States (budget authority) and the United Kingdom (total managed expenditure). The figure on each nation’s card is that civil service total, labelled by its unit. No staff bands are estimated yet.
Sources and how they were reconciled
Wikidata is the spine for every nation; on top of it sits the best official source of each nation’s structure, listed on each nation’s page and on the sources page. National bodies were matched to Wikidata by website, then by name. Recall is the share of the national source’s bodies found in Wikidata; first tier recall the same for its ministries and departments; structural precision the share of Wikidata items inside the national tree that the national source confirms.
| Nation | First tier recall | Recall | Structural precision |
|---|---|---|---|
| Argentina | 0.50 | 0.31 | 0.72 |
| Australia | 0.94 | 0.90 | 0.41 |
| Brazil | 0.79 | 0.30 | 0.39 |
| Canada | 0.92 | 0.44 | 0.84 |
| China | 1.00 | 0.91 | 0.36 |
| France | 0.53 | 0.10 | 0.63 |
| Germany | 0.94 | 0.83 | 0.51 |
| India | 0.91 | 0.15 | 0.57 |
| Indonesia | 0.90 | 0.90 | 0.16 |
| Italy | 0.80 | 0.22 | 0.67 |
| Japan | 0.79 | 0.44 | 0.38 |
| Mexico | 0.91 | 0.24 | 0.85 |
| Russia | 1.00 | 0.93 | 0.53 |
| Saudi Arabia | 1.00 | 0.60 | 0.62 |
| South Africa | 0.88 | 0.27 | 0.90 |
| South Korea | 0.84 | 0.49 | 0.21 |
| Türkiye | 0.94 | 0.50 | 0.89 |
| United Kingdom | 0.91 | 0.42 | 0.77 |
| United States | 1.00 | 0.78 | 0.24 |
Wikidata finds the first tier almost everywhere; France and Argentina were reorganised in the last two years and Wikidata has not caught up. Below the first tier, coverage follows how thoroughly each nation is edited, not its structure. Australia’s national register could not be landed (its host’s robots.txt refuses all automated access), so its tree below the departments is Wikidata’s; Saudi Arabia’s and Türkiye’s official registers refuse requests from outside the country and rest on secondary official sources.
Citation
GINC, Government directory, first pass (G20), government.ginc.org, 2026. Data under CC BY 4.0; Wikidata content under CC0.