RevX_Entities / README.md
chadchoquette2026's picture
Non-person consolidated entities and ID registry (RevX-388)
c85ffd0 verified
|
Raw History Blame Contribute Delete
3.39 kB
metadata
license: cc0-1.0
pretty_name: Revolution Crossroads entities (places, dates, organizations and more)
tags:
  - named-entity-recognition
  - entity-resolution
  - history
  - american-revolution
configs:
  - config_name: entities
    data_files: entities.parquet
    default: true
  - config_name: entity_registry
    data_files: entity_registry.parquet

Revolution Crossroads: entities (non-person types)

The names of places, dates, organizations, events, peoples (NORP) and ships found in 1770–1810 records (NARA pension files, Chronicling America newspapers, Smithsonian catalog records), grouped so that each real-world thing has one entity ID.

24,577,430 mentions → 1,353,089 entities. People are not included yet; they need more steps to tell apart people who share a name.

Related datasets

Dataset What it holds
RevolutionCrossroads/RevX_Entities (this one) One row per entity, and the registry of every ID
RevolutionCrossroads/RevX_Entities_Occurrences_Join mention_id → entity_id for all 24,577,430 mentions
RevolutionCrossroads/RevX_Entities_Variants Every spelling of each entity, as written
RevolutionCrossroads/RevX_NER_Entity_Occurrences The mentions themselves (NER_v2.1, with mention_id)

All of them join on entity_id; the join dataset links each mention_id in the occurrences dataset to its entity.

Tables

Table Rows Columns
entities 1,353,089 entity_id, entity_type, canonical_name, mentions, variant_count
entity_registry 1,699,202 every ID ever issued: entity_id, entity_type, canonical_name, status (active or merged), merged_into, created_in_run, retired_in_run

Entities by type

Type Entities Mentions
geographic_location 257,638 11,941,456
calendar_date 108,950 4,284,648
organization 481,746 2,931,637
named_place 310,553 1,947,427
temporal_event 108,631 1,868,388
named_event 26,584 664,071
named_vessel 49,090 490,393
norp 9,897 449,410

How entities were grouped (no model used)

  • Dates join on the same ISO date; the canonical name is the ISO date (e.g. 1776-07-04).
  • Places join on the cleaned name, with a table of abbreviations (Mass., Penn., N.Y.).
  • NORP and events join on the exact cleaned name.
  • Ships join across records and are split by vessel type read from the name (brig, schooner, sloop, frigate…). An untyped name joins a typed ship only when one type is known for that name.
  • Canonical name: the most frequent spelling that is not abbreviated, with its original capitals and punctuation; ALL CAPS and all-lowercase spellings rank last.

IDs

IDs look like RX0000001. They are assigned once and never reused: when entities merge, the merged ID stays in entity_registry with status = merged and merged_into (346,113 merged IDs). People will get IDs after the last of these.

Limits

  • Names are grouped by spelling and simple rules, so different places with the same name (two towns called Salem) can share an entity, and OCR errors can create extra entities.
  • The mentions come from AI extraction over OCR text; see the occurrences dataset for its quality notes.

Code: RevolutionCrossroads/RevX, pipelines/entities/graph/publish/export_other_types.py.