v2: per-trial structured configs from Old Bailey Online XML 7.2

#4
by davanstrien HF Staff - opened
BigLAM: BigScience Libraries, Archives and Museums org

Replaces the session-level default config with three configs parsed from the same OBO XML 7.2 (figshare 10.15131/shef.data.4775434.v2 / dhi.ac.uk zip):

  • trials (default) β€” 197,751 rows, one per <div1 type="trialAccount">: full text, typed persons (defendant/victim/witness/juror/judiciary/unspecified with gender, age, occupation, place), offences (9 categories / 57 subcategories, crime date, place, linked victims), verdicts and punishments with categories, and the criminalCharge joins (defendant β†’ offence β†’ verdict); punishments resolved from part-1 punishmentSummary divs via defendantPunishment joins.
  • sessions β€” 2,163 rows, full session text (front matter etc. included) + typed persons.
  • ordinarys_accounts β€” 475 rows.

Also: licence corrected to CC BY-NC 4.0 (the source's licence.txt; the 2022 script hard-coded CC BY 4.0), dataset_info dropped (schema changed), parser added under scripts/. Previous parquet stays at revision e96ea6d. Card rewrite to follow in a separate PR once the data is reviewed.

Known: 1 duplicate trial id in the source (s16980504-1, two supplementary items) suffixed -dup2; 58.7% of part-1 persons carry no role in the source (unspecified); text in trials covers 96.9% of session text (non-trial divs live in sessions).

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment