home / openregs

entity_relationships

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

30 rows where parent_entity_id = 8365

✎ 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
442 8365 8365 9867 9867 bmf_group_exemption bmf   1076     1.0   2026-04-19 18:34:11
460 8365 8365 9922 9922 bmf_group_exemption bmf   1076     1.0   2026-04-19 18:34:11
484 8365 8365 10014 10014 bmf_group_exemption bmf   1076     1.0   2026-04-19 18:34:11
495 8365 8365 10051 10051 bmf_group_exemption bmf   1076     1.0   2026-04-19 18:34:11
497 8365 8365 10058 10058 bmf_group_exemption bmf   1076     1.0   2026-04-19 18:34:11
503 8365 8365 10109 10109 bmf_group_exemption bmf   1076     1.0   2026-04-19 18:34:11
515 8365 8365 10177 10177 bmf_group_exemption bmf   1076     1.0   2026-04-19 18:34:11
530 8365 8365 10253 10253 bmf_group_exemption bmf   1076     1.0   2026-04-19 18:34:11
552 8365 8365 10384 10384 bmf_group_exemption bmf   1076     1.0   2026-04-19 18:34:11
590 8365 8365 10607 10607 bmf_group_exemption bmf   1076     1.0   2026-04-19 18:34:11
597 8365 8365 10688 10688 bmf_group_exemption bmf   1076     1.0   2026-04-19 18:34:11
620 8365 8365 10805 10805 bmf_group_exemption bmf   1076     1.0   2026-04-19 18:34:11
4725 8365 8365 30414 30414 bmf_group_exemption bmf   1076     1.0   2026-04-19 18:34:11
19578 8365 8365 109753 109753 bmf_group_exemption bmf   1076     1.0   2026-04-19 18:34:11
97552 8365 8365 369439 369439 bmf_group_exemption bmf   1076     1.0   2026-04-19 18:34:11
100165 8365 8365 389614 389614 bmf_group_exemption bmf   1076     1.0   2026-04-19 18:34:11
133848 8365 8365 567517 567517 bmf_group_exemption bmf   1076     1.0   2026-04-19 18:34:11
192935 8365 8365 783869 783869 bmf_group_exemption bmf   1076     1.0   2026-04-19 18:34:11
193067 8365 8365 785032 785032 bmf_group_exemption bmf   1076     1.0   2026-04-19 18:34:11
193202 8365 8365 786018 786018 bmf_group_exemption bmf   1076     1.0   2026-04-19 18:34:11
206816 8365 8365 880606 880606 bmf_group_exemption bmf   1076     1.0   2026-04-19 18:34:11
209429 8365 8365 906823 906823 bmf_group_exemption bmf   1076     1.0   2026-04-19 18:34:11
329306 8365 8365 1349413 1349413 bmf_group_exemption bmf   1076     1.0   2026-04-19 18:34:11
334444 8365 8365 1402327 1402327 bmf_group_exemption bmf   1076     1.0   2026-04-19 18:34:11
334800 8365 8365 1407872 1407872 bmf_group_exemption bmf   1076     1.0   2026-04-19 18:34:11
371825 8365 8365 1706894 1706894 bmf_group_exemption bmf   1076     1.0   2026-04-19 18:34:11
371826 8365 8365 1706895 1706895 bmf_group_exemption bmf   1076     1.0   2026-04-19 18:34:11
371828 8365 8365 1706898 1706898 bmf_group_exemption bmf   1076     1.0   2026-04-19 18:34:11
371829 8365 8365 1706899 1706899 bmf_group_exemption bmf   1076     1.0   2026-04-19 18:34:11
401373 8365 8365 1934025 1934025 bmf_group_exemption bmf   1076     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 12.422ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API