Overview
Comment: | 2025 Feb 11 transfer TOPFORMS column to linguistic table |
---|---|
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
fbda0e251e127a50c3b455e0ead96332 |
User & Date: | sisrahtak on 2025-02-11 13:17:10 |
Other Links: | manifest | tags | edit |
Context
2025-02-11
| ||
13:22 | 2025 Feb 11 add three aspect database v0.2 check-in: a7ec7e6650 user: sisrahtak tags: trunk | |
13:17 | 2025 Feb 11 transfer TOPFORMS column to linguistic table check-in: fbda0e251e user: sisrahtak tags: trunk | |
2025-02-10
| ||
17:32 | 2025 Feb 10 add database documentation for v0.2 check-in: 9d5675a10d user: sisrahtak tags: trunk | |
Changes
Modified data/csv/db_experiment/v0.2/db_docs.md
from [8f27e620b9]
to [1504b94df9].
︙ | |||
35 36 37 38 39 40 41 | 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | + - + - | ### **Columns:** - **`ID`** *(int, PK)*: Unique identifier for each toponym entry, independent from the spatial table. - **`SPATID`** *(int, FK → Spatial.ID)*: Links the toponym to its corresponding spatial object. - **`DOUSPAT`** *(int, nullable)*: Certainty of name relation to the spatial object (empty = "I'm sure", 1 = "The spatial link is doubtful"). - **`MAINID`** *(int, FK → Linguistic.ID)*: Represents the "main" name in a "nest" of interconnected toponyms (sometimes grouping is necessary, many sources give several somehow connected names for a single spatial object and we want to reflect this connections in database). - **`TOPONYM`** *(string)*: The attested name as recorded from sources. - **`TOPFORMS`** *(text, nullable)*: Holds different attested spelling variations of the name from multiple sources. |
︙ | |||
85 86 87 88 89 90 91 | 85 86 87 88 89 90 91 92 | - + - | - **`LINGID` (Temporal) → `ID` (Linguistic)** and **`LINGNAME` (Temporal) → `TOPONYM` (Linguistic)**: Tracks historical changes of a specific name. - **`OBJID` (Temporal) → `ID` (Linguistic)** and **`OBJNAME` (Temporal) → `TOPONYM` (Linguistic)**: Records specifically name changes or mergers. --- ## **Next Steps** - Finalize the format for the `PRONUNC` field. |
Modified data/csv/db_experiment/v0.2/db_structure.sql
from [70305bb161]
to [d36292f1ba].
︙ | |||
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | + - | CREATE TABLE linguistic ( ID INT PRIMARY KEY, SPATID INT NOT NULL, DOUSPAT INT CHECK (DOUSPAT IN (1)) NULL, MAINID INT, TOPONYM TEXT NOT NULL, TOPFORMS TEXT, DOUTOPO INT CHECK (DOUTOPO IN (1)) NULL, LANG VARCHAR(3) NOT NULL, DOULANG INT CHECK (DOULANG IN (1)) NULL, PRONUNC TEXT, DOUPRON INT CHECK (DOUPRON IN (1)) NULL, ETYM TEXT, -- Always doubtful ORIGIN VARCHAR(3), -- Always doubtful COMMENTS TEXT, OTHER TEXT, FOREIGN KEY (SPATID) REFERENCES spatial(ID), FOREIGN KEY (MAINID) REFERENCES linguistic(ID) ); CREATE TABLE temporal ( ID INT PRIMARY KEY, LINGID INT NOT NULL, LINGNAME TEXT NOT NULL, |