home / openregs

entity_relationships

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

15 rows where parent_entity_id = 89378

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: source_ref, 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
402126 89378 89378 2227659 2227659 lobbying_affiliate lobbying_affiliated_orgs f5580df6-28ba-4c2f-8ecf-916444088a8e       1.0   2026-04-19 18:34:11
402127 89378 89378 295 295 lobbying_affiliate lobbying_affiliated_orgs f5580df6-28ba-4c2f-8ecf-916444088a8e       1.0   2026-04-19 18:34:11
402128 89378 89378 2277369 2277369 lobbying_affiliate lobbying_affiliated_orgs f5580df6-28ba-4c2f-8ecf-916444088a8e       1.0   2026-04-19 18:34:11
402129 89378 89378 983 983 lobbying_affiliate lobbying_affiliated_orgs f5580df6-28ba-4c2f-8ecf-916444088a8e       1.0   2026-04-19 18:34:11
402130 89378 89378 2058142 2058142 lobbying_affiliate lobbying_affiliated_orgs f5580df6-28ba-4c2f-8ecf-916444088a8e       1.0   2026-04-19 18:34:11
402131 89378 89378 1241 1241 lobbying_affiliate lobbying_affiliated_orgs f5580df6-28ba-4c2f-8ecf-916444088a8e       1.0   2026-04-19 18:34:11
402132 89378 89378 2049 2049 lobbying_affiliate lobbying_affiliated_orgs f5580df6-28ba-4c2f-8ecf-916444088a8e       1.0   2026-04-19 18:34:11
402133 89378 89378 88 88 lobbying_affiliate lobbying_affiliated_orgs f5580df6-28ba-4c2f-8ecf-916444088a8e       1.0   2026-04-19 18:34:11
402134 89378 89378 2141877 2141877 lobbying_affiliate lobbying_affiliated_orgs f5580df6-28ba-4c2f-8ecf-916444088a8e       1.0   2026-04-19 18:34:11
402135 89378 89378 2260521 2260521 lobbying_affiliate lobbying_affiliated_orgs f5580df6-28ba-4c2f-8ecf-916444088a8e       1.0   2026-04-19 18:34:11
402136 89378 89378 1301 1301 lobbying_affiliate lobbying_affiliated_orgs f5580df6-28ba-4c2f-8ecf-916444088a8e       1.0   2026-04-19 18:34:11
402137 89378 89378 2132163 2132163 lobbying_affiliate lobbying_affiliated_orgs f5580df6-28ba-4c2f-8ecf-916444088a8e       1.0   2026-04-19 18:34:11
402138 89378 89378 2272159 2272159 lobbying_affiliate lobbying_affiliated_orgs f5580df6-28ba-4c2f-8ecf-916444088a8e       1.0   2026-04-19 18:34:11
402398 89378 89378 505 505 lobbying_affiliate lobbying_affiliated_orgs fde01d21-e062-48da-a7ed-ef12b8e137d8       1.0   2026-04-19 18:34:11
402555 89378 89378 2106213 2106213 lobbying_affiliate lobbying_affiliated_orgs 4ff4b03b-cf6a-4302-9647-90ac988b9ab6       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 984.189ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API