# Methodology — Quality of Life — Italian Regional Capitals 2026 Q2
**Version:** 1.0.0

## Research question
Multidimensional cultural-density index across 20 Italian regional capitals, derived from OpenStreetMap (ODbL-1.0) and Wikidata (CC0-1.0) POIs. Schema is globally shaped for future European and global expansion.

## Data sources
| # | Source | License | Access URL |
|---|--------|---------|------------|
| 1 | OpenStreetMap contributors (Overpass extract, 2026-04) | ODbL-1.0 | https://www.openstreetmap.org/copyright |
| 2 | Wikidata contributors (SPARQL query, 2026-04) | CC0-1.0 | https://www.wikidata.org/wiki/Wikidata:Main_Page |
| 3 | ISTAT — Popolazione residente per comune (2024) | CC-BY-4.0 | https://demo.istat.it/ |

## Pipeline
1. Python ingestion (`ml-service/app/ingestion/`) loads normalized rows into `open_data.od_pois`.
2. The dataset spec (`app.publishing.dataset_specs`) applies the dataset-specific aggregation SQL.
3. Output is validated against JSON Schema and sanity rules before export.
4. CSV / JSON / GeoJSON artifacts are written with a SHA-256 manifest.
5. DCAT-AP 2.1 and schema.org/Dataset metadata are generated for harvesting.

## Limitations
See the thesis companion article for the full caveat list. Short list:
- POI counts are derived from OSM; coverage varies by city.
- The 10 km radius is a pragmatic cut-off, not a functional urban area.
- Population figures are 2024 ISTAT snapshots; municipal boundaries only.

## Reproducibility
- Record count this version: 20
- Code: `ml-service/app/publishing/dataset_specs/`
- Raw payloads: `/var/lib/portfolio/od-raw/`
- Flyway migrations: V030 → V032
