ottoman-ledger / data_dictionary.md
mkebiclioglu's picture
Upload OttomanLedger
e4d2bda verified
|
Raw History Blame Contribute Delete
12.7 kB

Data dictionary

Generated from ottoman_ledger.build.SCHEMA. One row = one atomic event; rows of one court record share source_record_id.

column type description
event_id string Unique row id: <source_record_id>-e<n>; -e0 marks a record with no extracted event.
source_record_id string Court record id <volume_id>-<record number, 5 digits>; shared by all events of one record.
event_index int32 1-based position of the event within the record (0 = placeholder row).
n_events_in_record int32 Number of events extracted from the record.
volume_id string Published volume / register code, e.g. usk001 (Üsküdar Mahkemesi, register 1).
volume_number int32 Register (sicil) number of the court.
court_code string Three-letter court code.
court_name string Court name as in the publication.
court_location string Seat of the court (modern district). Not the location of the event.
record_number int32 Editors' record number as printed.
record_sequence_in_volume int32 Order of appearance in the published text.
printed_page_start int32 Printed page of the publication where the record starts.
printed_page_end int32 Printed page where it ends.
pdf_page_start int32 1-based PDF page where the record starts.
pdf_page_end int32 1-based PDF page where it ends.
folio_reference string Manuscript folio reference as printed, e.g. 2a-1 (folio 2 recto, record 1); may carry a language note.
folios list<item: string> Manuscript folios covered by the record (start folio plus inline [12b] markers).
manuscript_reference string Citation of the original register in the İstanbul Müftülüğü Şer‘iyye Sicilleri Arşivi.
source_filename string PDF file name.
source_url string Publication page for the volume.
source_sha256 string SHA-256 of the PDF used.
publication_series string Publication series of the volume.
subject_heading string Editor-written subject heading (modern Turkish) above the record.
index_heading string The same heading as given in the volume's subject index (KONU BAŞLIKLARI); null if not matched.
record_language_note string Editors' note in the folio reference, e.g. Arapça = record written in Arabic, text is the editors' rendering.
record_cancelled_in_manuscript bool True when the editors mark the record as crossed out (<< >>).
record_flags list<item: string> Segmentation flags: dup_number, heading_differs_from_index, folio_ref_differs_from_index, not_in_index, empty_text, cancelled_in_manuscript.
possible_duplicate_record_ids list<item: string> Records with near-identical text (MinHash, Jaccard >= 0.8); flagged, not removed.
document_type string Diplomatic type of the record (hüccet, i‘lâm, ferman_or_hüküm, buyruldu, tereke_inventory, narh_price_list, ...).
source_language string ottoman_turkish
supporting_passage string Verbatim quote from the transcription that supports this event.
registration_date struct<struct ...> Date the record was written in the register (struct; see date fields below).
event_dates list<struct ...> Dates attached to this event (struct list): expression, date_type, Hijri y/m/d, day range, precision, converted ranges, parser/model agreement.
date_original_expression string Verbatim date passage used for the flat date columns (first event date, else registration date).
date_type string registration
hijri_year int32 Hijri year as stated (never filled from the volume range unless year_inferred_from_volume).
hijri_month int32 Hijri month 1-12 (1 = Muharrem).
hijri_day int32 Hijri day; null for evâil/evâsıt/evâhir or month-only dates.
gregorian_date_start date32[day] Proleptic Gregorian start of the date range.
gregorian_date_end date32[day] Proleptic Gregorian end of the date range.
western_civil_date_start string Historians' convention: Julian before 1582-10-15, Gregorian after (ISO string).
western_civil_date_end string End of the range in the same convention.
date_precision string day
date_conversion_method string Tabular Islamic calendar (civil epoch), equivalent to Unat's TTK tables.
date_uncertainty_days int32 Additional +/- days for lunar-sighting deviation (2 for day precision).
volume_hijri_start int32 Nominal Hijri start year of the volume (title page).
volume_hijri_end int32 Nominal Hijri end year.
volume_gregorian_start int32 Nominal Western start year.
volume_gregorian_end int32 Nominal Western end year.
places list<struct ...> All places attached to the event (struct list) with type, parent, modern name, coordinates and geocoding source.
historical_location_name string First place of the event as written.
modern_location_name string Modern name when identified.
neighborhood string Mahalle of the event, as written.
village string Village (karye), as written.
district string Kaza / nahiye, as written.
city string City or town, as written.
modern_country string Modern country when identified.
latitude double WGS84 latitude of the first geocoded event place (modern centroid).
longitude double WGS84 longitude.
geographic_precision string neighborhood_modern_centroid
geocoding_source string e.g. wikidata:Q123 (unique_istanbul_match; automatic, unreviewed); null when unlocated.
primary_category string Main thematic category (real_estate, finance_credit_debt, inheritance_wealth, slavery_manumission, ... other).
secondary_categories list<item: string> Further applicable categories.
subcategory string Free-text snake_case subcategory.
event_type string Free-text snake_case act; unextracted / no_event_extracted for placeholder rows.
event_status string Epistemic status: completed_transaction, acknowledgement, allegation, denial, testimony, legal_declaration, judicial_finding, court_order, imperial_or_official_order, petition, inspection_report, settlement, appointment, registration, subsequent_event, planned_or_conditional, reported_past_event, other.
claim_or_evidence_type string How the fact is supported in court: acknowledgement_ikrar, witness_testimony_beyyine, oath_yemin, refusal_of_oath_nukul, documentary, inspection_kesf, official_report, notoriety_or_common_knowledge, none_stated, not_applicable.
event_description_en string One- or two-sentence English description.
event_description_tr string Modern Turkish description.
depends_on_event_id string Event this one rests on (e.g. a judicial finding on an allegation).
event_attributes list<item: struct<key: string, value: string>> Event-specific key/value facts without a dedicated column.
participants list<struct ...> Persons in the event (struct list): role, names, titles, occupations, explicit gender/religion/status with evidence, origin, residence, relations.
instrumental_witnesses list<item: string> Names in the attestation list (şuhûdü'l-hâl) of the record.
amounts list<struct ...> Monetary amounts of this event (struct list): value, verbatim text, currency as written and normalized, kind, purpose, frequency, payment status, payer/payee, equivalence link.
assets list<struct ...> Assets of this event (struct list): type, descriptions, quantity, original unit, characteristics, ownership status, owner, location, value link.
source_transcription string Complete Latin-script transcription of the record as published.
translation_tr string Modern Turkish translation (machine).
translation_en string English translation (machine).
record_summary_en string Short English summary of the whole record (machine).
editor_footnotes list<item: string> Editors' footnotes attached to the record.
extraction_status string ok
extraction_model string Pipeline model configuration name.
extraction_model_version string Model id returned by the API.
extraction_effort string Reasoning effort setting.
extraction_prompt_version string Prompt + schema version hash.
extraction_timestamp timestamp[s, tz=UTC] When the extraction finished (UTC).
pipeline_version string Pipeline + PDF extractor version.
validation_status string auto_checks_passed
validation_issues list<struct ...> Issues found by deterministic checks (level, code, path, detail).
ambiguity_flags list<item: string> Model-reported doubts about this event.
record_ambiguity_flags list<item: string> Model-reported doubts about the record.
missing_information list<item: string> Information the model reports as absent (date torn, price not stated, ...).
model_confidence float The model's self-reported confidence. NOT a measure of accuracy.
human_review_status string not_reviewed

Nested struct fields

registration_date: date_id (string), expression (string), date_type (string), calendar (string), hijri_year (int32), hijri_month (int32), hijri_day (int32), hijri_day_range_start (int32), hijri_day_range_end (int32), qualifier (string), precision (string), gregorian_start (date32[day]), gregorian_end (date32[day]), julian_start (string), julian_end (string), western_civil_start (string), western_civil_end (string), uncertainty_days (int32), year_inferred_from_volume (bool), conversion_method (string), model_hijri_year (int32), model_hijri_month (int32), model_hijri_day (int32), parser_model_agree (bool), note (string)

event_dates: date_id (string), expression (string), date_type (string), calendar (string), hijri_year (int32), hijri_month (int32), hijri_day (int32), hijri_day_range_start (int32), hijri_day_range_end (int32), qualifier (string), precision (string), gregorian_start (date32[day]), gregorian_end (date32[day]), julian_start (string), julian_end (string), western_civil_start (string), western_civil_end (string), uncertainty_days (int32), year_inferred_from_volume (bool), conversion_method (string), model_hijri_year (int32), model_hijri_month (int32), model_hijri_day (int32), parser_model_agree (bool), note (string)

places: place_id (string), name_original (string), place_type (string), parent_name (string), modern_name (string), modern_country (string), latitude (double), longitude (double), geographic_precision (string), geocoding_source (string), evidence (string)

event_attributes: key (string), value (string)

participants: person_id (string), role (string), name_original (string), name_normalized (string), given_name (string), patronym (string), titles (list), occupations (list), occupations_en (list), gender_explicit (string), gender_evidence (string), religion_or_status_explicit (list), status_evidence (string), origin_explicit (string), residence_place (string), relations (list), is_court_official (bool)

amounts: amount_index (int32), value (double), value_text (string), currency_original (string), currency_normalized (string), amount_kind (string), payment_purpose (string), payment_frequency (string), payment_status (string), payer_person_id (string), payee_person_id (string), equivalent_to_index (int32), evidence (string)

assets: asset_type (string), description (string), description_original (string), quantity (double), unit_original (string), property_characteristics (list), ownership_status (string), owner_person_id (string), location_place (string), value_amount_index (int32), evidence (string)

validation_issues: level (string), code (string), path (string), detail (string)