entity_relationships
Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API
2 rows where parent_entity_id = 21
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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 402781 | 21 21 | 2070928 2070928 | lobbying_affiliate | lobbying_affiliated_orgs | 26423fe6-2c94-43c9-8c57-34abda10bd78 | 1.0 | 2026-04-19 18:34:11 | ||||
| 402782 | 21 21 | 6503 6503 | lobbying_affiliate | lobbying_affiliated_orgs | 7042a935-0165-441b-b686-4fd3fca06a4c | 1.0 | 2026-04-19 18:34:11 |
Advanced export
JSON shape: default, array, newline-delimited, object
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);