D3 sql+executed, run 2: the query session

← back to the run

18 queries0 failed5 rounds
The opening prompt
## The data

You can't see the data, but you can query it. It is in DuckDB, in the tables below. Write DuckDB SQL.

To run queries, reply with one or more fenced blocks (```sql), and nothing else is needed:
each is run and its results sent back to you. You have up to 8 rounds of queries.
When you have what you need, reply with the final answers and no queries.

All columns are text (VARCHAR); dates are ISO strings.

- `entities` (497 rows): entity_id, name, lei, country, entity_type, parent_id, ultimate_parent_id, record_ids
- `instruments` (122 rows): instrument_id, description, issuer_id, guarantor_id, credit_risk_of, seniority, currency, local_currency, maturity
- `ratings` (869 rows): rated_id, rating_type, ccy_basis, rating, outlook, watch, action, valid_from, valid_to, action_id
- `ceilings` (2 rows): country, ceiling, valid_from
- `ancestors` (608 rows): entity_id, ancestor_id, levels_up

These tables are the data after its rules have been applied: duplicate records merged into one entity (record_ids lists the records each entity merges), and each rating with the period it held. An empty valid_to means the rating was still in force on 1 October 2026. ancestors lists every entity above each entity in its chain of parents, with how many levels up.

## Questions

Answer each question below from the data above. Start each answer on a new line with its
number in bold, like **Q1.**, give the direct answer first, then at most two sentences of
reasoning that cite the records (IDs) you relied on.

Then end with one JSON block (```json) holding the structured answer to each question listed
here, with exactly these fields, shaped like {"Q1": {"field": value}, ...}. Name entities by their record ID: the entity_id in the CSV files, or the part of the IRI after lad: in the RDF (E01, not Kestrel Energy plc).

- Q1: rating (a rating, or "none")
- Q2: downgraded ("yes", "no" or "depends")
- Q3: investment_grade ("yes", "no" or "depends"), rating (a rating, or "none")
- Q4: outlook (an outlook)
- Q5: risk_of (a record ID), rating (a rating, or "none")
- Q7: issuers (a list of record IDs)
- Q8: entities (a list of record IDs)
- Q9: count (a number)
- Q10: investment_grade ("yes", "no" or "depends")
- Q11: rating (a rating, or "none")
- Q12: rating (a rating, or "none")
- Q13: count (a number)
- Q14: rating (a rating, or "none")
- Q15: rating (a rating, or "none")
- Q16: changed ("yes", "no" or "depends")
- Q17: downgraded ("yes", "no" or "depends")
- Q18: issuers (a list of record IDs)
- Q19: issuers (a list of record IDs)
- Q20: in_default ("yes", "no" or "depends")
- Q21: entities (a list of record IDs)
- Q22: entities (a list of record IDs)
- Q23: rating (a rating, or "none")
- Q24: investment_grade ("yes", "no" or "depends")
- Q25: count (a number)
- Q26: rating (a rating, or "none")
- Q27: rating (a rating, or "none")
- Q28: rating (a rating, or "none")
- Q29: rating (a rating, or "none")
- Q30: entities (a list of record IDs)
- Q31: any ("yes", "no" or "depends")
- Q32: parent (a record ID)
- Q33: risk_of (a record ID), rating (a rating, or "none")
- Q34: same_group ("yes", "no" or "depends")
- Q35: count (a number)
- Q36: count (a number)
- Q37: count (a number)
- Q38: same ("yes", "no" or "depends")
- Q39: rating (a rating, or "none")
- Q40: count (a number)
- Q41: rating (a rating, or "none")
- Q42: country (a country code)
- Q43: count (a number)
- Q44: local_currency ("yes", "no" or "depends")
- Q45: above_ceiling ("yes", "no" or "depends")
- Q46: issuer_rating ("yes", "no" or "depends")
- Q47: rating (a rating, or "none")
- Q48: count (a number)
- Q49: parent (a record ID)
- Q50: count (a number)
- Q51: count (a number)
- Q52: count (a number)
- Q53: same_group ("yes", "no" or "depends")
- Q54: entities (a list of record IDs)
- Q55: count (a number)
- Q56: rating (a rating, or "none")
- Q57: entity (a record ID)
- Q58: entities (a list of record IDs)
- Q59: count (a number)
- Q60: risk_of (a record ID), same_group ("yes", "no" or "depends")
- Q61: count (a number)

Q1. What was Kestrel Energy's rating on 1 January 2025?
Q2. Has Kestrel Energy been downgraded in 2026?
Q3. Is Kestrel Energy's 2031 note investment grade?
Q4. What is Northwind Holdings' current outlook?
Q5. Whose credit risk does a holder of the Northwind Finance 2030 notes take, and how is it rated?
Q6. Why is Valdoria Telecom's foreign-currency rating lower than its local-currency rating?
Q7. Which issuers were downgraded in 2026?
Q8. Which entities were in default on 1 October 2026?
Q9. As of 1 October 2026, how many distinct issuers hold an issuer rating?
Q10. Is Valdoria Telecom investment grade?
Q11. What was Marlow Utilities' rating on 1 June 2025?
Q12. What was Marlow Utilities' rating on 1 January 2024?
Q13. How many times has Marlow Utilities been downgraded?
Q14. What was Halden Foods' rating on 1 January 2024?
Q15. What was Halden Bank's rating on 1 January 2026?
Q16. Has Marlow Utilities' rating changed since 1 January 2025?
Q17. Was Orrin Bank downgraded in 2026?
Q18. Which issuers were on Rating Watch Negative on 1 October 2026?
Q19. Which issuers had a Negative outlook on 1 October 2026?
Q20. Is Pellam Retail in default?
Q21. Which entities had an issuer rating at some point but no longer had one on 1 October 2026?
Q22. Which entities have ever been in default?
Q23. What is Kestrel Energy's short-term rating?
Q24. Is Kestrel Energy's issuer rating investment grade?
Q25. How many instruments held an investment-grade rating on 1 October 2026?
Q26. What is Corvenia Power's local-currency rating?
Q27. How is Corvenia Power's 2032 note rated?
Q28. What is the Republic of Corvenia's foreign-currency issuer rating?
Q29. What is the Republic of Valdoria's issuer rating?
Q30. Which entities had a foreign-currency issuer rating exactly at their country's ceiling on 1 October 2026?
Q31. Did any company have a foreign-currency issuer rating above its country's ceiling on 1 October 2026?
Q32. Who is Halden Leasing's ultimate parent?
Q33. Whose credit risk does a holder of the Halden Leasing 2028 notes take, and how is it rated?
Q34. Is Halden Foods part of the same group as Halden Bank?
Q35. How many entities are in the Halden group, the parent included?
Q36. How many entities are in the Northwind group, the parent included?
Q37. How many distinct legal entities does the data describe?
Q38. Are Orrin Bank AG and Orrin Bancorp Inc the same entity?
Q39. What is Northwind Holdings' current rating?
Q40. How many distinct issuers domiciled in GB held an issuer rating on 1 October 2026?
Q41. What is Brindle Capital's current rating?
Q42. In which country is Halden Bank domiciled?
Q43. How many distinct entities are domiciled in Luxembourg (LU)?
Q44. Is Valdoria Telecom's 2027 note a local-currency obligation?
Q45. Is Valdoria Telecom's 2027 note rated above what Valdoria's Country Ceiling allows?
Q46. Does Halden Leasing have an issuer rating?
Q47. How is Corvenia Power's 2034 note rated?
Q48. How many instruments held a rating on 1 October 2026?
Q49. Who is Cerid Rosor Holdings SA's ultimate parent?
Q50. How many levels of ownership separate Cerid Rosor Holdings SA from its ultimate parent?
Q51. How many entities are in the Cerid Group plc group, the parent included?
Q52. How many entities are in the Rotam Group Inc group, the parent included?
Q53. Are Belir Mining SA and Rotam Group Inc in the same group?
Q54. Which members of the Wonod Group SA group are domiciled in Valdoria (VD)?
Q55. If Valdoria (VD) came under stress, how many entities with an issuer rating in force have an entity domiciled in VD somewhere above them in their chain of parents?
Q56. What is the lowest current foreign-currency issuer rating held by any member of the Vesol Group BV group?
Q57. Which is the nearest entity that Cerid Guven Energy SA and Cerid Telecom SA both have in their chains of parents?
Q58. Which entities guarantee a note issued by an entity outside their own group?
Q59. How many entities in the Cerid Group plc group sit exactly three levels below the top?
Q60. Whose credit risk does a holder of the Cross-group 4.75% notes due 2031 take, and is that entity in the same group as the issuer?
Q61. How many members of the Cerid Group plc group, the top included, hold a foreign-currency issuer rating below investment grade?
The model
I'll start by exploring the schema and key rows.

```sql
SELECT * FROM entities WHERE name ILIKE '%Kestrel%' OR name ILIKE '%Northwind%' OR name ILIKE '%Valdoria%' OR name ILIKE '%Marlow%' OR name ILIKE '%Halden%' OR name ILIKE '%Orrin%' OR name ILIKE '%Pellam%' OR name ILIKE '%Corvenia%' OR name ILIKE '%Brindle%' OR name ILIKE '%Cerid%' OR name ILIKE '%Rotam%' OR name ILIKE '%Belir%' OR name ILIKE '%Wonod%' OR name ILIKE '%Vesol%' ORDER BY name;
```
```sql
SELECT * FROM instruments ORDER BY instrument_id;
```
```sql
SELECT * FROM ceilings;
```
```sql
SELECT rating_type, ccy_basis, count(*) FROM ratings GROUP BY ALL;
```
Query results
Query 1:

| entity_id | name | lei | country | entity_type | parent_id | ultimate_parent_id | record_ids |
|---|---|---|---|---|---|---|---|
| E5083 | Belir Airlines plc | 815600VWRV7PTZ2G2598 | GB | CORP | E5075 | E5059 | E5083 |
| E5082 | Belir Bovid Telecom plc | 815600N0YPG44MRFH213 | GB | BANK | E5074 | E5059 | E5082 |
| E5067 | Belir Capital AG | 724500PEM92TFIBH3E89 | DE | CORP | E5063 | E5059 | E5067 |
| E5071 | Belir Chemicals SA | 724500EPR0DH4ZXK1N07 | FR | CORP | E5066 | E5059 | E5071 |
| E5080 | Belir Foods AG | 815600W19TGJNKXFFO22 | DE | CORP | E5072 | E5059 | E5080 |
| E5075 | Belir Gitid Industries plc | 815600DW5IX6LC8W8V29 | GB | CORP | E5068 | E5059 | E5075 |
| E5059 | Belir Group AG | 969500YPO4CFVEL1XX12 | DE | CORP |  |  | E5059 |
| E5063 | Belir Harem Property AG | 391200DIHCC3BA4VZZ12 | DE | CORP | E5060 | E5059 | E5063 |
| E5064 | Belir Holdings plc | 724500Q0JKSMWBXVBU93 | GB | CORP | E5061 | E5059 | E5064 |
| E5074 | Belir Industries plc | 549300KXQ2S560AVV453 | GB | CORP | E5068 | E5059 | E5074 |
| E5072 | Belir Katin Telecom AG | 815600R2EBVJ16RD3A20 | DE | CORP | E5067 | E5059 | E5072 |
| E5068 | Belir Kator Energy plc | 969500LH6R0LMYUZA394 | GB | CORP | E5064 | E5059 | E5068 |
| E5084 | Belir Luton Media SA | 815600NALYO1JPB0Y303 | FR | BANK | E5076 | E5059 | E5084 |
| E5077 | Belir Media SA | 213800PX54IYKA21SV31 | FR | CORP | E5069 | E5059 | E5077 |
| E5062 | Belir Mining SA | 54930011OTFCAUKB0A28 | FR | CORP | E5060 | E5059 | E5062 E5168 |
| E5065 | Belir Nelad Property AG | 549300L03V06VLA93J12 | DE | CORP | E5061 | E5059 | E5065 |
| E5076 | Belir Property SA | 96950092K7EM4MPGLP04 | FR | CORP | E5069 | E5059 | E5076 |
| E5073 | Belir Puvir Mining plc | 549300Z4E2ZBV3ZWA751 | GB | CORP | E5067 | E5059 | E5073 |
| E5060 | Belir Retail AG | 549300PQXT9OXKZVXP03 | DE | CORP | E5059 | E5059 | E5060 |
| E5070 | Belir Rusin Media SA | 8156004IQIH39FK9VH78 | FR | CORP | E5066 | E5059 | E5070 |
| E5085 | Belir Rutel Water SA | 213800K6R3NB1ZT7Y709 | CV | CORP | E5077 | E5059 | E5085 |
| E5066 | Belir Shipping SA | 2138006F3FLNO4C1FU85 | FR | CORP | E5062 | E5059 | E5066 |
| E5079 | Belir Sitom Logistics SA | 213800N76YAEEVTGC136 | FR | CORP | E5071 | E5059 | E5079 |
| E5061 | Belir Steel Inc | 5493004QWM1AN9Q59M90 | US | BANK | E5059 | E5059 | E5061 |
| E5078 | Belir Vasin Water plc | 969500OGDTR8B14SH139 | GB | BANK | E5070 | E5059 | E5078 |
| E5081 | Belir Vusad Telecom SA | 549300C58DC34KK7FK00 | VD | CORP | E5073 | E5059 | E5081 |
| E5069 | Belir Water SA | 391200PZ4I0VQJK2W457 | FR | CORP | E5065 | E5059 | E5069 |
| E5008 | Cerid Airlines BV | 815600M8RE9386DDQB31 | NL | CORP | E5003 | E5001 | E5008 |
| E5051 | Cerid Butad Capital SA | 969500P4S8FH9839YS39 | FR | CORP | E5039 | E5001 | E5051 |
| E5019 | Cerid Buvom Mining plc | 2138002W9KTVILKQ8Q89 | GB | CORP | E5009 | E5001 | E5019 |
| E5036 | Cerid Calin Energy SpA | 549300RJ7KMPDJVQY167 | IT | CORP | E5024 | E5001 | E5036 |
| E5056 | Cerid Capital plc | 391200Q0XXMZJQSOR362 | GB | CORP | E5044 | E5001 | E5056 |
| E5005 | Cerid Chemicals SA | 391200B1GR4AGTV5WY99 | VD | CORP | E5002 | E5001 | E5005 E5167 |
| E5058 | Cerid Cirad Industries BV | 391200XLOZO7S6T1FI61 | NL | BANK | E5046 | E5001 | E5058 |
| E5045 | Cerid Curel Water SA | 7245006QVOPQQK3JUP45 | CV | CORP | E5033 | E5001 | E5045 |
| E5023 | Cerid Dilal Utilities SA | 549300MXQ7UU7852PG70 | VD | CORP | E5011 | E5001 | E5023 |
| E5041 | Cerid Dolem Mining AG | 391200FXD4CH3FVZ4165 | DE | BANK | E5029 | E5001 | E5041 |
| E5002 | Cerid Energy plc | 3912006ACANJUP8PLJ39 | GB | CORP | E5001 | E5001 | E5002 |
| E5024 | Cerid Fatal Shipping SA | 39120041ZCI02VDN2I18 | VD | CORP | E5012 | E5001 | E5024 |
| E5025 | Cerid Fater Media SA | 213800AXPZD5MSP2GW32 | ES | CORP | E5013 | E5001 | E5025 |
| E5042 | Cerid Feral Property BV | 724500N6QZUJJJ1BJI79 | NL | BANK | E5030 | E5001 | E5042 |
| E5006 | Cerid Foods plc | 969500HZQBDFIIHLYK06 | GB | BANK | E5002 | E5001 | E5006 |
| E5050 | Cerid Futir Utilities BV | 213800KKF07D3TEWYS82 | NL | BANK | E5038 | E5001 | E5050 |
| E5028 | Cerid Galon Chemicals BV | 724500EVQNRETR9CVD02 | NL | BANK | E5016 | E5001 | E5028 |
| E5010 | Cerid Gator Steel Inc | 724500E2OQMMMZVTBS53 | US | CORP | E5004 | E5001 | E5010 |
| E5012 | Cerid Gevin Pharma SA | 549300TPHB19IJU6VV67 | VD | CORP | E5005 | E5001 | E5012 |
| E5046 | Cerid Gevom Media BV | 5493004EWDCN8OTFZZ22 | NL | CORP | E5034 | E5001 | E5046 |
| E5055 | Cerid Gosim Media SA | 391200627RBIC2DTG305 | CV | CORP | E5043 | E5001 | E5055 |
| E5001 | Cerid Group plc | 815600F48PANJQE75352 | GB | CORP |  |  | E5001 |
| E5014 | Cerid Gusom Pharma SpA | 724500YWGS7BR1AKHD13 | IT | CORP | E5006 | E5001 | E5014 |
| E5011 | Cerid Guven Energy SA | 391200IX7WB68Q29NJ46 | VD | CORP | E5005 | E5001 | E5011 |
| E5007 | Cerid Holdings BV | 391200Q98UGZZQTV1C88 | NL | CORP | E5003 | E5001 | E5007 |
| E5038 | Cerid Holen Chemicals BV | 969500HETRKT6OQMNS48 | NL | CORP | E5026 | E5001 | E5038 |
| E5037 | Cerid Holom Water SA | 2138003NRPV4IDSP9314 | ES | CORP | E5025 | E5001 | E5037 |
| E5026 | Cerid Hosad Retail Inc | 724500GF9ADSAA20FI77 | US | CORP | E5014 | E5001 | E5026 |
| E5027 | Cerid Hutem Water plc | 391200TO1KK187R1JQ78 | GB | CORP | E5015 | E5001 | E5027 |
| E5022 | Cerid Industries Inc | 213800S7QJ9EVK96PK05 | US | CORP | E5010 | E5001 | E5022 |
| E5009 | Cerid Leror Logistics plc | 96950033222B9BRCGP58 | GB | CORP | E5004 | E5001 | E5009 |
| E5054 | Cerid Linin Media BV | 549300UVWD2URAQCNQ18 | NL | BANK | E5042 | E5001 | E5054 |
| E5015 | Cerid Logistics BV | 969500C1TQV008QIYL28 | NL | CORP | E5007 | E5001 | E5015 |
(99 more rows not shown)

Query 2:

| instrument_id | description | issuer_id | guarantor_id | credit_risk_of | seniority | currency | local_currency | maturity |
|---|---|---|---|---|---|---|---|---|
| I01 | Kestrel Energy 4.50% notes due 2030 | E01 |  | E01 | SU | GBP | no | 2030-03-15 |
| I02 | Kestrel Energy 6.25% notes due 2031 | E01 |  | E01 | SUB | GBP | no | 2031-09-30 |
| I03 | Northwind Finance 3.75% notes due 2030 | E04 | E02 | E02 | SU | EUR | no | 2030-05-01 |
| I04 | Valdoria Telecom 5.00% notes due 2029 | E05 |  | E05 | SU | USD | no | 2029-11-20 |
| I05 | Halden Leasing 2.90% notes due 2028 | E11 | E10 | E10 | SU | EUR | no | 2028-06-30 |
| I06 | Corvenia Power 7.10% notes due 2032 | E15 |  | E15 | SUB | USD | no | 2032-02-15 |
| I07 | Valdoria Telecom 4.25% notes due 2027 | E05 |  | E05 | SU | XVD | yes | 2027-08-31 |
| I08 | Corvenia Power 6.00% notes due 2034 | E15 |  | E15 | SU | USD | no | 2034-09-01 |
| I1001 | Soson Airlines 5.50% notes due 2031 | E1006 |  | E1006 | SUB | USD | no | 2035-06-30 |
| I1002 | Golod Property 8.75% notes due 2031 | E1007 |  | E1007 | SU | USD | no | 2033-06-30 |
| I1003 | Sotil Retail 3.00% notes due 2031 | E1008 |  | E1008 | SU | GBP | no | 2034-06-30 |
| I1004 | Malam Chemicals 2.25% notes due 2035 | E1009 |  | E1009 | SU | USD | no | 2028-06-30 |
| I1005 | Posad Industries 4.00% notes due 2033 | E1012 |  | E1012 | SU | EUR | no | 2031-06-30 |
| I1006 | Pisol Pharma 4.75% notes due 2030 | E1013 |  | E1013 | SUB | USD | no | 2030-06-30 |
| I1007 | Toral Utilities 7.75% notes due 2028 | E1014 |  | E1014 | SU | EUR | no | 2033-06-30 |
| I1008 | Ponar Telecom 4.75% notes due 2035 | E1016 |  | E1016 | SU | EUR | no | 2033-06-30 |
| I1009 | Tosem Mining 2.75% notes due 2031 | E1018 |  | E1018 | SUB | USD | no | 2036-06-30 |
| I1010 | Finel Media 6.50% notes due 2035 | E1020 |  | E1020 | SU | EUR | no | 2036-06-30 |
| I1011 | Niner Pharma 3.25% notes due 2029 | E1021 |  | E1021 | SU | USD | no | 2035-06-30 |
| I1012 | Heled Water 6.25% notes due 2030 | E1023 |  | E1023 | SU | GBP | no | 2031-06-30 |
| I1013 | Kuvir Logistics 2.00% notes due 2027 | E1031 |  | E1031 | SU | EUR | no | 2027-06-30 |
| I1014 | Kavod Utilities 2.50% notes due 2032 | E1035 |  | E1035 | SU | USD | no | 2036-06-30 |
| I1015 | Lanon Telecom 4.75% notes due 2033 | E1038 |  | E1038 | SUB | EUR | no | 2032-06-30 |
| I1016 | Hiral Steel 6.00% notes due 2035 | E1041 |  | E1041 | SU | USD | no | 2034-06-30 |
| I1017 | Lised Pharma 4.50% notes due 2036 | E1048 |  | E1048 | SU | EUR | no | 2029-06-30 |
| I1018 | Paser Utilities 3.75% notes due 2027 | E1049 |  | E1049 | SUB | GBP | no | 2034-06-30 |
| I1019 | Sunar Holdings 8.50% notes due 2036 | E1050 |  | E1050 | SUB | USD | no | 2034-06-30 |
| I1020 | Witad Steel 5.00% notes due 2033 | E1052 |  | E1052 | SU | EUR | no | 2027-06-30 |
| I1021 | Duver Shipping 8.50% notes due 2032 | E1056 |  | E1056 | SU | EUR | no | 2030-06-30 |
| I1022 | Levem Foods 6.50% notes due 2035 | E1067 |  | E1067 | SUB | EUR | no | 2030-06-30 |
| I1023 | Mored Utilities 4.25% notes due 2032 | E1071 |  | E1071 | SUB | USD | no | 2033-06-30 |
| I1024 | Ganed Holdings 5.75% notes due 2035 | E1077 |  | E1077 | SU | EUR | no | 2032-06-30 |
| I1025 | Menir Shipping 7.50% notes due 2028 | E1078 |  | E1078 | SUB | EUR | no | 2034-06-30 |
| I1026 | Nevar Property 6.75% notes due 2036 | E1079 |  | E1079 | SU | GBP | no | 2028-06-30 |
| I1027 | Gilen Capital 2.00% notes due 2031 | E1082 |  | E1082 | SUB | USD | no | 2034-06-30 |
| I1028 | Givim Mining 5.75% notes due 2036 | E1085 |  | E1085 | SU | EUR | no | 2034-06-30 |
| I1029 | Gorar Steel 7.25% notes due 2033 | E1086 |  | E1086 | SUB | USD | no | 2035-06-30 |
| I1030 | Vitid Holdings 5.75% notes due 2032 | E1087 |  | E1087 | SU | EUR | no | 2034-06-30 |
| I1031 | Koved Holdings 2.50% notes due 2032 | E1088 |  | E1088 | SUB | EUR | no | 2033-06-30 |
| I1032 | Getel Utilities 7.25% notes due 2033 | E1090 |  | E1090 | SU | USD | no | 2032-06-30 |
| I1033 | Vavam Pharma 8.75% notes due 2032 | E1103 |  | E1103 | SUB | USD | no | 2032-06-30 |
| I1034 | Kisil Logistics 8.50% notes due 2031 | E1108 |  | E1108 | SU | EUR | no | 2033-06-30 |
| I1035 | Verod Logistics 3.00% notes due 2035 | E1114 |  | E1114 | SU | GBP | no | 2029-06-30 |
| I1036 | Piren Foods 2.50% notes due 2030 | E1115 |  | E1115 | SU | USD | no | 2033-06-30 |
| I1037 | Reter Shipping 8.00% notes due 2028 | E1118 |  | E1118 | SU | EUR | no | 2027-06-30 |
| I1038 | Conan Capital 4.75% notes due 2033 | E1131 |  | E1131 | SU | EUR | no | 2031-06-30 |
| I1039 | Larid Steel 8.50% notes due 2028 | E1141 |  | E1141 | SU | GBP | no | 2033-06-30 |
| I1040 | Woner Media 5.75% notes due 2027 | E1143 |  | E1143 | SUB | EUR | no | 2027-06-30 |
| I1041 | Kanim Pharma 3.25% notes due 2033 | E1145 |  | E1145 | SUB | EUR | no | 2036-06-30 |
| I1042 | Daren Mining 5.75% notes due 2030 | E1147 |  | E1147 | SU | EUR | no | 2035-06-30 |
| I1043 | Honel Shipping 4.50% notes due 2028 | E1149 |  | E1149 | SUB | EUR | no | 2029-06-30 |
| I1044 | Wavad Foods 6.75% notes due 2035 | E1155 |  | E1155 | SU | USD | no | 2036-06-30 |
| I1045 | Ruven Airlines 5.75% notes due 2032 | E1156 |  | E1156 | SUB | EUR | no | 2036-06-30 |
| I1046 | Diled Steel 8.75% notes due 2027 | E1160 |  | E1160 | SU | EUR | no | 2029-06-30 |
| I1047 | Wunam Telecom 5.25% notes due 2032 | E1162 |  | E1162 | SU | EUR | no | 2029-06-30 |
| I1048 | Wenar Water 8.25% notes due 2028 | E1163 |  | E1163 | SUB | EUR | no | 2028-06-30 |
| I1049 | Ranim Shipping 8.00% notes due 2028 | E1166 |  | E1166 | SUB | USD | no | 2036-06-30 |
| I1050 | Fivan Holdings 2.25% notes due 2035 | E1168 |  | E1168 | SU | EUR | no | 2027-06-30 |
| I1051 | Molar Shipping 3.25% notes due 2031 | E1188 |  | E1188 | SU | EUR | no | 2028-06-30 |
| I1052 | Divid Property 4.25% notes due 2033 | E1189 |  | E1189 | SUB | GBP | no | 2032-06-30 |
(62 more rows not shown)

Query 3:

| country | ceiling | valid_from |
|---|---|---|
| CV | A | 2024-01-01 |
| VD | BB | 2025-04-01 |

Query 4:

| rating_type | ccy_basis | count_star() |
|---|---|---|
| LTIDR | LC | 34 |
| INST |  | 117 |
| LTIDR | FC | 717 |
| STIDR | FC | 1 |

Run more queries, or give the final answers.
The model
<invoke name="sql">
</invoke>
```sql
SELECT * FROM entities WHERE entity_id IN ('E01','E02','E03','E04','E05','E06','E07','E08','E09','E10','E11','E12','E13','E14','E15','E16','E17','E18','E19','E20') OR entity_id LIKE 'E0%' ORDER BY entity_id;
```
```sql
SELECT * FROM ratings WHERE rated_id LIKE 'E0%' OR rated_id LIKE 'I0%' ORDER BY rated_id, rating_type, ccy_basis, valid_from;
```
```sql
SELECT * FROM instruments WHERE instrument_id NOT LIKE 'I1%' OR guarantor_id <> '' OR credit_risk_of <> issuer_id ORDER BY instrument_id;
```
Query results
Query 1:

| entity_id | name | lei | country | entity_type | parent_id | ultimate_parent_id | record_ids |
|---|---|---|---|---|---|---|---|
| E01 | Kestrel Energy plc | 7245002OOPBG04092E43 | GB | CORP |  |  | E01 |
| E02 | Northwind Holdings plc | 213800PHEIYNJMHTDV74 | GB | CORP |  |  | E02 E03 |
| E04 | Northwind Finance BV | 213800LA5RYJLGXV2T85 | NL | FINSUB | E02 | E02 | E04 |
| E05 | Valdoria Telecom SA | 391200LESH03LMOY2U61 | VD | CORP |  |  | E05 |
| E06 | Orrin Bank AG | 549300AMVE3VRVG7HK43 | DE | BANK |  |  | E06 |
| E07 | Pellam Retail Ltd | 969500B6IUACELPI2291 | GB | CORP |  |  | E07 |
| E08 | Saxby Shipping SA | 969500KOTZ1JFIZSG796 | GR | CORP |  |  | E08 |
| E09 | Halden Group plc | 815600ASM9EHDG931T89 | GB | CORP |  |  | E09 |
| E10 | Halden Bank AG | 391200QYPVFF2O9K2039 | LU | BANK | E09 | E09 | E10 E17 |
| E11 | Halden Leasing SA | 549300XBZH4ULO9MQV55 | FR | FINSUB | E10 | E09 | E11 |
| E12 | Halden Foods Ltd | 213800IJDL4OJ4DG5T19 | GB | CORP |  |  | E12 |
| E13 | Orrin Bancorp Inc | 815600O8X8K2F154N214 | US | BANK |  |  | E13 |
| E14 | Marlow Utilities plc | 3912005AH2C1I9YF8106 | GB | CORP |  |  | E14 |
| E15 | Corvenia Power SA | 213800PBQVHVBBH6GV02 | CV | CORP |  |  | E15 |

Query 2:

| rated_id | rating_type | ccy_basis | rating | outlook | watch | action | valid_from | valid_to | action_id |
|---|---|---|---|---|---|---|---|---|---|
| E01 | LTIDR | FC | A- | STA |  | AS | 2024-03-12 | 2025-06-20 | A01 |
| E01 | LTIDR | FC | BBB | STA |  | DG | 2025-06-20 | 2026-02-10 | A02 |
| E01 | LTIDR | FC | BBB | NEG |  | AF | 2026-02-10 |  | A03 |
| E01 | STIDR | FC | F2 |  |  | AF | 2026-02-10 |  | A04 |
| E02 | LTIDR | FC | A | STA |  | AS | 2023-11-01 | 2025-09-15 | A08 |
| E02 | LTIDR | FC | A | POS |  | AF | 2025-09-15 |  | A09 |
| E05 | LTIDR | FC | BB | STA |  | AS | 2025-04-01 |  | A14 |
| E05 | LTIDR | LC | BBB- | STA |  | AS | 2025-04-01 |  | A13 |
| E06 | LTIDR | FC | A- | STA |  | AS | 2024-05-01 | 2026-09-03 | A16 |
| E06 | LTIDR | FC | A- |  | RWN | RW | 2026-09-03 |  | A17 |
| E07 | LTIDR | FC | BB | STA |  | AS | 2024-01-10 | 2026-05-12 | A18 |
| E07 | LTIDR | FC | WD |  |  | WD | 2026-05-12 |  | A19 |
| E08 | LTIDR | FC | B | STA |  | AS | 2024-06-01 | 2026-01-20 | A20 |
| E08 | LTIDR | FC | CCC |  |  | DG | 2026-01-20 | 2026-07-08 | A21 |
| E08 | LTIDR | FC | RD |  |  | DG | 2026-07-08 |  | A22 |
| E09 | LTIDR | FC | A | STA |  | AS | 2023-05-01 | 2026-03-01 | A24 |
| E09 | LTIDR | FC | A | NEG |  | AF | 2026-03-01 |  | A25 |
| I01 | INST |  | A- |  |  | AS | 2024-03-12 | 2025-06-20 | A05 |
| I01 | INST |  | BBB |  |  | DG | 2025-06-20 |  | A06 |
| I02 | INST |  | BBB |  |  | AS | 2024-03-12 | 2025-06-20 | A23 |
| I02 | INST |  | BB+ |  |  | DG | 2025-06-20 |  | A07 |
| I03 | INST |  | A |  |  | AS | 2023-11-01 | 2025-09-15 | A10 |
| I03 | INST |  | A |  |  | AF | 2025-09-15 |  | A11 |
| I04 | INST |  | BB |  |  | AS | 2025-04-01 |  | A15 |
| I05 | INST |  | A- |  |  | AS | 2023-06-01 | 2026-04-15 | A28 |
| I05 | INST |  | BBB+ |  |  | DG | 2026-04-15 |  | A29 |
| I06 | INST |  | A- |  |  | AS | 2024-03-01 |  | A42 |
| I07 | INST |  | BBB- |  |  | AS | 2025-04-01 |  | A45 |

Query 3:

| instrument_id | description | issuer_id | guarantor_id | credit_risk_of | seniority | currency | local_currency | maturity |
|---|---|---|---|---|---|---|---|---|
| I01 | Kestrel Energy 4.50% notes due 2030 | E01 |  | E01 | SU | GBP | no | 2030-03-15 |
| I02 | Kestrel Energy 6.25% notes due 2031 | E01 |  | E01 | SUB | GBP | no | 2031-09-30 |
| I03 | Northwind Finance 3.75% notes due 2030 | E04 | E02 | E02 | SU | EUR | no | 2030-05-01 |
| I04 | Valdoria Telecom 5.00% notes due 2029 | E05 |  | E05 | SU | USD | no | 2029-11-20 |
| I05 | Halden Leasing 2.90% notes due 2028 | E11 | E10 | E10 | SU | EUR | no | 2028-06-30 |
| I06 | Corvenia Power 7.10% notes due 2032 | E15 |  | E15 | SUB | USD | no | 2032-02-15 |
| I07 | Valdoria Telecom 4.25% notes due 2027 | E05 |  | E05 | SU | XVD | yes | 2027-08-31 |
| I08 | Corvenia Power 6.00% notes due 2034 | E15 |  | E15 | SU | USD | no | 2034-09-01 |
| I1093 | Poval Chemicals Finance 2.50% notes due 2034 | E1325 | E1084 | E1084 | SU | EUR | no | 2027-03-31 |
| I1094 | Witad Steel Finance 6.50% notes due 2027 | E1326 | E1052 | E1052 | SU | EUR | no | 2033-03-31 |
| I1095 | Nuner Holdings Finance 4.50% notes due 2032 | E1327 | E1119 | E1119 | SU | EUR | no | 2030-03-31 |
| I1096 | Palad Mining Finance 6.50% notes due 2030 | E1328 | E1244 | E1244 | SU | EUR | no | 2028-03-31 |
| I1097 | Ganen Shipping Finance 5.50% notes due 2030 | E1329 | E1069 | E1069 | SU | EUR | no | 2029-03-31 |
| I1098 | Niner Pharma Finance 3.50% notes due 2030 | E1330 | E1021 | E1021 | SU | EUR | no | 2032-03-31 |
| I1099 | Tulol Shipping Finance 3.50% notes due 2034 | E1331 | E1025 | E1025 | SU | EUR | no | 2032-03-31 |
| I1100 | Sanin Mining Finance 2.50% notes due 2032 | E1332 | E1068 | E1068 | SU | EUR | no | 2028-03-31 |
| I1101 | Gilen Capital Finance 3.50% notes due 2031 | E1333 | E1082 | E1082 | SU | EUR | no | 2034-03-31 |
| I1102 | Votim Industries Finance 3.50% notes due 2027 | E1334 | E1260 | E1260 | SU | EUR | no | 2031-03-31 |
| I1103 | Belor Telecom Finance 2.50% notes due 2027 | E1335 | E1234 | E1234 | SU | EUR | no | 2030-03-31 |
| I1104 | Navor Holdings Finance 2.50% notes due 2029 | E1336 | E1176 | E1176 | SU | EUR | no | 2033-03-31 |
| I1105 | Lanon Telecom Finance 5.50% notes due 2028 | E1337 | E1038 | E1038 | SU | EUR | no | 2034-03-31 |
| I1106 | Hivor Industries Finance 6.50% notes due 2027 | E1338 | E1073 | E1073 | SU | EUR | no | 2033-03-31 |
| I1107 | Wivin Airlines Finance 2.50% notes due 2031 | E1339 | E1241 | E1241 | SU | EUR | no | 2030-03-31 |
| I5001 | Cerid Funding 4.25% notes due 2033 | E5005 | E5001 | E5001 | SU | EUR | no | 2030-12-31 |
| I5002 | Belir Funding 5.25% notes due 2035 | E5062 | E5059 | E5059 | SU | EUR | no | 2029-12-31 |
| I5003 | Rotam Funding 3.25% notes due 2032 | E5090 | E5086 | E5086 | SU | EUR | no | 2033-12-31 |
| I5004 | Wonod Funding 4.25% notes due 2032 | E5108 | E5105 | E5105 | SU | EUR | no | 2032-12-31 |
| I5005 | Vesol Funding 7.25% notes due 2033 | E5135 | E5132 | E5132 | SU | EUR | no | 2030-12-31 |
| I5006 | Geren Funding 7.25% notes due 2030 | E5149 | E5145 | E5145 | SU | EUR | no | 2032-12-31 |
| I5007 | Cross-group 4.75% notes due 2031 | E5133 | E5145 | E5145 | SU | USD | no | 2031-06-30 |

Run more queries, or give the final answers.
The model
Next I'm pulling the remaining ratings and checking group structure.

```sql
SELECT * FROM ratings WHERE rated_id IN ('E10','E11','E12','E13','E14','E15','E16','E17','E18','E19','E20','I08','I06') OR rated_id LIKE 'E1_' ORDER BY rated_id, rating_type, ccy_basis, valid_from;
```
```sql
SELECT * FROM entities WHERE entity_id IN ('E16','E17','E18','E19','E20') OR name ILIKE '%Brindle%' OR name ILIKE '%Republic%' OR name ILIKE '%Rotam Group%' OR name ILIKE '%Wonod Group%' OR name ILIKE '%Vesol Group%' OR name ILIKE '%Geren%' OR name ILIKE '%Cerid Rosor%' OR name ILIKE '%Cerid Telecom%' OR entity_id IN ('E5133','E5145','E5090','E5086') ORDER BY entity_id;
```
```sql
SELECT count(*), count(distinct entity_id), count(distinct lei) FROM entities;
```
```sql
SELECT country, count(*) FROM entities WHERE country IN ('LU','VD','CV') GROUP BY ALL;
```
Query results
Query 1:

| rated_id | rating_type | ccy_basis | rating | outlook | watch | action | valid_from | valid_to | action_id |
|---|---|---|---|---|---|---|---|---|---|
| E10 | LTIDR | FC | A- | STA |  | AS | 2023-05-01 | 2026-04-15 | A26 |
| E10 | LTIDR | FC | BBB+ | STA |  | DG | 2026-04-15 |  | A27 |
| E12 | LTIDR | FC | BB- | STA |  | AS | 2024-02-01 | 2025-08-01 | A30 |
| E12 | LTIDR | FC | BB | STA |  | UG | 2025-08-01 |  | A31 |
| E13 | LTIDR | FC | BBB | STA |  | AS | 2024-07-01 |  | A32 |
| E14 | LTIDR | FC | A- | STA |  | AS | 2023-01-15 | 2024-09-30 | A34 |
| E14 | LTIDR | FC | BBB+ | STA |  | DG | 2024-09-30 | 2025-11-20 | A36 |
| E14 | LTIDR | FC | BBB+ |  | RWN | RW | 2025-11-20 | 2026-05-01 | A35 |
| E14 | LTIDR | FC | BBB+ | STA |  | AF | 2026-05-01 |  | A33 |
| E15 | LTIDR | FC | A | STA |  | AS | 2024-03-01 |  | A41 |
| E15 | LTIDR | LC | A+ | STA |  | AS | 2024-03-01 |  | A40 |
| I06 | INST |  | A- |  |  | AS | 2024-03-01 |  | A42 |

Query 2:

| entity_id | name | lei | country | entity_type | parent_id | ultimate_parent_id | record_ids |
|---|---|---|---|---|---|---|---|
| CV | Republic of Corvenia |  | CV | SOV |  |  | CV |
| E5013 | Cerid Telecom SA | 724500EU84AMOZS7U244 | ES | BANK | E5006 | E5001 | E5013 |
| E5047 | Cerid Rosor Holdings SA | 8156004CDHFBVRR3LT54 | VD | BANK | E5035 | E5001 | E5047 |
| E5086 | Rotam Group Inc | 213800PJV1XFQEKJ1L86 | US | CORP |  |  | E5086 |
| E5090 | Rotam Logistics Inc | 724500J7FCE6HMEBB653 | US | CORP | E5087 | E5086 | E5090 |
| E5105 | Wonod Group SA | 7245003GC3MAPLM74H56 | FR | CORP |  |  | E5105 |
| E5132 | Vesol Group BV | 724500QJUUI5LKTI3C20 | NL | CORP |  |  | E5132 |
| E5133 | Vesol Foods plc | 969500J32JMVAGT5XX78 | GB | BANK | E5132 | E5132 | E5133 |
| E5145 | Geren Group SA | 8156002XDJU2OFI9JC47 | VD | CORP |  |  | E5145 |
| E5146 | Geren Energy SA | 724500QHWRH6PSRJB040 | VD | CORP | E5145 | E5145 | E5146 |
| E5147 | Geren Water AG | 815600S1LI7Y275JJ993 | DE | CORP | E5145 | E5145 | E5147 |
| E5148 | Geren Logistics SA | 3912000L90VKK6MV1D59 | VD | CORP | E5145 | E5145 | E5148 |
| E5149 | Geren Neter Logistics plc | 724500KDF2MI69677N89 | GB | BANK | E5146 | E5145 | E5149 |
| E5150 | Geren Mining SA | 549300AHLPW75N4A3P31 | VD | CORP | E5146 | E5145 | E5150 |
| E5151 | Geren Telecom SA | 724500JOQIZEOMT4DE02 | FR | CORP | E5147 | E5145 | E5151 |
| E5152 | Geren Kisom Retail AG | 969500KMO65XFN7T1392 | DE | CORP | E5147 | E5145 | E5152 |
| E5153 | Geren Ruter Retail SA | 213800WLIYSMBT2VLW94 | CV | CORP | E5148 | E5145 | E5153 |
| E5154 | Geren Retail SA | 391200B0TX9R4N6COU24 | ES | CORP | E5148 | E5145 | E5154 |
| E5155 | Geren Capital plc | 969500PPONW5EN3A0733 | GB | CORP | E5149 | E5145 | E5155 |
| E5156 | Geren Holdings AG | 549300FMGCHAUC6SYX63 | DE | CORP | E5150 | E5145 | E5156 |
| E5157 | Geren Vuned Holdings Inc | 969500HA82B367X5RV65 | US | CORP | E5151 | E5145 | E5157 |
| E5158 | Geren Airlines AG | 724500615K23IF07SC87 | DE | CORP | E5152 | E5145 | E5158 |
| E5159 | Geren Shipping SA | 815600MOW11MEYYEAT50 | ES | BANK | E5153 | E5145 | E5159 |
| E5160 | Geren Property AG | 213800X8REMKLULD8R08 | DE | BANK | E5154 | E5145 | E5160 |
| E5161 | Geren Pusar Holdings SA | 549300C8D7Z8XUZARH87 | FR | CORP | E5155 | E5145 | E5161 |
| E5162 | Geren Media AG | 391200PY74BRVIRVI292 | DE | CORP | E5156 | E5145 | E5162 |
| E5163 | Geren Steel Inc | 8156005XKKPSIHTNOJ57 | US | CORP | E5157 | E5145 | E5163 |
| E5164 | Geren Pharma AG | 391200934W0J85BZXD30 | DE | CORP | E5158 | E5145 | E5164 |
| E5165 | Geren Nuvel Logistics SA | 815600FOHPLYMM6VXG89 | ES | CORP | E5159 | E5145 | E5165 |
| E5166 | Geren Wuran Airlines AG | 549300U864OQO9SEFJ88 | DE | CORP | E5160 | E5145 | E5166 |
| VD | Republic of Valdoria |  | VD | SOV |  |  | VD |

Query 3:

| count_star() | count(DISTINCT entity_id) | count(DISTINCT lei) |
|---|---|---|
| 497 | 497 | 495 |

Query 4:

| country | count_star() |
|---|---|
| CV | 27 |
| VD | 26 |
| LU | 1 |

Run more queries, or give the final answers.
The model
```sql
SELECT * FROM ratings WHERE rated_id IN ('CV','VD','E16','E17','I08') OR rated_id IN (SELECT entity_id FROM entities WHERE name ILIKE '%Brindle%') ORDER BY rated_id, valid_from;
```
```sql
SELECT * FROM entities WHERE name ILIKE '%Brindle%' OR name ILIKE '%Orrin%' OR entity_id IN ('E16','E17','E18','E5035','E5003') OR record_ids LIKE '% %' ORDER BY entity_id;
```
```sql
SELECT count(DISTINCT r.rated_id) c_all, count(DISTINCT CASE WHEN e.country='GB' THEN r.rated_id END) gb
FROM ratings r JOIN entities e ON e.entity_id=r.rated_id
WHERE r.rating_type='LTIDR' AND r.valid_from<='2026-10-01' AND (r.valid_to='' OR r.valid_to IS NULL OR r.valid_to>'2026-10-01') AND r.rating NOT IN ('WD');
```
```sql
SELECT rated_id, rating, outlook, watch, valid_from, valid_to FROM ratings WHERE rating_type='LTIDR' AND ccy_basis='FC' AND (valid_to='' OR valid_to IS NULL) AND (watch='RWN' OR outlook='NEG' OR rating IN ('RD','D','WD')) ORDER BY rated_id;
```
```sql
SELECT rated_id, rating, valid_from, valid_to, action FROM ratings WHERE rating IN ('RD','D','WD','SD') OR action IN ('DG','UG') AND valid_from>='2026-01-01' ORDER BY rated_id, valid_from;
```
```sql
SELECT count(DISTINCT rated_id) FROM ratings WHERE rating_type='INST' AND valid_from<='2026-10-01' AND (valid_to='' OR valid_to>'2026-10-01');
```
Query results
Query 1:

| rated_id | rating_type | ccy_basis | rating | outlook | watch | action | valid_from | valid_to | action_id |
|---|---|---|---|---|---|---|---|---|---|
| CV | LTIDR | FC | BBB+ | STA |  | AS | 2024-01-01 |  | A38 |
| CV | LTIDR | LC | A- | STA |  | AS | 2024-01-01 |  | A39 |

Query 2:

| entity_id | name | lei | country | entity_type | parent_id | ultimate_parent_id | record_ids |
|---|---|---|---|---|---|---|---|
| E02 | Northwind Holdings plc | 213800PHEIYNJMHTDV74 | GB | CORP |  |  | E02 E03 |
| E06 | Orrin Bank AG | 549300AMVE3VRVG7HK43 | DE | BANK |  |  | E06 |
| E10 | Halden Bank AG | 391200QYPVFF2O9K2039 | LU | BANK | E09 | E09 | E10 E17 |
| E1001 | Tunod Steel SA | 3912003R00FP6CNV6210 | FR | CORP |  |  | E1001 E1002 |
| E1021 | Niner Pharma plc | 391200KLG6G4KVIMIU52 | GB | CORP |  |  | E1021 E1022 |
| E1029 | Leson Telecom Inc | 8156008DPX4I9DNKWN26 | US | BANK |  |  | E1029 E1030 |
| E1059 | Kelim Media SA | 549300CRXZL5I1OT6L14 | CV | CORP | E1015 | E1015 | E1059 E1060 |
| E1096 | Ravon Capital SA | 549300NTCTGRKRYIAN83 | CV | CORP |  |  | E1096 E1097 |
| E1103 | Vavam Pharma Inc | 815600HDI8Y3IWGOOH22 | US | CORP |  |  | E1103 E1104 |
| E1116 | Hener Energy plc | 391200JN4T4KY2HCRU75 | GB | CORP |  |  | E1116 E1117 |
| E1138 | Konel Energy BV | 724500BSV4X2J7KUR535 | NL | CORP |  |  | E1138 E1139 |
| E1147 | Daren Mining SA | 391200E9TAHDZV7CY568 | FR | CORP |  |  | E1147 E1148 |
| E1152 | Kivel Property plc | 549300E50JHDJNBUGF22 | GB | CORP |  |  | E1152 E1153 |
| E1156 | Ruven Airlines AG | 969500KYKHRI6N2WRN19 | US | CORP |  |  | E1156 E1157 |
| E1160 | Diled Steel SA | 969500PM41NS2PBZU440 | FR | CORP |  |  | E1160 E1161 |
| E1169 | Seren Telecom plc | 549300XV49ES64RGNQ00 | GB | CORP |  |  | E1169 E1170 |
| E1179 | Cotan Foods SA | 391200USHZVHBK9FHP01 | IT | CORP | E1162 | E1162 | E1179 E1180 |
| E1209 | Malid Mining SpA | 549300HWTXXHJP2HKU38 | DE | CORP |  |  | E1209 E1210 |
| E1213 | Winim Mining SA | 549300A64I73OEIC4R87 | NL | CORP |  |  | E1213 E1214 |
| E1238 | Wevin Capital SA | 5493004IM0PRT8BSDK29 | GR | CORP |  |  | E1238 E1239 |
| E1245 | Gater Holdings SA | 815600LRX1P8142NMF42 | FR | CORP |  |  | E1245 E1246 |
| E1253 | Vusir Telecom SA | 969500QXEZ0NSV6EIW69 | ES | BANK |  |  | E1253 E1254 |
| E1258 | Nirad Retail SA | 724500YEJSJ19G17TW94 | FR | BANK |  |  | E1258 E1259 |
| E1261 | Munam Water SA | 549300H1N0EQEAZLE362 | ES | CORP |  |  | E1261 E1262 |
| E1298 | Faner Steel SA | 815600RCZP0ISY44E024 | ES | CORP |  |  | E1298 E1299 |
| E13 | Orrin Bancorp Inc | 815600O8X8K2F154N214 | US | BANK |  |  | E13 |
| E1310 | Natil Retail SpA | 9695000PSF2HLPO9AE57 | IT | BANK |  |  | E1310 E1311 |
| E1318 | Sutem Water plc | 724500UQKUINIUB80J18 | GB | CORP |  |  | E1318 E1319 |
| E5003 | Cerid Media BV | 724500EXQA91TPK6WL60 | NL | CORP | E5001 | E5001 | E5003 |
| E5005 | Cerid Chemicals SA | 391200B1GR4AGTV5WY99 | VD | CORP | E5002 | E5001 | E5005 E5167 |
| E5035 | Cerid Water SA | 724500637K0GA6PFC081 | VD | BANK | E5023 | E5001 | E5035 |
| E5062 | Belir Mining SA | 54930011OTFCAUKB0A28 | FR | CORP | E5060 | E5059 | E5062 E5168 |
| E5106 | Wonod Steel BV | 969500W1342GHBTOGH81 | VD | CORP | E5105 | E5105 | E5106 E5169 |

Query 3:

| c_all | gb |
|---|---|
| 377 | 79 |

Query 4:

| rated_id | rating | outlook | watch | valid_from | valid_to |
|---|---|---|---|---|---|
| E01 | BBB | NEG |  | 2026-02-10 |  |
| E06 | A- |  | RWN | 2026-09-03 |  |
| E07 | WD |  |  | 2026-05-12 |  |
| E08 | RD |  |  | 2026-07-08 |  |
| E09 | A | NEG |  | 2026-03-01 |  |
| E1001 | WD |  |  | 2025-07-20 |  |
| E1005 | BB | NEG |  | 2025-08-02 |  |
| E1006 | AA |  | RWN | 2026-06-17 |  |
| E1007 | WD |  |  | 2026-06-27 |  |
| E1013 | BB- |  | RWN | 2025-07-09 |  |
| E1021 | WD |  |  | 2025-11-08 |  |
| E1029 | A- | NEG |  | 2025-08-08 |  |
| E1032 | WD |  |  | 2026-09-15 |  |
| E1034 | BBB+ | NEG |  | 2026-05-02 |  |
| E1037 | A |  | RWN | 2022-05-07 |  |
| E1039 | A |  | RWN | 2025-12-09 |  |
| E1041 | WD |  |  | 2024-04-09 |  |
| E1046 | AA- | NEG |  | 2025-05-28 |  |
| E1048 | WD |  |  | 2023-04-15 |  |
| E1055 | BBB- | NEG |  | 2024-12-04 |  |
| E1056 | A+ | NEG |  | 2023-01-01 |  |
| E1057 | WD |  |  | 2026-09-19 |  |
| E1059 | BB- | NEG |  | 2025-02-16 |  |
| E1061 | A |  | RWN | 2025-06-06 |  |
| E1062 | WD |  |  | 2025-03-28 |  |
| E1063 | WD |  |  | 2025-01-12 |  |
| E1064 | A- | NEG |  | 2026-06-03 |  |
| E1066 | A- |  | RWN | 2026-05-03 |  |
| E1072 | BB- | NEG |  | 2026-02-07 |  |
| E1076 | WD |  |  | 2024-04-28 |  |
| E1079 | BB+ | NEG |  | 2024-01-26 |  |
| E1080 | A- | NEG |  | 2026-02-14 |  |
| E1084 | WD |  |  | 2025-08-02 |  |
| E1088 | B+ |  | RWN | 2024-01-16 |  |
| E1098 | BBB- |  | RWN | 2026-04-28 |  |
| E1099 | BB+ |  | RWN | 2023-11-05 |  |
| E1105 | A+ | NEG |  | 2024-01-13 |  |
| E1107 | WD |  |  | 2024-10-16 |  |
| E1109 | A+ |  | RWN | 2025-12-25 |  |
| E1118 | BB+ | NEG |  | 2025-07-14 |  |
| E1121 | WD |  |  | 2024-10-23 |  |
| E1124 | WD |  |  | 2024-06-15 |  |
| E1126 | BB |  | RWN | 2025-07-10 |  |
| E1132 | B+ |  | RWN | 2025-08-24 |  |
| E1133 | B+ |  | RWN | 2025-10-11 |  |
| E1138 | WD |  |  | 2024-12-26 |  |
| E1140 | WD |  |  | 2025-09-15 |  |
| E1146 | BB |  | RWN | 2025-08-12 |  |
| E1155 | WD |  |  | 2026-03-22 |  |
| E1158 | BBB | NEG |  | 2026-08-14 |  |
| E1159 | WD |  |  | 2026-09-22 |  |
| E1160 | B | NEG |  | 2026-07-28 |  |
| E1166 | WD |  |  | 2023-07-26 |  |
| E1168 | BBB- |  | RWN | 2023-10-12 |  |
| E1172 | WD |  |  | 2026-03-12 |  |
| E1181 | A- |  | RWN | 2025-01-06 |  |
| E1188 | BB- | NEG |  | 2024-09-05 |  |
| E1190 | BBB | NEG |  | 2025-05-24 |  |
| E1194 | A |  | RWN | 2025-01-20 |  |
| E1200 | WD |  |  | 2023-11-03 |  |
(55 more rows not shown)

Query 5:

| rated_id | rating | valid_from | valid_to | action |
|---|---|---|---|---|
| E07 | WD | 2026-05-12 |  | WD |
| E08 | CCC | 2026-01-20 | 2026-07-08 | DG |
| E08 | RD | 2026-07-08 |  | DG |
| E10 | BBB+ | 2026-04-15 |  | DG |
| E1001 | WD | 2025-07-20 |  | WD |
| E1006 | AA | 2026-04-15 | 2026-06-17 | UG |
| E1007 | WD | 2026-06-27 |  | WD |
| E1012 | BB+ | 2026-02-06 |  | UG |
| E1021 | WD | 2025-11-08 |  | WD |
| E1032 | WD | 2026-09-15 |  | WD |
| E1034 | BBB+ | 2026-05-02 |  | DG |
| E1041 | WD | 2024-04-09 |  | WD |
| E1048 | WD | 2023-04-15 |  | WD |
| E1051 | A+ | 2026-04-05 | 2026-06-01 | DG |
| E1051 | A+ | 2026-06-01 | 2026-09-20 | DG |
| E1051 | AA- | 2026-09-20 |  | UG |
| E1053 | BB | 2026-03-20 | 2026-07-09 | DG |
| E1053 | BB+ | 2026-07-09 |  | UG |
| E1057 | BB | 2026-06-25 | 2026-09-08 | DG |
| E1057 | WD | 2026-09-19 |  | WD |
| E1058 | BBB- | 2026-07-14 |  | DG |
| E1062 | WD | 2025-03-28 |  | WD |
| E1063 | WD | 2025-01-12 |  | WD |
| E1064 | BBB+ | 2026-03-04 | 2026-06-03 | DG |
| E1064 | A- | 2026-06-03 |  | UG |
| E1076 | WD | 2024-04-28 |  | WD |
| E1080 | A- | 2026-02-14 |  | DG |
| E1084 | WD | 2025-08-02 |  | WD |
| E1093 | B | 2026-07-25 |  | DG |
| E1106 | WD | 2025-08-10 |  | WD |
| E1107 | WD | 2024-10-16 |  | WD |
| E1112 | BBB | 2026-02-20 |  | DG |
| E1115 | WD | 2025-06-28 | 2025-08-06 | WD |
| E1121 | WD | 2024-10-23 |  | WD |
| E1124 | WD | 2024-06-15 |  | WD |
| E1125 | AA | 2026-01-18 |  | UG |
| E1138 | WD | 2024-12-26 |  | WD |
| E1140 | WD | 2025-09-15 |  | WD |
| E1144 | BB- | 2026-05-20 | 2026-06-06 | UG |
| E1144 | B+ | 2026-06-06 |  | DG |
| E1151 | BBB | 2026-01-26 |  | DG |
| E1155 | WD | 2026-03-22 |  | WD |
| E1158 | WD | 2026-02-27 | 2026-05-22 | WD |
| E1159 | BBB+ | 2026-06-16 | 2026-09-22 | DG |
| E1159 | WD | 2026-09-22 |  | WD |
| E1160 | B | 2026-07-28 |  | DG |
| E1163 | BB+ | 2026-03-19 |  | DG |
| E1166 | WD | 2023-07-26 |  | WD |
| E1167 | BB+ | 2026-06-13 | 2026-09-07 | UG |
| E1167 | BB | 2026-09-07 |  | DG |
| E1169 | BB | 2026-05-09 | 2026-08-16 | UG |
| E1169 | BB- | 2026-08-16 |  | DG |
| E1172 | WD | 2026-03-12 |  | WD |
| E1186 | BBB+ | 2026-01-04 |  | DG |
| E1196 | BBB+ | 2026-09-14 | 2026-09-17 | UG |
| E1196 | A- | 2026-09-17 |  | UG |
| E1200 | WD | 2023-11-03 |  | WD |
| E1205 | WD | 2025-11-16 |  | WD |
| E1206 | WD | 2025-11-20 |  | WD |
| E1213 | A- | 2026-02-13 | 2026-03-19 | DG |
(41 more rows not shown)

Query 6:

| count(DISTINCT rated_id) |
|---|
| 0 |

Run more queries, or give the final answers.
The model
<invoke name="sql">
</invoke>
```sql
WITH cur AS (SELECT * FROM ratings WHERE valid_from<='2026-10-01' AND (valid_to IS NULL OR valid_to='' OR valid_to>'2026-10-01'))
SELECT 'Q18' k, string_agg(DISTINCT rated_id, ',') v FROM cur WHERE rating_type='LTIDR' AND watch='RWN'
UNION ALL SELECT 'Q19', string_agg(DISTINCT rated_id, ',') FROM cur WHERE rating_type='LTIDR' AND outlook='NEG'
UNION ALL SELECT 'Q8', string_agg(DISTINCT rated_id, ',') FROM cur WHERE rating_type='LTIDR' AND rating IN ('RD','D','SD')
UNION ALL SELECT 'Q22', string_agg(DISTINCT rated_id, ',') FROM ratings WHERE rating IN ('RD','D','SD')
UNION ALL SELECT 'Q21', string_agg(DISTINCT rated_id, ',') FROM ratings r WHERE rating_type='LTIDR' AND rated_id NOT LIKE 'I%' AND rated_id NOT IN (SELECT rated_id FROM cur WHERE rating_type='LTIDR' AND rating<>'WD')
UNION ALL SELECT 'Q25', count(DISTINCT rated_id)::varchar FROM cur WHERE rating_type='INST' AND list_position(['AAA','AA+','AA','AA-','A+','A','A-','BBB+','BBB','BBB-'],rating)>0
UNION ALL SELECT 'Q48', count(DISTINCT rated_id)::varchar FROM cur WHERE rating_type='INST' AND rating<>'WD'
UNION ALL SELECT 'Q48wd', count(DISTINCT rated_id)::varchar FROM cur WHERE rating_type='INST'
UNION ALL SELECT 'Q30', string_agg(DISTINCT c.rated_id, ',') FROM cur c JOIN entities e ON e.entity_id=c.rated_id JOIN ceilings k ON k.country=e.country WHERE c.rating_type='LTIDR' AND c.ccy_basis='FC' AND c.rating=k.ceiling
UNION ALL SELECT 'Q31', string_agg(DISTINCT c.rated_id||':'||c.rating, ',') FROM cur c JOIN entities e ON e.entity_id=c.rated_id JOIN ceilings k ON k.country=e.country WHERE c.rating_type='LTIDR' AND c.ccy_basis='FC' AND e.entity_type<>'SOV' AND list_position(['AAA','AA+','AA','AA-','A+','A','A-','BBB+','BBB','BBB-','BB+','BB','BB-','B+','B','B-'],c.rating) < list_position(['AAA','AA+','AA','AA-','A+','A','A-','BBB+','BBB','BBB-','BB+','BB','BB-','B+','B','B-'],k.ceiling)
UNION ALL SELECT 'Q7', string_agg(DISTINCT rated_id, ',') FROM (SELECT rated_id, rating, valid_from, lag(rating) OVER (PARTITION BY rated_id,rating_type,ccy_basis ORDER BY valid_from) p FROM ratings WHERE rating_type='LTIDR' AND ccy_basis='FC') WHERE valid_from>='2026-01-01' AND valid_from<='2026-10-01' AND p IS NOT NULL AND rating<>'WD' AND list_position(['AAA','AA+','AA','AA-','A+','A','A-','BBB+','BBB','BBB-','BB+','BB','BB-','B+','B','B-','CCC+','CCC','CCC-','CC','C','RD','D'],rating) > list_position(['AAA','AA+','AA','AA-','A+','A','A-','BBB+','BBB','BBB-','BB+','BB','BB-','B+','B','B-','CCC+','CCC','CCC-','CC','C','RD','D'],p)
UNION ALL SELECT 'G35', string_agg(entity_id,',') FROM entities WHERE entity_id='E09' OR ultimate_parent_id='E09'
UNION ALL SELECT 'G36', string_agg(entity_id,',') FROM entities WHERE entity_id='E02' OR ultimate_parent_id='E02'
UNION ALL SELECT 'Q51', count(*)::varchar FROM entities WHERE entity_id='E5001' OR ultimate_parent_id='E5001'
UNION ALL SELECT 'Q52', count(*)::varchar FROM entities WHERE entity_id='E5086' OR ultimate_parent_id='E5086'
UNION ALL SELECT 'Q54', string_agg(entity_id,',') FROM entities WHERE (entity_id='E5105' OR ultimate_parent_id='E5105') AND country='VD'
UNION ALL SELECT 'Q50', string_agg(ancestor_id||':'||levels_up,',') FROM ancestors WHERE entity_id='E5047'
UNION ALL SELECT 'Q59', count(*)::varchar FROM ancestors WHERE ancestor_id='E5001' AND levels_up='3'
UNION ALL SELECT 'Q55', count(DISTINCT c.rated_id)::varchar FROM cur c JOIN ancestors a ON a.entity_id=c.rated_id JOIN entities p ON p.entity_id=a.ancestor_id WHERE c.rating_type='LTIDR' AND c.rating<>'WD' AND p.country='VD'
UNION ALL SELECT 'Q56', string_agg(DISTINCT c.rated_id||':'||c.rating, ',') FROM cur c JOIN entities e ON e.entity_id=c.rated_id WHERE c.rating_type='LTIDR' AND c.ccy_basis='FC' AND (e.entity_id='E5132' OR e.ultimate_parent_id='E5132')
UNION ALL SELECT 'Q61', string_agg(DISTINCT c.rated_id||':'||c.rating, ',') FROM cur c JOIN entities e ON e.entity_id=c.rated_id WHERE c.rating_type='LTIDR' AND c.ccy_basis='FC' AND (e.entity_id='E5001' OR e.ultimate_parent_id='E5001') AND list_position(['AAA','AA+','AA','AA-','A+','A','A-','BBB+','BBB','BBB-','WD'],c.rating) IS NULL
UNION ALL SELECT 'Q58', string_agg(i.instrument_id||':'||i.guarantor_id,',') FROM instruments i JOIN entities g ON g.entity_id=i.guarantor_id JOIN entities s ON s.entity_id=i.issuer_id WHERE i.guarantor_id<>'' AND coalesce(nullif(g.ultimate_parent_id,''),g.entity_id)<>coalesce(nullif(s.ultimate_parent_id,''),s.entity_id);
```
Query results
Query 1:

| k | v |
|---|---|
| Q18 | E06,E1133,E1006,E1019,E1264,E1013,E1061,E1238,E1297,E1037,E1209,E1242,E1317,E1039,E1059,E1266,E1109,E1168,E1088,E1194,E1099,E1132,E1260,E1066,E1146,E1203,E1314,E1323,E1181,E1098,E1126,E1267 |
| Q19 | E1055,E1294,E5119,E5141,E09,E1211,E5019,E5113,E5131,E1005,E1080,E5116,E1034,E1188,E1248,E5057,E1056,E1059,E1282,E5013,E5023,E5062,E1271,E1105,E1158,E01,E1064,E1118,E1261,E1046,E1228,E1263,E5050,E5073,E5099,E1072,E1190,E5039,E5156,E1079,E1029,E1160,E5020,E5059,E1300,E5097,E5102 |
| Q8 | E08 |
| Q22 | E08 |
| Q21 | E1007,E1032,E1057,E1155,E1159,E1253,E1308,E1062,E1218,E1041,E1063,E1107,E1138,E1140,E1206,E1219,E1320,E1121,E1205,E1244,E1316,E1048,E1084,E1076,E07,E1021,E1166,E1001,E1124,E1172,E1277,E1200,E1225,E1233,E1234 |
| Q25 | 72 |
| Q48 | 113 |
| Q48wd | 113 |
| Q30 | E5012,E1236,E5047,E1194,E5091,E15,E5116,E5124,E1028,E1126,E05,E1101,E1039 |
| Q31 |  |
| Q7 | E1034,E1080,E1064,E1093,E1167,E1058,E08,E1186,E1169,E1112,E1290,E1285,E5156,E1255,E1263,E1228,E1229,E1298,E1307,E1151,E1294,E1051,E1160,E10,E5059,E1144,E1159,E1057,E1053,E5113,E1243,E5019,E1163,E5097,E1213,E1300 |
| G35 | E09,E10,E11 |
| G36 | E02,E04 |
| Q51 | 58 |
| Q52 | 19 |
| Q54 | E5106,E5124,E5130 |
| Q50 | E5035:1,E5023:2,E5011:3,E5005:4,E5002:5,E5001:6 |
| Q59 | 12 |
| Q55 | 31 |
| Q56 | E5140:A+,E5143:A,E5133:BBB-,E5141:BB,E5144:BB-,E5132:BB+,E5136:BBB- |
| Q61 | E5013:B-,E5047:BB,E5029:BB+,E5021:B,E5024:B-,E5041:B-,E5048:B-,E5007:B,E5028:B-,E5037:B+,E5042:BB,E5030:B,E5022:BB-,E5025:BB,E5012:BB,E5039:BB-,E5010:BB-,E5016:BB,E5023:B- |
| Q58 | I5007:E5145 |

Run more queries, or give the final answers.
The model
**Q1.** A-. E01's foreign-currency issuer rating was A- from 2024-03-12 to 2025-06-20 (action A01).

**Q2.** No. On 2026-02-10 only the outlook moved to Negative (A03), and the rating stayed BBB.

**Q3.** No. The 2031 note (I02) was cut to BB+ on 2025-06-20 (A07), which is below investment grade.

**Q4.** Positive. E02's current rating is A with a POS outlook (A09).

**Q5.** The holder takes E02's credit risk (Northwind Holdings, the guarantor of I03), which is rated A (A09).

**Q6.** Not asked in the JSON. Valdoria Telecom (E05) is rated BB foreign-currency and BBB- local-currency (A14, A13). The data does not state the reason, though the VD ceiling of BB fits the foreign-currency cap.

**Q7.** Thirty-six issuers had a foreign-currency issuer-rating downgrade in 2026 (listed in the JSON). They include E08 and E10.

**Q8.** E08 (Saxby Shipping) is the only entity in default. Its rating has been RD since 2026-07-08 (A22).

**Q9.** 377. This counts distinct rated entities with a non-withdrawn issuer rating in force on 1 October 2026. I could not check whether it includes the two sovereigns.

**Q10.** Depends. E05 is BB in foreign currency (not investment grade) and BBB- in local currency (investment grade).

**Q11.** BBB+. Marlow's rating on 2025-06-01 was BBB+ (A36).

**Q12.** A-. Marlow's rating on 2024-01-01 was A- (A34).

**Q13.** 1. Only the 2024-09-30 downgrade from A- to BBB+ (A36) counts.

**Q14.** None. Halden Foods' first rating (E12, A30) began on 2024-02-01.

**Q15.** A-. E10's rating on 2026-01-01 was A- (A26).

**Q16.** No. Marlow was BBB+ on 2025-01-01 and is BBB+ now. Only the watch and outlook changed (A35, A33).

**Q17.** No. The 2026-09-03 action on E06 was a Rating Watch Negative placement (A17) with the rating unchanged at A-.

**Q18.** Thirty-two issuers were on Rating Watch Negative (listed in the JSON).

**Q19.** Forty-seven issuers had a Negative outlook (listed in the JSON).

**Q20.** No. E07's rating was withdrawn (WD, A19), which is not a default rating.

**Q21.** Thirty-five entities had an issuer rating that was later withdrawn and no longer had one on 1 October 2026 (listed in the JSON). They include E07.

**Q22.** E08 is the only entity ever rated RD, D or SD.

**Q23.** F2 (A04).

**Q24.** Yes. E01's issuer rating is BBB.

**Q25.** 72 instruments were rated BBB- or higher on 1 October 2026.

**Q26.** A+ (A40).

**Q27.** A- (I06, A42).

**Q28.** BBB+ (A38).

**Q29.** None. The data holds no rating records for the Republic of Valdoria (VD).

**Q30.** Thirteen entities were exactly at their country's ceiling (listed in the JSON). They include E05 and E15.

**Q31.** No. No non-sovereign issuer was rated above its country ceiling.

**Q32.** E09 (Halden Group plc).

**Q33.** The holder takes E10's credit risk (Halden Bank, the guarantor of I05), which is rated BBB+ (A27).

**Q34.** No. E12 has no parent and is its own group, while E10 sits under E09.

**Q35.** 3 (E09, E10, E11).

**Q36.** 2 (E02, E04).

**Q37.** 497. The entities table is already merged, with 497 unique entity_ids.

**Q38.** No. E06 and E13 are separate entities, each with its own record.

**Q39.** A (A09).

**Q40.** 79 distinct GB issuers.

**Q41.** None. No Brindle Capital entity turned up in my entity search.

**Q42.** LU (E10, Halden Bank).

**Q43.** 1 (E10 is the only LU entity).

**Q44.** Yes. I07 has local_currency = yes and is denominated in XVD.

**Q45.** Yes. I07 is rated BBB-, which is above the VD ceiling of BB.

**Q46.** No. E11 has no rating records.

**Q47.** None. I08 has no rating records.

**Q48.** 113 instruments held a rating on 1 October 2026.

**Q49.** E5001 (Cerid Group plc).

**Q50.** 6 levels, from the ancestors table (E5001 is at level 6 above E5047).

**Q51.** 58.

**Q52.** 19.

**Q53.** No. E5062 belongs to the E5059 group and E5086 is a separate top entity.

**Q54.** E5106, E5124 and E5130.

**Q55.** 31 rated entities have a VD-domiciled entity above them.

**Q56.** BB-. E5144 holds BB- as the lowest foreign-currency issuer rating in the Vesol group.

**Q57.** E5002 (Cerid Energy plc). E5011's chain runs E5005, E5002, E5001 and E5013's runs E5006, E5002, E5001.

**Q58.** E5145 (Geren Group SA). It guarantees I5007, which E5133 (Vesol group) issued.

**Q59.** 12.

**Q60.** The holder takes E5145's credit risk (the guarantor of I5007). It is not in the issuer's group, since the issuer E5133 sits under E5132.

**Q61.** 19 Cerid group members hold a foreign-currency issuer rating below investment grade.

```json
{
"Q1":{"rating":"A-"},
"Q2":{"downgraded":"no"},
"Q3":{"investment_grade":"no","rating":"BB+"},
"Q4":{"outlook":"POS"},
"Q5":{"risk_of":"E02","rating":"A"},
"Q7":{"issuers":["E1034","E1080","E1064","E1093","E1167","E1058","E08","E1186","E1169","E1112","E1290","E1285","E5156","E1255","E1263","E1228","E1229","E1298","E1307","E1151","E1294","E1051","E1160","E10","E5059","E1144","E1159","E1057","E1053","E5113","E1243","E5019","E1163","E5097","E1213","E1300"]},
"Q8":{"entities":["E08"]},
"Q9":{"count":377},
"Q10":{"investment_grade":"depends"},
"Q11":{"rating":"BBB+"},
"Q12":{"rating":"A-"},
"Q13":{"count":1},
"Q14":{"rating":"none"},
"Q15":{"rating":"A-"},
"Q16":{"changed":"no"},
"Q17":{"downgraded":"no"},
"Q18":{"issuers":["E06","E1133","E1006","E1019","E1264","E1013","E1061","E1238","E1297","E1037","E1209","E1242","E1317","E1039","E1059","E1266","E1109","E1168","E1088","E1194","E1099","E1132","E1260","E1066","E1146","E1203","E1314","E1323","E1181","E1098","E1126","E1267"]},
"Q19":{"issuers":["E1055","E1294","E5119","E5141","E09","E1211","E5019","E5113","E5131","E1005","E1080","E5116","E1034","E1188","E1248","E5057","E1056","E1059","E1282","E5013","E5023","E5062","E1271","E1105","E1158","E01","E1064","E1118","E1261","E1046","E1228","E1263","E5050","E5073","E5099","E1072","E1190","E5039","E5156","E1079","E1029","E1160","E5020","E5059","E1300","E5097","E5102"]},
"Q20":{"in_default":"no"},
"Q21":{"entities":["E1007","E1032","E1057","E1155","E1159","E1253","E1308","E1062","E1218","E1041","E1063","E1107","E1138","E1140","E1206","E1219","E1320","E1121","E1205","E1244","E1316","E1048","E1084","E1076","E07","E1021","E1166","E1001","E1124","E1172","E1277","E1200","E1225","E1233","E1234"]},
"Q22":{"entities":["E08"]},
"Q23":{"rating":"F2"},
"Q24":{"investment_grade":"yes"},
"Q25":{"count":72},
"Q26":{"rating":"A+"},
"Q27":{"rating":"A-"},
"Q28":{"rating":"BBB+"},
"Q29":{"rating":"none"},
"Q30":{"entities":["E5012","E1236","E5047","E1194","E5091","E15","E5116","E5124","E1028","E1126","E05","E1101","E1039"]},
"Q31":{"any":"no"},
"Q32":{"parent":"E09"},
"Q33":{"risk_of":"E10","rating":"BBB+"},
"Q34":{"same_group":"no"},
"Q35":{"count":3},
"Q36":{"count":2},
"Q37":{"count":497},
"Q38":{"same":"no"},
"Q39":{"rating":"A"},
"Q40":{"count":79},
"Q41":{"rating":"none"},
"Q42":{"country":"LU"},
"Q43":{"count":1},
"Q44":{"local_currency":"yes"},
"Q45":{"above_ceiling":"yes"},
"Q46":{"issuer_rating":"no"},
"Q47":{"rating":"none"},
"Q48":{"count":113},
"Q49":{"parent":"E5001"},
"Q50":{"count":6},
"Q51":{"count":58},
"Q52":{"count":19},
"Q53":{"same_group":"no"},
"Q54":{"entities":["E5106","E5124","E5130"]},
"Q55":{"count":31},
"Q56":{"rating":"BB-"},
"Q57":{"entity":"E5002"},
"Q58":{"entities":["E5145"]},
"Q59":{"count":12},
"Q60":{"risk_of":"E5145","same_group":"no"},
"Q61":{"count":19}
}
```