entity_relationships
Data license: Public Domain (U.S. Government data) · Data source: U.S. government sources, plus a few identifier registries; each is listed on the methodology page
- effective_start
- Not populated: empty on every row (checked 2026-10-19).
- effective_end
- Not populated: empty on every row (checked 2026-10-19).
- group_exemption_holder_entity_id
- The organization whose IRS group exemption covers this one. Often a national body over its local chapters, but not necessarily a parent organization. Blank where the IRS names no holder, and for church groups for now. See the methodology page. Blank on links that aren't IRS group exemptions.
- parent_entity_id
- Not used for IRS group exemptions; see the holder column.
150 rows where parent_entity_id = 89378
This data as json, CSV (advanced)
| relationship_id ▼ | parent_entity_id | child_entity_id | relationship_type | source | source_ref | gen | effective_start | effective_end | confidence_score | notes | created_at | group_exemption_holder_entity_id |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | |||||
| 414551 | 89378 89378 | 2227659 2227659 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-06-16 13:47:07 | |||||
| 414552 | 89378 89378 | 295 295 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-06-16 13:47:07 | |||||
| 414553 | 89378 89378 | 2277369 2277369 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-06-16 13:47:07 | |||||
| 414554 | 89378 89378 | 983 983 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-06-16 13:47:07 | |||||
| 414555 | 89378 89378 | 2058142 2058142 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-06-16 13:47:07 | |||||
| 414556 | 89378 89378 | 1241 1241 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-06-16 13:47:07 | |||||
| 414557 | 89378 89378 | 2049 2049 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-06-16 13:47:07 | |||||
| 414558 | 89378 89378 | 88 88 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-06-16 13:47:07 | |||||
| 414559 | 89378 89378 | 2141877 2141877 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-06-16 13:47:07 | |||||
| 414560 | 89378 89378 | 2260521 2260521 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-06-16 13:47:07 | |||||
| 414561 | 89378 89378 | 1301 1301 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-06-16 13:47:07 | |||||
| 414562 | 89378 89378 | 2132163 2132163 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-06-16 13:47:07 | |||||
| 414563 | 89378 89378 | 2272159 2272159 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-06-16 13:47:07 | |||||
| 414836 | 89378 89378 | 505 505 | lobbying_affiliate | lobbying_affiliated_orgs | fde01d21-e062-48da-a7ed-ef12b8e137d8 | 1.0 | 2026-06-16 13:47:07 | |||||
| 415051 | 89378 89378 | 2106213 2106213 | lobbying_affiliate | lobbying_affiliated_orgs | 4ff4b03b-cf6a-4302-9647-90ac988b9ab6 | 1.0 | 2026-06-16 13:47:07 | |||||
| 418128 | 89378 89378 | 2227659 2227659 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-07-16 12:00:41 | |||||
| 418129 | 89378 89378 | 295 295 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-07-16 12:00:41 | |||||
| 418130 | 89378 89378 | 2277369 2277369 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-07-16 12:00:41 | |||||
| 418131 | 89378 89378 | 983 983 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-07-16 12:00:41 | |||||
| 418132 | 89378 89378 | 2058142 2058142 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-07-16 12:00:41 | |||||
| 418133 | 89378 89378 | 1241 1241 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-07-16 12:00:41 | |||||
| 418134 | 89378 89378 | 2049 2049 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-07-16 12:00:41 | |||||
| 418135 | 89378 89378 | 88 88 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-07-16 12:00:41 | |||||
| 418136 | 89378 89378 | 2141877 2141877 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-07-16 12:00:41 | |||||
| 418137 | 89378 89378 | 2260521 2260521 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-07-16 12:00:41 | |||||
| 418138 | 89378 89378 | 1301 1301 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-07-16 12:00:41 | |||||
| 418139 | 89378 89378 | 2132163 2132163 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-07-16 12:00:41 | |||||
| 418140 | 89378 89378 | 2272159 2272159 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-07-16 12:00:41 | |||||
| 418413 | 89378 89378 | 505 505 | lobbying_affiliate | lobbying_affiliated_orgs | fde01d21-e062-48da-a7ed-ef12b8e137d8 | 1.0 | 2026-07-16 12:00:41 | |||||
| 418628 | 89378 89378 | 2106213 2106213 | lobbying_affiliate | lobbying_affiliated_orgs | 4ff4b03b-cf6a-4302-9647-90ac988b9ab6 | 1.0 | 2026-07-16 12:00:41 | |||||
| 422001 | 89378 89378 | 2227659 2227659 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 13:13:49 | |||||
| 422002 | 89378 89378 | 295 295 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 13:13:49 | |||||
| 422003 | 89378 89378 | 2277369 2277369 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 13:13:49 | |||||
| 422004 | 89378 89378 | 983 983 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 13:13:49 | |||||
| 422005 | 89378 89378 | 2058142 2058142 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 13:13:49 | |||||
| 422006 | 89378 89378 | 1241 1241 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 13:13:49 | |||||
| 422007 | 89378 89378 | 2049 2049 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 13:13:49 | |||||
| 422008 | 89378 89378 | 88 88 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 13:13:49 | |||||
| 422009 | 89378 89378 | 2141877 2141877 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 13:13:49 | |||||
| 422010 | 89378 89378 | 2260521 2260521 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 13:13:49 | |||||
| 422011 | 89378 89378 | 1301 1301 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 13:13:49 | |||||
| 422012 | 89378 89378 | 2132163 2132163 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 13:13:49 | |||||
| 422013 | 89378 89378 | 2272159 2272159 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 13:13:49 | |||||
| 422286 | 89378 89378 | 505 505 | lobbying_affiliate | lobbying_affiliated_orgs | fde01d21-e062-48da-a7ed-ef12b8e137d8 | 1.0 | 2026-08-16 13:13:49 | |||||
| 422501 | 89378 89378 | 2106213 2106213 | lobbying_affiliate | lobbying_affiliated_orgs | 4ff4b03b-cf6a-4302-9647-90ac988b9ab6 | 1.0 | 2026-08-16 13:13:49 | |||||
| 425661 | 89378 89378 | 2227659 2227659 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 16:24:26 | |||||
| 425662 | 89378 89378 | 295 295 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 16:24:26 | |||||
| 425663 | 89378 89378 | 2277369 2277369 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 16:24:26 | |||||
| 425664 | 89378 89378 | 983 983 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 16:24:26 | |||||
| 425665 | 89378 89378 | 2058142 2058142 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 16:24:26 | |||||
| 425666 | 89378 89378 | 1241 1241 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 16:24:26 | |||||
| 425667 | 89378 89378 | 2049 2049 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 16:24:26 | |||||
| 425668 | 89378 89378 | 88 88 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 16:24:26 | |||||
| 425669 | 89378 89378 | 2141877 2141877 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 16:24:26 | |||||
| 425670 | 89378 89378 | 2260521 2260521 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 16:24:26 | |||||
| 425671 | 89378 89378 | 1301 1301 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 16:24:26 | |||||
| 425672 | 89378 89378 | 2132163 2132163 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 16:24:26 | |||||
| 425673 | 89378 89378 | 2272159 2272159 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 16:24:26 | |||||
| 425946 | 89378 89378 | 505 505 | lobbying_affiliate | lobbying_affiliated_orgs | fde01d21-e062-48da-a7ed-ef12b8e137d8 | 1.0 | 2026-08-16 16:24:26 | |||||
| 426161 | 89378 89378 | 2106213 2106213 | lobbying_affiliate | lobbying_affiliated_orgs | 4ff4b03b-cf6a-4302-9647-90ac988b9ab6 | 1.0 | 2026-08-16 16:24:26 | |||||
| 429242 | 89378 89378 | 2227659 2227659 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 23:21:09 | |||||
| 429243 | 89378 89378 | 295 295 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 23:21:09 | |||||
| 429244 | 89378 89378 | 2277369 2277369 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 23:21:09 | |||||
| 429245 | 89378 89378 | 983 983 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 23:21:09 | |||||
| 429246 | 89378 89378 | 2058142 2058142 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 23:21:09 | |||||
| 429247 | 89378 89378 | 1241 1241 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 23:21:09 | |||||
| 429248 | 89378 89378 | 2049 2049 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 23:21:09 | |||||
| 429249 | 89378 89378 | 88 88 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 23:21:09 | |||||
| 429250 | 89378 89378 | 2141877 2141877 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 23:21:09 | |||||
| 429251 | 89378 89378 | 2260521 2260521 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 23:21:09 | |||||
| 429252 | 89378 89378 | 1301 1301 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 23:21:09 | |||||
| 429253 | 89378 89378 | 2132163 2132163 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 23:21:09 | |||||
| 429254 | 89378 89378 | 2272159 2272159 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-08-16 23:21:09 | |||||
| 429527 | 89378 89378 | 505 505 | lobbying_affiliate | lobbying_affiliated_orgs | fde01d21-e062-48da-a7ed-ef12b8e137d8 | 1.0 | 2026-08-16 23:21:09 | |||||
| 429742 | 89378 89378 | 2106213 2106213 | lobbying_affiliate | lobbying_affiliated_orgs | 4ff4b03b-cf6a-4302-9647-90ac988b9ab6 | 1.0 | 2026-08-16 23:21:09 | |||||
| 436887 | 89378 89378 | 2227659 2227659 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-09-16 13:19:03 | |||||
| 436888 | 89378 89378 | 295 295 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-09-16 13:19:03 | |||||
| 436889 | 89378 89378 | 2277369 2277369 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-09-16 13:19:03 | |||||
| 436890 | 89378 89378 | 983 983 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-09-16 13:19:03 | |||||
| 436891 | 89378 89378 | 2058142 2058142 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-09-16 13:19:03 | |||||
| 436892 | 89378 89378 | 1241 1241 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-09-16 13:19:03 | |||||
| 436893 | 89378 89378 | 2049 2049 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-09-16 13:19:03 | |||||
| 436894 | 89378 89378 | 88 88 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-09-16 13:19:03 | |||||
| 436895 | 89378 89378 | 2141877 2141877 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-09-16 13:19:03 | |||||
| 436896 | 89378 89378 | 2260521 2260521 | lobbying_affiliate | lobbying_affiliated_orgs | f5580df6-28ba-4c2f-8ecf-916444088a8e | 1.0 | 2026-09-16 13:19:03 |
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, group_exemption_holder_entity_id INTEGER REFERENCES entities(entity_id) CHECK (group_exemption_holder_entity_id IS NULL OR group_exemption_holder_entity_id != child_entity_id),
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);
CREATE UNIQUE INDEX uq_er_fec_connected
ON entity_relationships(child_entity_id, relationship_type, source, source_ref)
WHERE source='fec_connected_org';
CREATE INDEX idx_er_group_exemption_holder ON entity_relationships(group_exemption_holder_entity_id) WHERE group_exemption_holder_entity_id IS NOT NULL;