Datasets:
Add mention_id to every occurrence row
#3
by chadchoquette2026 - opened
Files changed (4)
307 unmodified lines308309310311312313191 unmodified lines505506507508509510511512513514307 unmodified lines6. Operational fields were removed, dates and entity text were normalised, and duplicate extraction outputs within a window were removed.7. Rows from both passes were merged and written in document order. See [Row Order](#row-order).8. Round 1 rows were given run_id `12b_full` and Round 2 rows were appended after them in each collection, with run_id `12b_full_2`.### Supporting Files Available191 unmodified lines## Data FieldsEach row has 26 fields. The examples below come from a Smithsonian catalogue-field row unless otherwise noted. Fields may contain null values when they do not apply or no value is available.### Identity and Provenance Fields- **run_id** *(large_string)*Extraction pass that produced the row: `12b_full` or `12b_retry`. The corresponding run manifest records details of that pass.*Example:* `12b_full`307 unmodified lines308309310311312313314191 unmodified lines506507508509510511512513514515516517518519307 unmodified lines6. Operational fields were removed, dates and entity text were normalised, and duplicate extraction outputs within a window were removed.7. Rows from both passes were merged and written in document order. See [Row Order](#row-order).8. Round 1 rows were given run_id `12b_full` and Round 2 rows were appended after them in each collection, with run_id `12b_full_2`.9. A `mention_id` was added to every row as a stable identifier for the occurrence. See [Identity and Provenance Fields](#identity-and-provenance-fields).### Supporting Files Available191 unmodified lines## Data FieldsEach row has 27 fields. The examples below come from a Smithsonian catalogue-field row unless otherwise noted. Fields may contain null values when they do not apply or no value is available.### Identity and Provenance Fields- **mention_id** *(large_string)*Unique identifier of the occurrence: the first 16 hexadecimal characters of the SHA-1 hash of `window_id`, `block_id` (or `field_name` when there is no block), `char_start`, `char_end`, `occurrence`, `entity_type` and `entity_text`, joined with `|` (nulls as empty strings). It is computed from the row itself, so it does not depend on row order and stays the same when rows are added. Because `entity_type` is part of the key, retyping a row gives it a new `mention_id`. Consolidated entity tables link to occurrences through this field.*Example:* `684940464e600515`- **run_id** *(large_string)*Extraction pass that produced the row: `12b_full` or `12b_retry`. The corresponding run manifest records details of that pass.*Example:* `12b_full`
123version https://git-lfs.github.com/spec/v1oid sha256:5c939fcd10e02668dd19f19709ae99cd9acf87d6b038c26b044cec87576ef10csize 577051551123version https://git-lfs.github.com/spec/v1oid sha256:b84f2b43cef77cde23ff404f2a00959855ff4cf6df6b55517e7eaae2c12a07c9size 613822184
123version https://git-lfs.github.com/spec/v1oid sha256:04c8efebc2fd94caff85288fc54c81040a743685969796d22df529699b464321size 1049930141123version https://git-lfs.github.com/spec/v1oid sha256:281ac7b7cb048eca936f2391a209fc2da957f972e835d10763ea215c65516d85size 1251306985
123version https://git-lfs.github.com/spec/v1oid sha256:41f848b081af0bcf7a921248d1332641c8dfe6c6f9fd0437bb3dc1bd4255ab4fsize 2521171123version https://git-lfs.github.com/spec/v1oid sha256:2a969539914e81c0330b7c47024e81e4b46fb152e51025236e3534123573cb17size 3857210
README.md+6-1
parquet/collection=chronam/part-00000.parquet+2-2
parquet/collection=pension/part-00000.parquet+2-2
parquet/collection=si/part-00000.parquet+2-2