home / openregs

entity_relationships

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

11 rows where parent_entity_id = 2145690

✎ 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
401960 2145690 2145690 2260642 2260642 lobbying_affiliate lobbying_affiliated_orgs 77da14d0-b49a-4647-8843-b0cdabf40c67       1.0   2026-04-19 18:34:11
401961 2145690 2145690 2092180 2092180 lobbying_affiliate lobbying_affiliated_orgs 77da14d0-b49a-4647-8843-b0cdabf40c67       1.0   2026-04-19 18:34:11
401962 2145690 2145690 2272587 2272587 lobbying_affiliate lobbying_affiliated_orgs 77da14d0-b49a-4647-8843-b0cdabf40c67       1.0   2026-04-19 18:34:11
401963 2145690 2145690 2248810 2248810 lobbying_affiliate lobbying_affiliated_orgs 77da14d0-b49a-4647-8843-b0cdabf40c67       1.0   2026-04-19 18:34:11
401964 2145690 2145690 2279158 2279158 lobbying_affiliate lobbying_affiliated_orgs 77da14d0-b49a-4647-8843-b0cdabf40c67       1.0   2026-04-19 18:34:11
401966 2145690 2145690 780 780 lobbying_affiliate lobbying_affiliated_orgs 8dfc440e-d058-4bf4-9172-06d9c51b6fb7       1.0   2026-04-19 18:34:11
401979 2145690 2145690 2053701 2053701 lobbying_affiliate lobbying_affiliated_orgs 0c92024c-f228-46ad-baa1-63f460651de9       1.0   2026-04-19 18:34:11
402009 2145690 2145690 2202651 2202651 lobbying_affiliate lobbying_affiliated_orgs cf19cbca-877f-42e6-a91b-749ca335f5c8       1.0   2026-04-19 18:34:11
402829 2145690 2145690 2076258 2076258 lobbying_affiliate lobbying_affiliated_orgs b68a97e8-089c-4c55-89b4-cbea8daf45e2       1.0   2026-04-19 18:34:11
402830 2145690 2145690 33302 33302 lobbying_affiliate lobbying_affiliated_orgs 274d748b-bdaf-4f0c-b042-3be9551802b4       1.0   2026-04-19 18:34:11
402836 2145690 2145690 1102723 1102723 lobbying_affiliate lobbying_affiliated_orgs bc361ad4-cd60-4db4-989a-855fc04c2af0       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 4649.194ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API