home / openregs

entity_relationships

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

12 rows where parent_entity_id = 10888

✎ 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
74 10888 10888 8239 8239 bmf_group_exemption bmf   5247     1.0   2026-04-19 18:34:11
91 10888 10888 8337 8337 bmf_group_exemption bmf   5247     1.0   2026-04-19 18:34:11
123 10888 10888 8491 8491 bmf_group_exemption bmf   5247     1.0   2026-04-19 18:34:11
280 10888 10888 9250 9250 bmf_group_exemption bmf   5247     1.0   2026-04-19 18:34:11
304 10888 10888 9334 9334 bmf_group_exemption bmf   5247     1.0   2026-04-19 18:34:11
405 10888 10888 9688 9688 bmf_group_exemption bmf   5247     1.0   2026-04-19 18:34:11
488 10888 10888 10025 10025 bmf_group_exemption bmf   5247     1.0   2026-04-19 18:34:11
6916 10888 10888 40672 40672 bmf_group_exemption bmf   5247     1.0   2026-04-19 18:34:11
35624 10888 10888 195029 195029 bmf_group_exemption bmf   5247     1.0   2026-04-19 18:34:11
37449 10888 10888 203843 203843 bmf_group_exemption bmf   5247     1.0   2026-04-19 18:34:11
334467 10888 10888 1402683 1402683 bmf_group_exemption bmf   5247     1.0   2026-04-19 18:34:11
342131 10888 10888 1485851 1485851 bmf_group_exemption bmf   5247     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 83.18ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API