home / openregs

entity_relationships

Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API

31 rows where parent_entity_id = 8138

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at (date)

relationship_id ▼ parent_entity_id child_entity_id relationship_type source source_ref gen effective_start effective_end confidence_score notes created_at
418 8138 8138 9762 9762 bmf_group_exemption bmf   0302     1.0   2026-04-19 18:34:11
1746 8138 8138 16965 16965 bmf_group_exemption bmf   0302     1.0   2026-04-19 18:34:11
54742 8138 8138 253719 253719 bmf_group_exemption bmf   0302     1.0   2026-04-19 18:34:11
57292 8138 8138 257400 257400 bmf_group_exemption bmf   0302     1.0   2026-04-19 18:34:11
66482 8138 8138 274891 274891 bmf_group_exemption bmf   0302     1.0   2026-04-19 18:34:11
66483 8138 8138 274892 274892 bmf_group_exemption bmf   0302     1.0   2026-04-19 18:34:11
66484 8138 8138 274893 274893 bmf_group_exemption bmf   0302     1.0   2026-04-19 18:34:11
66485 8138 8138 274894 274894 bmf_group_exemption bmf   0302     1.0   2026-04-19 18:34:11
66486 8138 8138 274895 274895 bmf_group_exemption bmf   0302     1.0   2026-04-19 18:34:11
77716 8138 8138 293357 293357 bmf_group_exemption bmf   0302     1.0   2026-04-19 18:34:11
77717 8138 8138 293358 293358 bmf_group_exemption bmf   0302     1.0   2026-04-19 18:34:11
77718 8138 8138 293359 293359 bmf_group_exemption bmf   0302     1.0   2026-04-19 18:34:11
77719 8138 8138 293360 293360 bmf_group_exemption bmf   0302     1.0   2026-04-19 18:34:11
77720 8138 8138 293361 293361 bmf_group_exemption bmf   0302     1.0   2026-04-19 18:34:11
77721 8138 8138 293362 293362 bmf_group_exemption bmf   0302     1.0   2026-04-19 18:34:11
77722 8138 8138 293363 293363 bmf_group_exemption bmf   0302     1.0   2026-04-19 18:34:11
77723 8138 8138 293364 293364 bmf_group_exemption bmf   0302     1.0   2026-04-19 18:34:11
77724 8138 8138 293365 293365 bmf_group_exemption bmf   0302     1.0   2026-04-19 18:34:11
77725 8138 8138 293366 293366 bmf_group_exemption bmf   0302     1.0   2026-04-19 18:34:11
77726 8138 8138 293367 293367 bmf_group_exemption bmf   0302     1.0   2026-04-19 18:34:11
77727 8138 8138 293368 293368 bmf_group_exemption bmf   0302     1.0   2026-04-19 18:34:11
77728 8138 8138 293369 293369 bmf_group_exemption bmf   0302     1.0   2026-04-19 18:34:11
77729 8138 8138 293370 293370 bmf_group_exemption bmf   0302     1.0   2026-04-19 18:34:11
77730 8138 8138 293371 293371 bmf_group_exemption bmf   0302     1.0   2026-04-19 18:34:11
77731 8138 8138 293372 293372 bmf_group_exemption bmf   0302     1.0   2026-04-19 18:34:11
77732 8138 8138 293373 293373 bmf_group_exemption bmf   0302     1.0   2026-04-19 18:34:11
77733 8138 8138 293374 293374 bmf_group_exemption bmf   0302     1.0   2026-04-19 18:34:11
77734 8138 8138 293375 293375 bmf_group_exemption bmf   0302     1.0   2026-04-19 18:34:11
77735 8138 8138 293376 293376 bmf_group_exemption bmf   0302     1.0   2026-04-19 18:34:11
77736 8138 8138 293377 293377 bmf_group_exemption bmf   0302     1.0   2026-04-19 18:34:11
77737 8138 8138 293378 293378 bmf_group_exemption bmf   0302     1.0   2026-04-19 18:34:11

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE entity_relationships (
    relationship_id INTEGER PRIMARY KEY,
    parent_entity_id INTEGER,            -- NULL when parent is unknown (e.g., BMF GEN with no resolved central)
    child_entity_id INTEGER NOT NULL,
    relationship_type TEXT NOT NULL,     -- 'subsidiary_of' | 'parent_of' | 'affiliated_pac'
                                         -- | 'founder_family' | 'foreign_controlled' | 'joint_venture'
                                         -- | 'predecessor_to' | 'successor_to'
                                         -- | 'bmf_group_exemption' | 'lobbying_affiliate'
    source TEXT NOT NULL,                -- 'bmf' | 'sec_exhibit_21' | 'lobbying_affiliated_orgs'
                                         -- | 'gleif_successor' | 'fec_connected_org' | 'manual'
    source_ref TEXT,                     -- filing_uuid / accession_number / GEN / etc.
    gen TEXT,                            -- IRS Group Exemption Number when source='bmf'
    effective_start TEXT,
    effective_end TEXT,
    confidence_score REAL NOT NULL DEFAULT 1.0,
    notes TEXT,
    created_at TEXT NOT NULL,
    FOREIGN KEY (parent_entity_id) REFERENCES entities(entity_id),
    FOREIGN KEY (child_entity_id) REFERENCES entities(entity_id),
    CHECK (parent_entity_id IS NULL OR parent_entity_id != child_entity_id)
);
CREATE INDEX idx_er_parent ON entity_relationships(parent_entity_id) WHERE parent_entity_id IS NOT NULL;
CREATE INDEX idx_er_child ON entity_relationships(child_entity_id);
CREATE INDEX idx_er_type ON entity_relationships(relationship_type);
CREATE INDEX idx_er_gen ON entity_relationships(gen) WHERE gen IS NOT NULL;
CREATE INDEX idx_er_source ON entity_relationships(source);
CREATE INDEX idx_er_gen_child ON entity_relationships(gen, child_entity_id);
Powered by Datasette · Queries took 1655.991ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API