home / openregs

entity_relationships

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

16 rows where parent_entity_id = 8174

✎ 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
2096 8174 8174 17840 17840 bmf_group_exemption bmf   0005     1.0   2026-04-19 18:34:11
3432 8174 8174 24095 24095 bmf_group_exemption bmf   0005     1.0   2026-04-19 18:34:11
50284 8174 8174 245811 245811 bmf_group_exemption bmf   0005     1.0   2026-04-19 18:34:11
56162 8174 8174 255461 255461 bmf_group_exemption bmf   0005     1.0   2026-04-19 18:34:11
57010 8174 8174 256947 256947 bmf_group_exemption bmf   0005     1.0   2026-04-19 18:34:11
57011 8174 8174 256948 256948 bmf_group_exemption bmf   0005     1.0   2026-04-19 18:34:11
57012 8174 8174 256949 256949 bmf_group_exemption bmf   0005     1.0   2026-04-19 18:34:11
57013 8174 8174 256950 256950 bmf_group_exemption bmf   0005     1.0   2026-04-19 18:34:11
57014 8174 8174 256951 256951 bmf_group_exemption bmf   0005     1.0   2026-04-19 18:34:11
57015 8174 8174 256952 256952 bmf_group_exemption bmf   0005     1.0   2026-04-19 18:34:11
57016 8174 8174 256953 256953 bmf_group_exemption bmf   0005     1.0   2026-04-19 18:34:11
57017 8174 8174 256954 256954 bmf_group_exemption bmf   0005     1.0   2026-04-19 18:34:11
57018 8174 8174 256955 256955 bmf_group_exemption bmf   0005     1.0   2026-04-19 18:34:11
57019 8174 8174 256956 256956 bmf_group_exemption bmf   0005     1.0   2026-04-19 18:34:11
57020 8174 8174 256957 256957 bmf_group_exemption bmf   0005     1.0   2026-04-19 18:34:11
337065 8174 8174 1439886 1439886 bmf_group_exemption bmf   0005     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 2866.81ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API