Skip to content

Data dictionary

Generated by python src/dictionary.py --write from the code; do not edit by hand. Field meanings are in src/dictionary.py; tiers, subcategory groups, layers, rules and CSV columns are read from the code that uses them, and the tests fail if this file is out of date or the data contains a field, source or subcategory that is not described.

Paths are relative to the build directory (build/) unless they start with knowledge/. A street is identified by (gemeente_code, street); see method.md for what the values mean in the method and pipeline.md for which step writes what.

The classification of every street: a JSON list, one record per (gemeente_code, street), written by src/reconcile.py (Wikidata + themes + override layers).

Field Type Meaning
street text The street’s name as in OpenStreetMap (one row per distinct name per gemeente).
gemeente text The gemeente’s display name. Not unique: use gemeente_code.
gemeente_code text The CBS gemeentecode (GM0772): the key of a gemeente everywhere. A street is identified by (gemeente_code, street).
buurt text The CBS buurt (neighbourhood) containing the middle (centroid) of the street’s geometry.
category enum What kind of thing the street is named after: see category.
subcategory enum or null The finer kind: see subcategory. Null when only the category is known.
entity_label text or null The specific namesake (“Frits Philips”, “Saint John”), only where a source identifies one. Null for kind-only and unidentified streets.
entity_description text or null A short description of the namesake: a Wikidata description, or ours. For species, <Latin name>; Dutch name '<stem>'. A description saying “only the kind of namesake is asserted” marks a kind-only label.
confidence number 0 to 1 The source’s own score for this classification. Not a probability and not comparable across sources; the map words it as high (0.75 or more), medium (0.5 or more) or low. See confidence.
source enum How the classification was reached: see source.
source_url URL or null Where the evidence is, usually the namesake’s Wikidata page. Present only for some rows.
buurt_theme text or null The naming theme of the street’s buurt (“Golden Age painters”), whatever this street’s own label.
notes text How the result was reached, in words (for example why a Wikidata match was overridden). Free text for readers, not for parsing.
evidence_tier integer 1 to 5 How well-founded the label is, derived from the other fields by src/tiers.py: see evidence tier.
highway text The most street-like OpenStreetMap highway type among the street’s ways (residential, service, footway…).
way_class enum street, path or planned: see way class.

The same, flat, for spreadsheets (src/export_csv.py); adds wijk and evidence_tier_name.

Field Type Meaning
street text The street’s name as in OpenStreetMap (one row per distinct name per gemeente).
gemeente text The gemeente’s display name. Not unique: use gemeente_code.
gemeente_code text The CBS gemeentecode (GM0772): the key of a gemeente everywhere. A street is identified by (gemeente_code, street).
buurt text The CBS buurt (neighbourhood) containing the middle (centroid) of the street’s geometry.
wijk text The CBS wijk (district) of the buurt.
category enum What kind of thing the street is named after: see category.
subcategory enum or null The finer kind: see subcategory. Null when only the category is known.
entity_label text or null The specific namesake (“Frits Philips”, “Saint John”), only where a source identifies one. Null for kind-only and unidentified streets.
entity_description text or null A short description of the namesake: a Wikidata description, or ours. For species, <Latin name>; Dutch name '<stem>'. A description saying “only the kind of namesake is asserted” marks a kind-only label.
confidence number 0 to 1 The source’s own score for this classification. Not a probability and not comparable across sources; the map words it as high (0.75 or more), medium (0.5 or more) or low. See confidence.
source enum How the classification was reached: see source.
source_url URL or null Where the evidence is, usually the namesake’s Wikidata page. Present only for some rows.
buurt_theme text or null The naming theme of the street’s buurt (“Golden Age painters”), whatever this street’s own label.
notes text How the result was reached, in words (for example why a Wikidata match was overridden). Free text for readers, not for parsing.
evidence_tier integer 1 to 5 How well-founded the label is, derived from the other fields by src/tiers.py: see evidence tier.
evidence_tier_name text The tier’s name (CSV only).
highway text The most street-like OpenStreetMap highway type among the street’s ways (residential, service, footway…).
way_class enum street, path or planned: see way class.

{"buurten": [...]}: the naming theme of each buurt (src/themes.py, plus the hand-written first themes).

Field Type Meaning
gemeente text The gemeente’s display name. Not unique: use gemeente_code.
gemeente_code text The CBS gemeentecode (GM0772): the key of a gemeente everywhere. A street is identified by (gemeente_code, street).
buurt text The CBS buurt (neighbourhood) containing the middle (centroid) of the street’s geometry.
wijk text The CBS wijk (district) of the buurt.
theme text The theme in words (“flowers, trees and plants”).
category enum The theme’s category: person, place or thing, mixed (several kinds; see subthemes) or unclear.
subcategory enum or null The theme’s subcategory when it is a single kind.
subthemes list or absent For a mixed theme: [{category, subcategory, share}], the shares of its parts (sum about 1).
confidence number 0 to 1 How strongly the buurt follows the theme. The reconcile step trusts a theme at 0.8 or more to override a weak match, and at 0.6 or more to fill in a missing one.
source enum claude_reasoning: written by hand from reading the buurt’s street list (the first 394 themes, never regenerated); derived_from_street_classification: derived by src/themes.py from the buurt’s classified streets.
example_streets list of text Streets in the buurt that show the theme.

The themes, flat (src/export_csv.py); subthemes is not exported.

Field Type Meaning
gemeente text The gemeente’s display name. Not unique: use gemeente_code.
gemeente_code text The CBS gemeentecode (GM0772): the key of a gemeente everywhere. A street is identified by (gemeente_code, street).
buurt text The CBS buurt (neighbourhood) containing the middle (centroid) of the street’s geometry.
wijk text The CBS wijk (district) of the buurt.
theme text The theme in words (“flowers, trees and plants”).
category enum The theme’s category: person, place or thing, mixed (several kinds; see subthemes) or unclear.
subcategory enum or null The theme’s subcategory when it is a single kind.
confidence number 0 to 1 How strongly the buurt follows the theme. The reconcile step trusts a theme at 0.8 or more to override a weak match, and at 0.6 or more to fill in a missing one.
source enum claude_reasoning: written by hand from reading the buurt’s street list (the first 394 themes, never regenerated); derived_from_street_classification: derived by src/themes.py from the buurt’s classified streets.
example_streets list of text Streets in the buurt that show the theme.

override layers: knowledge/gemeenten/<province>/<gemeente>/overrides/<layer>.json

Section titled “override layers: knowledge/gemeenten/<province>/<gemeente>/overrides/<layer>.json”

{"layer": name, "overrides": [entry, ...]}, one file per layer per gemeente. A later layer wins on the same street. The gemeente is identified by the folder, so entries do not store gemeente_code.

Field Type Meaning
gemeente text The gemeente’s display name. Not unique: use gemeente_code.
street text The street’s name as in OpenStreetMap (one row per distinct name per gemeente).
category enum What kind of thing the street is named after: see category.
subcategory enum or null The finer kind: see subcategory. Null when only the category is known.
entity_label text or null The specific namesake (“Frits Philips”, “Saint John”), only where a source identifies one. Null for kind-only and unidentified streets.
entity_description text or null A short description of the namesake: a Wikidata description, or ours. For species, <Latin name>; Dutch name '<stem>'. A description saying “only the kind of namesake is asserted” marks a kind-only label.
confidence number 0 to 1 The source’s own score for this classification. Not a probability and not comparable across sources; the map words it as high (0.75 or more), medium (0.5 or more) or low. See confidence.
source enum As in streets_final.json; claude_knowledge is the default for rule and hand-made entries.
source_url URL or null Where the evidence is, usually the namesake’s Wikidata page. Present only for some rows.
notes text How the result was reached, in words (for example why a Wikidata match was overridden). Free text for readers, not for parsing.

knowledge/gemeenten/<province>/<gemeente>/corrections.json

Section titled “knowledge/gemeenten/<province>/<gemeente>/corrections.json”

{"corrections": [entry, ...]}: reviewed street-level decisions; applied as the last override layer.

Field Type Meaning
gemeente text The gemeente’s display name. Not unique: use gemeente_code.
street text The street’s name as in OpenStreetMap (one row per distinct name per gemeente).
category enum What kind of thing the street is named after: see category.
subcategory enum or null The finer kind: see subcategory. Null when only the category is known.
entity_label text or null The specific namesake (“Frits Philips”, “Saint John”), only where a source identifies one. Null for kind-only and unidentified streets.
entity_description text or null A short description of the namesake: a Wikidata description, or ours. For species, <Latin name>; Dutch name '<stem>'. A description saying “only the kind of namesake is asserted” marks a kind-only label.
confidence number 0 to 1 The source’s own score for this classification. Not a probability and not comparable across sources; the map words it as high (0.75 or more), medium (0.5 or more) or low. See confidence.
reason text Why. Required: a correction without a reason is not accepted.
source_url text or absent A link the contributor gave as the source (a review-sheet answer’s link). It is shown as the street’s [source] and does not make the entry tier 1.
from_osm true or absent Take the namesake (label, description, Wikidata link) from the street’s OpenStreetMap etymology record, keeping the kind given here; the source becomes osm_etymology (tier 1).

raw/streets_gm####.geojson, raw/buurten_gm####.geojson (and the combined streets.geojson, buurten.geojson)

Section titled “raw/streets_gm####.geojson, raw/buurten_gm####.geojson (and the combined streets.geojson, buurten.geojson)”

What acquire fetched: one feature per street name, or per buurt. Streets only carry highway, highway_all, way_class and origin; buurten only name, wijk, gemeente, gemeente_code.

Field Type Meaning
name text The street name (streets_gm####.geojson) or buurt name (buurten_gm####.geojson).
buurt text The CBS buurt (neighbourhood) containing the middle (centroid) of the street’s geometry.
wijk text The CBS wijk (district) of the buurt.
gemeente text The gemeente’s display name. Not unique: use gemeente_code.
gemeente_code text The CBS gemeentecode (GM0772): the key of a gemeente everywhere. A street is identified by (gemeente_code, street).
highway text The most street-like OpenStreetMap highway type among the street’s ways (residential, service, footway…).
highway_all text Every highway type seen among the street’s ways, separated by ;.
way_class enum street, path or planned: see way class.
origin text How the street entered the data: drive_network (the first fetch) or supplement (streets the first fetch missed, added later).
geometry geometry The street’s merged line geometry, or the buurt’s polygon (WGS84).
Value Meaning
person Named after a person, or a kind of person (a mayor, a saint, a composer).
place Named after a place: a town, region, castle, river, or a local field, road or landmark.
thing Named after a thing or concept: a plant, an animal, a trade, an instrument, an idea.
mixed (buurt themes) several kinds; see subthemes.
unclear The kind could not be decided.
unresolved Nothing known: no match and no theme to read it by.

The finer kind. The groups are the ones the map’s legend shows (SUBGROUPS in src/build_map.py); a subcategory that is in no group falls under Other / unspecified on the map.

Category Map group Subcategory Meaning
person Arts (visual, sculpture, music) artist_visual painter or other visual artist
person Arts (visual, sculpture, music) artist_visual_sculptor sculptor
person Arts (visual, sculpture, music) musician_composer composer or musician
person Writers & legendary figures literary_mythical_figure figure from literature or myth
person Writers & legendary figures mythological_figure figure from mythology or legend (also a group, such as the Argonauts)
person Writers & legendary figures writer_poet writer or poet
person Science & scholarship architect_or_historian architect or historian
person Science & scholarship aviation_pioneer aviation pioneer
person Science & scholarship cartographer mapmaker
person Science & scholarship engineer engineer
person Science & scholarship legal_scholar jurist or legal scholar
person Science & scholarship physician_medical physician or medical figure
person Science & scholarship scientist scientist
person Science & scholarship scientist_engineer scientist who was also an engineer
person Science & scholarship scientist_physician scientist who was also a physician
person Statesmen & military activist activist
person Statesmen & military boer_war_figure figure of the Boer wars
person Statesmen & military explorer explorer
person Statesmen & military human_rights_activist human rights activist
person Statesmen & military industrialist_philips Philips industrialist
person Statesmen & military mayor_local a local mayor
person Statesmen & military military soldier or military figure
person Statesmen & military military_naval_or_politician military, naval or political figure
person Statesmen & military monarch_statesman monarch, royal house or statesman
person Statesmen & military philips_engineer Philips engineer
person Statesmen & military politician_statesman politician or statesman
person Statesmen & military statesman_liberator statesman or liberator
person Religious figures religious saint, priest, bishop or other religious figure
person Other / unspecified other a person of another kind
person Other / unspecified unspecified_individual a person who could not be identified
place Towns & regions alpine_geography alpine place or feature
place Towns & regions city city
place Towns & regions country country
place Towns & regions dutch_east_indies place in the former Dutch East Indies
place Towns & regions dutch_region Dutch region
place Towns & regions dutch_town Dutch town or city
place Towns & regions foreign_town town or city abroad
place Towns & regions foreign_town_wwii town abroad tied to the Second World War
place Towns & regions human settlement a human settlement (Wikidata’s generic type)
place Towns & regions south_africa place in South Africa
place Towns & regions town town
place Towns & regions village village
place Castles & estates castle_estate castle or country estate
place Castles & estates estate_feature part of an estate
place Natural features lake lake
place Natural features local_landscape_feature a local field, road, hamlet or landscape name; no namesake identified
place Natural features mountain mountain
place Natural features river river or stream
place Biblical & mythological biblical biblical place
place Biblical & mythological mythological mythological place
place Local landmarks local_landmark a local landmark, building or institution
thing Flora flora tree or plant
thing Flora flora_flower flower
thing Flora flora_food food plant
thing Flora flora_herb herb
thing Flora fungus fungus
thing Flora wood_type kind of wood
thing Fauna fauna animal
thing Fauna fauna_and_flora animals and plants together
thing Fauna fauna_butterfly butterfly
thing Fauna fauna_fish fish
thing Fauna fauna_mammal mammal
thing Culture & craft archaeology_term archaeological term
thing Culture & craft architecture_term architectural term
thing Culture & craft currency currency
thing Culture & craft dynasty dynasty (as a concept)
thing Culture & craft fiction_title_or_motif title or motif from fiction
thing Culture & craft instrument musical instrument
thing Culture & craft occupation_guild trade or guild
thing Culture & craft occupation_guild_textile textile trade
thing Culture & craft sport sport
thing Science & technology astronomy astronomy: a planet, star or constellation
thing Science & technology industrial_philips_term Philips industrial term
thing Science & technology infrastructure infrastructure
thing Science & technology mineral mineral or gemstone
thing Science & technology technology_term technology term
thing Science & technology vessel_type type of ship or vessel
thing Development / other development_concept a concept from the development of the neighbourhood
thing Development / other dutch_east_indies place in the former Dutch East Indies
thing Development / other local_landmark a local landmark, building or institution
thing Development / other local_landscape_feature a local field, road, hamlet or landscape name; no namesake identified
thing Development / other military soldier or military figure
thing Development / other mythological mythological place
(none) Other / unspecified athlete sportsperson
(none) Other / unspecified local_feature (buurt themes) a local feature
(none) Other / unspecified organization an organisation
(none) Other / unspecified region region
(none) Other / unspecified religious_order a religious order

How a classification was reached, in streets_final.json and the override layers.

Value Meaning
wikidata A confident Wikidata match for the street name, consistent with its buurt (tier 1).
wikidata_surname_only Matched only to a Wikidata family name item: the surname exists, but not whom the street honours. No namesake is asserted.
wikidata_weak_match A Wikidata match too weak to trust; the street stays unresolved unless a theme or a rule decides otherwise.
wikidata_low_similarity A Wikidata match whose label barely resembles the street name.
wikidata_no_match Nothing found on Wikidata.
wikidata_thing_match Matched to a Wikidata item that is a thing, not a person or place: a weak, kind-only reading (tier 4).
surname_unsupported A Wikidata surname match rejected: no title or person-naming buurt corroborates it, and the name is probably an ordinary word.
buurt_theme_override The buurt’s strong theme overrode a weaker or conflicting individual match (tier 4).
buurt_theme_fallback No confident individual match; the kind is inferred from the buurt’s theme (tier 4).
title_heuristic The name starts with a person title (Burgemeester, Pastoor…): a person, not identified (tier 3).
claude_knowledge A classification from general knowledge: the first-wave hand and language-model classifications, and the rules’ own output (tier 2 when it names a specific namesake, tier 3 or 4 for kinds).
web_search Individually researched with a web source (tier 1).
osm_etymology OpenStreetMap’s name:etymology:wikidata (or the street’s own Wikidata item) names the namesake (tier 1).
osm_place Named like a hamlet, neighbourhood, stream, lake or park within 1 km (OpenStreetMap): a local name; the feature shows the place exists, not that the street is named for it.

Derived from a street’s other fields by src/tiers.py; lower is stronger, and refinement only ever moves a street toward 1.

Tier Name Meaning
1 Identified (external evidence) A specific namesake backed by Wikidata, OpenStreetMap’s etymology tags or a web source.
2 Identified (from knowledge, unverified) A specific namesake from general knowledge, not verified.
3 Kind known from the name No individual, but the name itself shows the kind: a title or first-name pattern, a species word, a trade term, a surname match, a kind-only label.
4 Kind inferred from neighbourhood theme or weak match The kind rests on the buurt’s naming theme, or on a weak match to a thing, not on the name.
5 Not identified No namesake and no kind: generic or local names, anything unresolved.

confidence is the score of whatever produced the classification (a Wikidata match score, the theme’s confidence discounted by 0.9 or 0.8 for theme-based labels, a fixed value for rules and hand-made entries). Within one source it orders results; across sources it does not. Use evidence_tier to compare how well-founded labels are.

Value Meaning
street Roads and pedestrian streets, and everything not listed below (including service roads).
path Footway, cycleway, track, path, bridleway, steps: shown on the map under Paths.
planned Roads under construction (highway=construction): shown under Roads under construction.

Layers are applied in this order; a later one wins on the same street. legacy_hand is the frozen first-wave classifications; each of the others is regenerated by its rule; corrections comes from corrections.json.

# Layer What it holds
1 legacy_hand Frozen first-wave hand and language-model classifications; no rule regenerates it.
2 vocabulary flowers, trees, birds, composers, painters, saints, science, myth, regions… by name
3 titles Burgemeester/Pastoor/first-name patterns -> an unidentified person
4 directional_road se streets -> the place they lead to
5 species generic plant/animal description -> the actual species
6 label_cleanup saint labels that repeat the road word (Saint Janstraat -> Saint John)
7 bare_surname Wikidata family-name-only matches, resolved with the buurt’s naming theme
8 same_name_harmonise same name, different class, no buurt support -> the majority class
9 person_consensus unidentified person streets take the kind of person the buurt supports
10 theme_forced_name_fit labels forced by a buurt theme need support from the name itself
11 wikidata_place_review accepted Wikidata place matches that are not places, or have a misleading description
12 name_resolver name-level resolver: kinds (and backed names) for streets at tiers 3-5, reviewed-safe changes only
13 osm_places street named like a hamlet/neighbourhood/stream/lake/park within 1 km (OSM) -> place / local name, tier 2
14 osm_etymology OpenStreetMap name:etymology(:wikidata) -> the namesake, tier 1 (conflicts with our tier 1-2 are left alone)
15 corrections reviewed street-level corrections from knowledge/gemeenten///corrections.json

knowledge/global/: the curated lists. Per-gemeente files are described above (corrections.json, the override layers) plus review_notes.json ({"notes": {street: note}} shown in the review sheet) and REVIEW.md (the generated review sheet).

File Holds
vocabulary.json Named lists per theme that the vocabulary rule reads (flowers, trees, birds, composers, painters, saints…).
famous_people.txt Street|kind|Person name per line: streets named after a well-known person.
person_labels.json Street name to [subcategory, person name].
species.txt dutch stem=English name|Latin name: plant and animal names.
species_streets.txt Street=English|Latin|stem: street names the stems miss, exact.
directional_places.json Places that directional roads lead to: places (stem to place), foreign (places abroad), also_directional.
place_match_corrections.json Reviewed Wikidata place matches: not_a_place and named_places.
common_words.txt Ordinary words and names, one per line, that are not namesakes.
common_stems.txt Dutch words street names are built from (akker, bos, weg…): a name made only of these is an ordinary compound.
common_compounds.txt Street names that are ordinary compounds, one per line.
rule_exclusions.json Rule proposals reviewed and rejected: rule to {street: reason}.
rules_status.json disabled: rule to a dated reason; a disabled rule is left out of runs that name no rule.
theme_labels.json Plain-language names of street kinds, used to word derived buurt themes.
osm_entity_kinds.json Reviewed [category, subcategory, description] for Wikidata items that OpenStreetMap etymology tags point to.
osm_suggestions.json Streets whose OpenStreetMap ways lack the etymology tag but whose namesake we are confident of (the basis for tags worth adding in OSM).
gemeenten.json Acquisition exceptions: aliases (PDOK name differs), merged (area of a merged gemeente: pdok, buurt_prefix), early_place_polygon (a note).
gemeenten_index.json The gemeente registry: CBS code to {name, province, historic?}.

Synced from straatwijsheid/docs/data-dictionary.md at aebc7b6. To change this page, edit it there.