entita
Data license: CC BY 4.0 · Data source: Archivio di Stato di Bergamo — inventari
1 row where comune_id = 21 and tipo = "luogo"
This data as json, CSV (advanced)
tipo 1
- luogo · 1 ✖
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE entita (
id INTEGER PRIMARY KEY,
tipo TEXT NOT NULL CHECK (tipo IN ('persona','ente','luogo','evento','formazione')),
forma TEXT NOT NULL, -- forma normalizzata: "Rossi, Giovanni"
comune_id INTEGER REFERENCES comune(id),-- solo per tipo = luogo
note TEXT,
UNIQUE (tipo, forma)
);