D3 sql+executed, run 1: the query session

← back to the run

20 queries1 failed6 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 some sample data.

```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%' ORDER BY name;
```
```sql
SELECT * FROM ceilings;
```
```sql
SELECT rating_type, ccy_basis, count(*) FROM ratings GROUP BY ALL ORDER BY 1,2;
```
```sql
SELECT DISTINCT rating FROM ratings ORDER BY 1;
```
```sql
SELECT DISTINCT watch, action, outlook FROM ratings ORDER BY 1,2,3;
```
Query results
Query 1:

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

Query 2:

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

Query 3:

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

Query 4:

| rating |
|---|
| A |
| A+ |
| A- |
| AA |
| AA- |
| B |
| B+ |
| B- |
| BB |
| BB+ |
| BB- |
| BBB |
| BBB+ |
| BBB- |
| CCC |
| F2 |
| RD |
| WD |

Query 5:

| watch | action | outlook |
|---|---|---|
| RWN | RW |  |
|  | AF | NEG |
|  | AF | POS |
|  | AF | STA |
|  | AF |  |
|  | AS | STA |
|  | AS |  |
|  | DG | NEG |
|  | DG | POS |
|  | DG | STA |
|  | DG |  |
|  | UG | NEG |
|  | UG | POS |
|  | UG | STA |
|  | WD |  |

Run more queries, or give the final answers.
The model
<parameter name="sql">SELECT * FROM instruments ORDER BY instrument_id;</parameter>
```sql
SELECT * FROM instruments ORDER BY instrument_id;
```
```sql
SELECT r.*, e.name FROM ratings r LEFT JOIN entities e ON e.entity_id=r.rated_id WHERE r.rated_id IN ('E01','E02','E03','E05','E06','E07','E09','E10','E11','E12','E13','E14','E15','E17','CV','VD') ORDER BY r.rated_id, r.rating_type, r.ccy_basis, r.valid_from;
```
Query results
Query 1:

| 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 2:

| rated_id | rating_type | ccy_basis | rating | outlook | watch | action | valid_from | valid_to | action_id | name |
|---|---|---|---|---|---|---|---|---|---|---|
| CV | LTIDR | FC | BBB+ | STA |  | AS | 2024-01-01 |  | A38 | Republic of Corvenia |
| CV | LTIDR | LC | A- | STA |  | AS | 2024-01-01 |  | A39 | Republic of Corvenia |
| E01 | LTIDR | FC | A- | STA |  | AS | 2024-03-12 | 2025-06-20 | A01 | Kestrel Energy plc |
| E01 | LTIDR | FC | BBB | STA |  | DG | 2025-06-20 | 2026-02-10 | A02 | Kestrel Energy plc |
| E01 | LTIDR | FC | BBB | NEG |  | AF | 2026-02-10 |  | A03 | Kestrel Energy plc |
| E01 | STIDR | FC | F2 |  |  | AF | 2026-02-10 |  | A04 | Kestrel Energy plc |
| E02 | LTIDR | FC | A | STA |  | AS | 2023-11-01 | 2025-09-15 | A08 | Northwind Holdings plc |
| E02 | LTIDR | FC | A | POS |  | AF | 2025-09-15 |  | A09 | Northwind Holdings plc |
| E05 | LTIDR | FC | BB | STA |  | AS | 2025-04-01 |  | A14 | Valdoria Telecom SA |
| E05 | LTIDR | LC | BBB- | STA |  | AS | 2025-04-01 |  | A13 | Valdoria Telecom SA |
| E06 | LTIDR | FC | A- | STA |  | AS | 2024-05-01 | 2026-09-03 | A16 | Orrin Bank AG |
| E06 | LTIDR | FC | A- |  | RWN | RW | 2026-09-03 |  | A17 | Orrin Bank AG |
| E07 | LTIDR | FC | BB | STA |  | AS | 2024-01-10 | 2026-05-12 | A18 | Pellam Retail Ltd |
| E07 | LTIDR | FC | WD |  |  | WD | 2026-05-12 |  | A19 | Pellam Retail Ltd |
| E09 | LTIDR | FC | A | STA |  | AS | 2023-05-01 | 2026-03-01 | A24 | Halden Group plc |
| E09 | LTIDR | FC | A | NEG |  | AF | 2026-03-01 |  | A25 | Halden Group plc |
| E10 | LTIDR | FC | A- | STA |  | AS | 2023-05-01 | 2026-04-15 | A26 | Halden Bank AG |
| E10 | LTIDR | FC | BBB+ | STA |  | DG | 2026-04-15 |  | A27 | Halden Bank AG |
| E12 | LTIDR | FC | BB- | STA |  | AS | 2024-02-01 | 2025-08-01 | A30 | Halden Foods Ltd |
| E12 | LTIDR | FC | BB | STA |  | UG | 2025-08-01 |  | A31 | Halden Foods Ltd |
| E13 | LTIDR | FC | BBB | STA |  | AS | 2024-07-01 |  | A32 | Orrin Bancorp Inc |
| E14 | LTIDR | FC | A- | STA |  | AS | 2023-01-15 | 2024-09-30 | A34 | Marlow Utilities plc |
| E14 | LTIDR | FC | BBB+ | STA |  | DG | 2024-09-30 | 2025-11-20 | A36 | Marlow Utilities plc |
| E14 | LTIDR | FC | BBB+ |  | RWN | RW | 2025-11-20 | 2026-05-01 | A35 | Marlow Utilities plc |
| E14 | LTIDR | FC | BBB+ | STA |  | AF | 2026-05-01 |  | A33 | Marlow Utilities plc |
| E15 | LTIDR | FC | A | STA |  | AS | 2024-03-01 |  | A41 | Corvenia Power SA |
| E15 | LTIDR | LC | A+ | STA |  | AS | 2024-03-01 |  | A40 | Corvenia Power SA |

Run more queries, or give the final answers.
The model
<parameter name="sql">SELECT * FROM ratings WHERE rating_type='INST' AND rated_id IN ('I01','I02','I03','I04','I05','I06','I07','I08') ORDER BY rated_id, valid_from;
```
```sql
SELECT * FROM instruments WHERE instrument_id NOT LIKE 'I10%' AND instrument_id NOT LIKE 'I1_%' OR description ILIKE '%cross%' OR guarantor_id<>'' ORDER BY instrument_id;
```
```sql
SELECT * FROM entities WHERE name ILIKE '%Cerid%' OR name ILIKE '%Rotam%' OR name ILIKE '%Wonod%' OR name ILIKE '%Vesol%' OR name ILIKE '%Belir%' OR name ILIKE '%Brindle%' OR parent_id<>'' ORDER BY entity_id;
```
```sql
SELECT * FROM ratings WHERE rating IN ('RD','WD','CCC') OR watch<>'' OR outlook='NEG' ORDER BY rated_id, valid_from;
```</parameter>
Query results
Query 1:

| 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 |

Query 2:

| entity_id | name | lei | country | entity_type | parent_id | ultimate_parent_id | record_ids |
|---|---|---|---|---|---|---|---|
| E04 | Northwind Finance BV | 213800LA5RYJLGXV2T85 | NL | FINSUB | E02 | E02 | E04 |
| E10 | Halden Bank AG | 391200QYPVFF2O9K2039 | LU | BANK | E09 | E09 | E10 E17 |
| E1006 | Soson Airlines Inc | 213800WSVEOAQ5HD4C43 | US | CORP | E1005 | E1005 | E1006 |
| E1013 | Pisol Pharma BV | 969500U072SAPPW32N81 | NL | BANK | E1004 | E1004 | E1013 |
| E1033 | Kunid Pharma SA | 213800Q84PS4FTJJB947 | ES | CORP | E1004 | E1004 | E1033 |
| E1046 | Ditin Shipping Inc | 549300ZM08IADSAK3L87 | US | BANK | E1026 | E1026 | E1046 |
| E1047 | Vaved Pharma plc | 391200WGA8OE30KZUD08 | GB | CORP | E1020 | E1020 | E1047 |
| E1059 | Kelim Media SA | 549300CRXZL5I1OT6L14 | CV | CORP | E1015 | E1015 | E1059 E1060 |
| E1066 | Lolil Industries SA | 213800VQSNQ2434DKS91 | ES | CORP | E1004 | E1004 | E1066 |
| E1075 | Nilim Industries Inc | 815600GT8SEYXSQI7W78 | US | CORP | E1071 | E1071 | E1075 |
| E1089 | Hanir Airlines SA | 969500WJX7JXMZXN4L42 | GR | CORP | E1078 | E1078 | E1089 |
| E1095 | Hunel Foods Inc | 549300YCPCEYTT7UCP57 | US | CORP | E1027 | E1027 | E1095 |
| E1098 | Wirim Water Inc | 724500HD5AQ2MDSXXU69 | US | CORP | E1006 | E1005 | E1098 |
| E11 | Halden Leasing SA | 549300XBZH4ULO9MQV55 | FR | FINSUB | E10 | E09 | E11 |
| E1101 | Doror Telecom SA | 815600YUVYKAXDN9LE93 | VD | CORP | E1083 | E1083 | E1101 |
| E1110 | Rinar Industries SA | 815600DZBIB9VS57NE44 | ES | CORP | E1007 | E1007 | E1110 |
| E1114 | Verod Logistics plc | 213800VNSK3FDUWI9Q67 | GB | CORP | E1063 | E1063 | E1114 |
| E1149 | Honel Shipping BV | 969500DV6LOBOACJKE42 | NL | CORP | E1013 | E1004 | E1149 |
| E1174 | Fivel Retail SpA | 724500P05MC40B0POA10 | IT | BANK | E1073 | E1073 | E1174 |
| E1177 | Kiver Capital AG | 213800J4ER8QI0XDZ847 | DE | BANK | E1010 | E1010 | E1177 |
| E1179 | Cotan Foods SA | 391200USHZVHBK9FHP01 | IT | CORP | E1162 | E1162 | E1179 E1180 |
| E1183 | Danad Pharma plc | 96950015W720OD9VIA28 | GB | CORP | E1025 | E1025 | E1183 |
| E1191 | Boler Steel SA | 815600G5CMC2QEQUCG23 | FR | CORP | E1177 | E1010 | E1191 |
| E1197 | Kaval Property plc | 8156000IN4HMEEM2ON82 | GB | CORP | E1066 | E1004 | E1197 |
| E1215 | Penen Retail Inc | 8156003V8NY694JQQA11 | US | BANK | E1063 | E1063 | E1215 |
| E1228 | Cevad Chemicals plc | 724500JFK718P3DNW233 | GB | CORP | E1023 | E1023 | E1228 |
| E1233 | Kavid Industries AG | 3912001DEUC7UPZYE471 | DE | CORP | E1198 | E1198 | E1233 |
| E1248 | Hivod Mining Inc | 213800XN4WOS9M0UP985 | US | CORP | E1107 | E1107 | E1248 |
| E1271 | Rarid Logistics AG | 213800M91M3NKSWT8K97 | DE | CORP | E1071 | E1071 | E1271 |
| E1273 | Furer Property SA | 724500Y582IZ7KJ6AG72 | ES | CORP | E1074 | E1074 | E1273 |
| E1275 | Fusin Steel Inc | 815600G1ZFK3SU6EZU96 | US | CORP | E1189 | E1189 | E1275 |
| E1276 | Nevil Holdings SpA | 2138005AK9MHXT35J172 | IT | CORP | E1074 | E1074 | E1276 |
| E1292 | Bavon Industries plc | 549300RN36RWXRZPV988 | GB | CORP | E1061 | E1061 | E1292 |
| E1293 | Datod Airlines plc | 391200BREGDXY5M1LW07 | GB | CORP | E1166 | E1166 | E1293 |
| E1315 | Wetid Shipping AG | 391200G0CPKPNGKWC253 | DE | CORP | E1278 | E1278 | E1315 |
| E1325 | Poval Chemicals Finance SA | 9695001YLTVXK1L24J01 | FR | FINSUB | E1084 | E1084 | E1325 |
| E1326 | Witad Steel Finance BV | 969500WJEQ7O6V8P8X79 | FR | FINSUB | E1052 | E1052 | E1326 |
| E1327 | Nuner Holdings Finance plc | 391200SWQKZG1IRLG226 | GB | FINSUB | E1119 | E1119 | E1327 |
| E1328 | Palad Mining Finance BV | 969500NW5R0G6TCAZA92 | GB | FINSUB | E1244 | E1244 | E1328 |
| E1329 | Ganen Shipping Finance plc | 549300ZZB6Z4QUIPZW48 | FR | FINSUB | E1069 | E1069 | E1329 |
| E1330 | Niner Pharma Finance SA | 969500PPIIF0MLO97E32 | NL | FINSUB | E1021 | E1021 | E1330 |
| E1331 | Tulol Shipping Finance BV | 391200D59Z1B4XWDGA48 | FR | FINSUB | E1025 | E1025 | E1331 |
| E1332 | Sanin Mining Finance SA | 21380077GIA72K258C76 | FR | FINSUB | E1068 | E1068 | E1332 |
| E1333 | Gilen Capital Finance plc | 213800HVPSP99Z2KCJ88 | NL | FINSUB | E1082 | E1082 | E1333 |
| E1334 | Votim Industries Finance BV | 3912005LQY8PFMP9D487 | FR | FINSUB | E1260 | E1260 | E1334 |
| E1335 | Belor Telecom Finance plc | 9695001Q1J0GREF1Y798 | NL | FINSUB | E1234 | E1234 | E1335 |
| E1336 | Navor Holdings Finance SA | 391200G55M6O27UJS152 | GB | FINSUB | E1176 | E1176 | E1336 |
| E1337 | Lanon Telecom Finance plc | 391200EERFGANN46Y270 | GB | FINSUB | E1038 | E1038 | E1337 |
| E1338 | Hivor Industries Finance BV | 724500WX98LDWMIZLF21 | GB | FINSUB | E1073 | E1073 | E1338 |
| E1339 | Wivin Airlines Finance SA | 724500Y59GQFHLXXCT69 | NL | FINSUB | E1241 | E1241 | E1339 |
| E5001 | Cerid Group plc | 815600F48PANJQE75352 | GB | CORP |  |  | E5001 |
| E5002 | Cerid Energy plc | 3912006ACANJUP8PLJ39 | GB | CORP | E5001 | E5001 | E5002 |
| E5003 | Cerid Media BV | 724500EXQA91TPK6WL60 | NL | CORP | E5001 | E5001 | E5003 |
| E5004 | Cerid Utilities plc | 969500SFWGRHVUTANY40 | GB | CORP | E5001 | E5001 | E5004 |
| E5005 | Cerid Chemicals SA | 391200B1GR4AGTV5WY99 | VD | CORP | E5002 | E5001 | E5005 E5167 |
| E5006 | Cerid Foods plc | 969500HZQBDFIIHLYK06 | GB | BANK | E5002 | E5001 | E5006 |
| E5007 | Cerid Holdings BV | 391200Q98UGZZQTV1C88 | NL | CORP | E5003 | E5001 | E5007 |
| E5008 | Cerid Airlines BV | 815600M8RE9386DDQB31 | NL | CORP | E5003 | E5001 | E5008 |
| E5009 | Cerid Leror Logistics plc | 96950033222B9BRCGP58 | GB | CORP | E5004 | E5001 | E5009 |
| E5010 | Cerid Gator Steel Inc | 724500E2OQMMMZVTBS53 | US | CORP | E5004 | E5001 | E5010 |
(155 more rows not shown)

Query 3:

| rated_id | rating_type | ccy_basis | rating | outlook | watch | action | valid_from | valid_to | action_id |
|---|---|---|---|---|---|---|---|---|---|
| E01 | LTIDR | FC | BBB | NEG |  | AF | 2026-02-10 |  | A03 |
| E06 | LTIDR | FC | A- |  | RWN | RW | 2026-09-03 |  | A17 |
| E07 | LTIDR | FC | WD |  |  | WD | 2026-05-12 |  | A19 |
| 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 | NEG |  | AF | 2026-03-01 |  | A25 |
| E1001 | LTIDR | FC | WD |  |  | WD | 2025-07-20 |  | A1002 |
| E1005 | LTIDR | FC | BB | NEG |  | DG | 2025-08-02 |  | A1007 |
| E1006 | LTIDR | FC | AA |  | RWN | RW | 2026-06-17 |  | A1010 |
| E1007 | LTIDR | FC | WD |  |  | WD | 2026-06-27 |  | A1013 |
| E1012 | LTIDR | FC | BB |  | RWN | RW | 2025-04-03 | 2026-02-06 | A1022 |
| E1013 | LTIDR | FC | BB- |  | RWN | RW | 2025-07-09 |  | A1026 |
| E1019 | LTIDR | LC | BBB- |  | RWN | RW | 2024-02-08 | 2024-03-20 | A1041 |
| E1019 | LTIDR | LC | BBB- |  | RWN | RW | 2024-03-20 |  | A1042 |
| E1021 | LTIDR | FC | WD |  |  | WD | 2025-11-08 |  | A1046 |
| E1028 | LTIDR | FC | BB | NEG |  | AF | 2025-12-16 | 2025-12-25 | A1057 |
| E1029 | LTIDR | FC | A- | NEG |  | UG | 2025-08-08 |  | A1062 |
| E1032 | LTIDR | FC | WD |  |  | WD | 2026-09-15 |  | A1067 |
| E1034 | LTIDR | FC | BBB+ | NEG |  | DG | 2026-05-02 |  | A1070 |
| E1037 | LTIDR | FC | A |  | RWN | RW | 2022-05-07 |  | A1076 |
| E1039 | LTIDR | FC | A |  | RWN | RW | 2025-12-09 |  | A1080 |
| E1041 | LTIDR | FC | A+ |  | RWN | RW | 2023-04-08 | 2024-04-09 | A1084 |
| E1041 | LTIDR | FC | WD |  |  | WD | 2024-04-09 |  | A1085 |
| E1046 | LTIDR | FC | AA- | NEG |  | UG | 2025-05-28 |  | A1092 |
| E1048 | LTIDR | FC | WD |  |  | WD | 2023-04-15 |  | A1095 |
| E1051 | LTIDR | FC | A+ | NEG |  | DG | 2026-04-05 | 2026-06-01 | A1102 |
| E1053 | LTIDR | FC | BB | NEG |  | DG | 2026-03-20 | 2026-07-09 | A1109 |
| E1055 | LTIDR | FC | BBB- | NEG |  | UG | 2024-12-04 |  | A1117 |
| E1056 | LTIDR | FC | A+ | NEG |  | DG | 2023-01-01 |  | A1119 |
| E1057 | LTIDR | FC | BB | NEG |  | AF | 2026-09-08 | 2026-09-19 | A1123 |
| E1057 | LTIDR | FC | WD |  |  | WD | 2026-09-19 |  | A1124 |
| E1059 | LTIDR | FC | BB- | NEG |  | AF | 2025-02-16 |  | A1129 |
| E1059 | LTIDR | LC | BB- |  | RWN | RW | 2026-02-23 |  | A1132 |
| E1061 | LTIDR | FC | A |  | RWN | RW | 2025-06-06 |  | A1134 |
| E1062 | LTIDR | FC | WD |  |  | WD | 2025-03-28 |  | A1136 |
| E1063 | LTIDR | FC | WD |  |  | WD | 2025-01-12 |  | A1138 |
| E1064 | LTIDR | FC | BBB+ | NEG |  | AF | 2026-02-02 | 2026-03-04 | A1141 |
| E1064 | LTIDR | FC | A- | NEG |  | UG | 2026-06-03 |  | A1142 |
| E1066 | LTIDR | FC | A- |  | RWN | RW | 2026-05-03 |  | A1145 |
| E1072 | LTIDR | FC | BB- | NEG |  | AF | 2026-02-07 |  | A1156 |
| E1076 | LTIDR | FC | WD |  |  | WD | 2024-04-28 |  | A1161 |
| E1079 | LTIDR | FC | BB+ | NEG |  | AF | 2023-07-25 | 2024-01-26 | A1170 |
| E1079 | LTIDR | FC | BB+ | NEG |  | AF | 2024-01-26 |  | A1171 |
| E1080 | LTIDR | FC | A- | NEG |  | DG | 2026-02-14 |  | A1174 |
| E1084 | LTIDR | FC | WD |  |  | WD | 2025-08-02 |  | A1180 |
| E1088 | LTIDR | FC | B+ |  | RWN | RW | 2024-01-16 |  | A1190 |
| E1091 | LTIDR | FC | A |  | RWN | RW | 2025-08-19 | 2025-08-27 | A1199 |
| E1095 | LTIDR | FC | A- |  | RWN | RW | 2025-02-18 | 2025-11-08 | A1206 |
| E1098 | LTIDR | FC | BBB- |  | RWN | RW | 2026-03-05 | 2026-04-28 | A1212 |
| E1098 | LTIDR | FC | BBB- |  | RWN | RW | 2026-04-28 |  | A1211 |
| E1099 | LTIDR | FC | BB+ |  | RWN | RW | 2023-11-05 |  | A1214 |
| E1100 | LTIDR | FC | B+ | NEG |  | UG | 2025-02-07 | 2025-10-12 | A1217 |
| E1105 | LTIDR | FC | A+ | NEG |  | UG | 2024-01-13 |  | A1226 |
| E1106 | LTIDR | LC | WD |  |  | WD | 2025-08-10 |  | A1230 |
| E1107 | LTIDR | FC | WD |  |  | WD | 2024-10-16 |  | A1233 |
| E1109 | LTIDR | FC | A+ |  | RWN | RW | 2025-12-25 |  | A1237 |
| E1115 | LTIDR | FC | WD |  |  | WD | 2025-06-28 | 2025-08-06 | A1251 |
| E1118 | LTIDR | FC | BB+ | NEG |  | DG | 2025-07-14 |  | A1255 |
| E1121 | LTIDR | FC | A |  | RWN | RW | 2024-04-24 | 2024-10-23 | A1262 |
| E1121 | LTIDR | FC | WD |  |  | WD | 2024-10-23 |  | A1263 |
(96 more rows not shown)

Query 4 failed: Parser Error: syntax error at or near "sql"

Run more queries, or give the final answers.
The model
<invoke name="x">
</invoke>
```sql
SELECT * FROM ratings WHERE rating_type='INST' AND (rated_id IN ('I01','I02','I03','I04','I05','I06','I07','I08','I5007') ) ORDER BY rated_id, valid_from;
```
```sql
SELECT * FROM entities WHERE name ILIKE '%Brindle%' OR name ILIKE '%Rotam Group%' OR name ILIKE '%Wonod Group%' OR name ILIKE '%Vesol Group%' OR name ILIKE '%Belir Mining%' OR name ILIKE '%Cerid Rosor%' OR name ILIKE '%Cerid Guven%' OR name ILIKE '%Cerid Telecom%' OR entity_id IN ('E08','E03','E17','E5133','E5145','E5059') ORDER BY entity_id;
```
```sql
SELECT country, count(*) FROM entities WHERE country IN ('LU') GROUP BY 1;
```
```sql
SELECT count(*) FROM entities;
```
Query results
Query 1:

| rated_id | rating_type | ccy_basis | rating | outlook | watch | action | valid_from | valid_to | action_id |
|---|---|---|---|---|---|---|---|---|---|
| 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 |
| I5007 | INST |  | BBB |  |  | AS | 2025-02-14 |  | A5126 |

Query 2:

| entity_id | name | lei | country | entity_type | parent_id | ultimate_parent_id | record_ids |
|---|---|---|---|---|---|---|---|
| E08 | Saxby Shipping SA | 969500KOTZ1JFIZSG796 | GR | CORP |  |  | E08 |
| E5011 | Cerid Guven Energy SA | 391200IX7WB68Q29NJ46 | VD | CORP | E5005 | E5001 | E5011 |
| E5013 | Cerid Telecom SA | 724500EU84AMOZS7U244 | ES | BANK | E5006 | E5001 | E5013 |
| E5047 | Cerid Rosor Holdings SA | 8156004CDHFBVRR3LT54 | VD | BANK | E5035 | E5001 | E5047 |
| E5059 | Belir Group AG | 969500YPO4CFVEL1XX12 | DE | CORP |  |  | E5059 |
| E5062 | Belir Mining SA | 54930011OTFCAUKB0A28 | FR | CORP | E5060 | E5059 | E5062 E5168 |
| E5086 | Rotam Group Inc | 213800PJV1XFQEKJ1L86 | US | CORP |  |  | E5086 |
| 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 |

Query 3:

| country | count_star() |
|---|---|
| LU | 1 |

Query 4:

| count_star() |
|---|
| 497 |

Run more queries, or give the final answers.
The model
```sql
SELECT 'orphans' k, count(*)::varchar v FROM ratings r WHERE rated_id NOT IN (SELECT entity_id FROM entities) AND rated_id NOT IN (SELECT instrument_id FROM instruments)
UNION ALL SELECT 'issuers_inforce', count(DISTINCT rated_id)::varchar FROM ratings WHERE rating_type='LTIDR' AND rating<>'WD' AND valid_from<='2026-10-01' AND (valid_to IS NULL OR valid_to='' OR valid_to>'2026-10-01')
UNION ALL SELECT 'gb_issuers', count(DISTINCT r.rated_id)::varchar FROM ratings r JOIN entities e ON e.entity_id=r.rated_id WHERE e.country='GB' AND rating_type='LTIDR' AND rating<>'WD' AND valid_from<='2026-10-01' AND (valid_to IS NULL OR valid_to='' OR valid_to>'2026-10-01')
UNION ALL SELECT 'inst_rated', count(DISTINCT rated_id)::varchar FROM ratings WHERE rating_type='INST' AND rating<>'WD' AND valid_from<='2026-10-01' AND (valid_to IS NULL OR valid_to='' OR valid_to>'2026-10-01')
UNION ALL SELECT 'inst_ig', count(DISTINCT rated_id)::varchar FROM ratings WHERE rating_type='INST' AND rating IN ('AA','AA-','A+','A','A-','BBB+','BBB','BBB-') AND valid_from<='2026-10-01' AND (valid_to IS NULL OR valid_to='' OR valid_to>'2026-10-01')
UNION ALL SELECT 'dg2026_'||rated_id, rating FROM ratings WHERE rating_type='LTIDR' AND action='DG' AND valid_from BETWEEN '2026-01-01' AND '2026-12-31'
UNION ALL SELECT 'rd_'||rated_id, rating||' '||valid_from||' '||coalesce(valid_to,'') FROM ratings WHERE rating='RD'
UNION ALL SELECT 'rwn_'||rated_id, rating FROM ratings WHERE watch='RWN' AND rating_type='LTIDR' AND (valid_to IS NULL OR valid_to='')
UNION ALL SELECT 'neg_'||rated_id, rating FROM ratings WHERE outlook='NEG' AND rating_type='LTIDR' AND (valid_to IS NULL OR valid_to='')
UNION ALL SELECT 'lu', entity_id FROM entities WHERE country='LU'
UNION ALL SELECT 'brindle', entity_id||' '||name FROM entities WHERE name ILIKE '%Brindle%';
```

```sql
SELECT 'ever_wd_lost_'||rated_id v, string_agg(rating||':'||valid_from||'-'||coalesce(valid_to,''),' ' ORDER BY valid_from) FROM ratings WHERE rating_type='LTIDR' AND ccy_basis='FC' GROUP BY rated_id HAVING bool_or(rating<>'WD') AND bool_and(NOT (rating<>'WD' AND (valid_to IS NULL OR valid_to='' OR valid_to>'2026-10-01'))) ;
```

```sql
SELECT e.entity_id, e.country, r.rating, c.ceiling FROM ratings r JOIN entities e ON e.entity_id=r.rated_id JOIN ceilings c ON c.country=e.country WHERE r.rating_type='LTIDR' AND r.ccy_basis='FC' AND r.valid_from<='2026-10-01' AND (r.valid_to IS NULL OR r.valid_to='' OR r.valid_to>'2026-10-01') ORDER BY 1;
```

```sql
SELECT 'grp_'||ultimate_parent_id, count(*)::varchar FROM entities WHERE ultimate_parent_id IN ('E09','E02','E5001','E5086','E5105','E5132') GROUP BY 1
UNION ALL SELECT 'vd_above', count(DISTINCT r.rated_id)::varchar FROM ratings r JOIN ancestors a ON a.entity_id=r.rated_id JOIN entities p ON p.entity_id=a.ancestor_id WHERE p.country='VD' AND r.rating_type='LTIDR' AND r.rating<>'WD' AND r.valid_from<='2026-10-01' AND (r.valid_to IS NULL OR r.valid_to='' OR r.valid_to>'2026-10-01')
UNION ALL SELECT 'cerid_L3', count(*)::varchar FROM ancestors a WHERE a.ancestor_id='E5001' AND a.levels_up=3
UNION ALL SELECT 'anc_'||entity_id||'_'||ancestor_id, levels_up FROM ancestors WHERE entity_id IN ('E5047','E5011','E5013','E11')
UNION ALL SELECT 'wonod_vd', string_agg(entity_id,',') FROM entities WHERE (ultimate_parent_id='E5105' OR entity_id='E5105') AND country='VD'
UNION ALL SELECT 'vesol_fc_'||e.entity_id, r.rating FROM entities e JOIN ratings r ON r.rated_id=e.entity_id WHERE (e.ultimate_parent_id='E5132' OR e.entity_id='E5132') AND r.rating_type='LTIDR' AND r.ccy_basis='FC' AND (r.valid_to IS NULL OR r.valid_to='')
UNION ALL SELECT 'cerid_subig_'||e.entity_id, r.rating FROM entities e JOIN ratings r ON r.rated_id=e.entity_id WHERE (e.ultimate_parent_id='E5001' OR e.entity_id='E5001') AND r.rating_type='LTIDR' AND r.ccy_basis='FC' AND (r.valid_to IS NULL OR r.valid_to='') AND r.rating IN ('BB+','BB','BB-','B+','B','B-','CCC','RD')
UNION ALL SELECT 'guar_out_'||i.instrument_id, i.guarantor_id||' ult '||coalesce(g.ultimate_parent_id,'')||'/'||g.entity_id||' issuer '||coalesce(s.ultimate_parent_id,'')||'/'||s.entity_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 |
|---|---|
| orphans | 0 |
| issuers_inforce | 377 |
| gb_issuers | 79 |
| inst_rated | 113 |
| inst_ig | 72 |
| dg2026_E08 | CCC |
| dg2026_E08 | RD |
| dg2026_E10 | BBB+ |
| dg2026_E1034 | BBB+ |
| dg2026_E1051 | A+ |
| dg2026_E1051 | A+ |
| dg2026_E1053 | BB |
| dg2026_E1057 | BB |
| dg2026_E1058 | BBB- |
| dg2026_E1064 | BBB+ |
| dg2026_E1080 | A- |
| dg2026_E1093 | B |
| dg2026_E1112 | BBB |
| dg2026_E1144 | B+ |
| dg2026_E1151 | BBB |
| dg2026_E1159 | BBB+ |
| dg2026_E1160 | B |
| dg2026_E1163 | BB+ |
| dg2026_E1167 | BB |
| dg2026_E1169 | BB- |
| dg2026_E1186 | BBB+ |
| dg2026_E1213 | A- |
| dg2026_E1213 | BBB+ |
| dg2026_E1228 | BB+ |
| dg2026_E1229 | BB |
| dg2026_E1229 | BB+ |
| dg2026_E1243 | BB |
| dg2026_E1255 | BBB+ |
| dg2026_E1263 | BBB |
| dg2026_E1263 | BBB- |
| dg2026_E1285 | A |
| dg2026_E1290 | B |
| dg2026_E1294 | A+ |
| dg2026_E1298 | BBB |
| dg2026_E1300 | BBB+ |
| dg2026_E1300 | BBB |
| dg2026_E1307 | BB- |
| dg2026_E5019 | BBB+ |
| dg2026_E5033 | A |
| dg2026_E5059 | BB+ |
| dg2026_E5097 | B- |
| dg2026_E5113 | BB- |
| dg2026_E5116 | A |
| dg2026_E5156 | B- |
| rd_E08 | RD 2026-07-08  |
| rwn_E06 | A- |
| rwn_E1006 | AA |
| rwn_E1013 | BB- |
| rwn_E1019 | BBB- |
| rwn_E1037 | A |
| rwn_E1039 | A |
| rwn_E1059 | BB- |
| rwn_E1061 | A |
| rwn_E1066 | A- |
| rwn_E1088 | B+ |
(71 more rows not shown)

Query 2:

| v | string_agg(((((rating || ':') || valid_from) || '-') || COALESCE(valid_to, '')), ' ' ORDER BY valid_from) |
|---|---|
| ever_wd_lost_E1159 | A-:2025-11-02-2026-06-16 BBB+:2026-06-16-2026-09-22 WD:2026-09-22- |
| ever_wd_lost_E1200 | BB:2023-02-03-2023-11-03 WD:2023-11-03- |
| ever_wd_lost_E1206 | AA-:2025-05-09-2025-11-20 WD:2025-11-20- |
| ever_wd_lost_E1234 | BB+:2025-07-19-2026-09-22 WD:2026-09-22- |
| ever_wd_lost_E1063 | BB-:2023-07-05-2025-01-12 WD:2025-01-12- |
| ever_wd_lost_E1140 | AA-:2024-02-08-2025-09-15 WD:2025-09-15- |
| ever_wd_lost_E1277 | BB+:2024-06-08-2025-12-14 WD:2025-12-14- |
| ever_wd_lost_E1279 | BB:2022-04-23-2024-11-17 WD:2024-11-17- |
| ever_wd_lost_E1253 | A:2024-12-21-2025-05-15 A:2025-05-15-2025-08-13 WD:2025-08-13- |
| ever_wd_lost_E1308 | A+:2022-03-02-2025-02-09 A+:2025-02-09-2025-06-19 WD:2025-06-19- |
| ever_wd_lost_E1155 | BB-:2025-02-14-2026-03-22 WD:2026-03-22- |
| ever_wd_lost_E1076 | B+:2022-10-24-2024-04-28 WD:2024-04-28- |
| ever_wd_lost_E1205 | A:2025-03-28-2025-11-16 WD:2025-11-16- |
| ever_wd_lost_E1218 | AA-:2024-11-12-2026-05-22 WD:2026-05-22- |
| ever_wd_lost_E1084 | BB:2025-06-12-2025-08-02 WD:2025-08-02- |
| ever_wd_lost_E1041 | A+:2023-01-01-2023-04-08 A+:2023-04-08-2024-04-09 WD:2024-04-09- |
| ever_wd_lost_E1048 | BB:2022-12-22-2023-04-15 WD:2023-04-15- |
| ever_wd_lost_E1107 | B+:2023-05-25-2024-03-27 B:2024-03-27-2024-10-16 WD:2024-10-16- |
| ever_wd_lost_E07 | BB:2024-01-10-2026-05-12 WD:2026-05-12- |
| ever_wd_lost_E1124 | B+:2022-10-10-2024-06-15 WD:2024-06-15- |
| ever_wd_lost_E1320 | BB+:2022-03-03-2023-10-15 WD:2023-10-15- |
| ever_wd_lost_E1032 | A+:2025-11-08-2026-09-15 WD:2026-09-15- |
| ever_wd_lost_E1225 | BBB-:2023-03-06-2025-06-12 WD:2025-06-12- |
| ever_wd_lost_E1001 | A+:2022-08-18-2025-07-20 WD:2025-07-20- |
| ever_wd_lost_E1244 | BBB-:2023-11-19-2024-04-18 WD:2024-04-18- |
| ever_wd_lost_E1316 | A-:2022-06-01-2024-07-07 WD:2024-07-07- |
| ever_wd_lost_E1057 | BB+:2025-02-21-2026-06-25 BB:2026-06-25-2026-09-08 BB:2026-09-08-2026-09-19 WD:2026-09-19- |
| ever_wd_lost_E1172 | BB+:2025-02-28-2025-10-28 BB:2025-10-28-2025-11-15 BB:2025-11-15-2026-03-12 WD:2026-03-12- |
| ever_wd_lost_E1021 | BBB-:2022-06-19-2025-11-08 WD:2025-11-08- |
| ever_wd_lost_E1062 | BBB-:2023-05-26-2025-03-28 WD:2025-03-28- |
| ever_wd_lost_E1138 | BBB-:2024-03-05-2024-12-26 WD:2024-12-26- |
| ever_wd_lost_E1007 | BB-:2023-06-03-2026-06-27 WD:2026-06-27- |
| ever_wd_lost_E1121 | A:2024-01-25-2024-04-24 A:2024-04-24-2024-10-23 WD:2024-10-23- |
| ever_wd_lost_E1166 | BB:2022-05-19-2023-07-26 WD:2023-07-26- |
| ever_wd_lost_E1219 | BBB-:2024-11-01-2026-04-11 WD:2026-04-11- |
| ever_wd_lost_E1233 | BBB:2024-11-17-2025-01-24 WD:2025-01-24- |

Query 3:

| entity_id | country | rating | ceiling |
|---|---|---|---|
| CV | CV | BBB+ | A |
| E05 | VD | BB | BB |
| E1019 | CV | BB+ | A |
| E1028 | VD | BB | BB |
| E1039 | CV | A | A |
| E1059 | CV | BB- | A |
| E1071 | CV | B+ | A |
| E1096 | CV | BBB | A |
| E1101 | VD | BB | BB |
| E1106 | VD | B+ | BB |
| E1126 | VD | BB | BB |
| E1136 | CV | A- | A |
| E1144 | CV | B+ | A |
| E1185 | CV | BB+ | A |
| E1194 | CV | A | A |
| E1217 | CV | BB- | A |
| E1223 | CV | BB+ | A |
| E1229 | CV | BB+ | A |
| E1236 | VD | BB | BB |
| E1243 | CV | BB | A |
| E1279 | VD | WD | BB |
| E1283 | CV | BB | A |
| E1304 | CV | BB | A |
| E1307 | VD | BB- | BB |
| E1313 | VD | BB- | BB |
| E15 | CV | A | A |
| E5012 | VD | BB | BB |
| E5023 | VD | B- | BB |
| E5024 | VD | B- | BB |
| E5047 | VD | BB | BB |
| E5091 | VD | BB | BB |
| E5098 | CV | B- | A |
| E5104 | CV | BB | A |
| E5106 | VD | B- | BB |
| E5116 | CV | A | A |
| E5117 | CV | BB | A |
| E5124 | VD | BB | BB |
| E5127 | CV | B | A |
| E5130 | VD | B- | BB |

Query 4:

| ('grp_' || ultimate_parent_id) | CAST(count_star() AS VARCHAR) |
|---|---|
| grp_E5132 | 12 |
| grp_E5105 | 26 |
| grp_E09 | 2 |
| grp_E02 | 1 |
| grp_E5001 | 57 |
| grp_E5086 | 18 |
| vd_above | 31 |
| cerid_L3 | 12 |
| anc_E11_E10 | 1 |
| anc_E11_E09 | 2 |
| anc_E5011_E5005 | 1 |
| anc_E5011_E5002 | 2 |
| anc_E5011_E5001 | 3 |
| anc_E5013_E5006 | 1 |
| anc_E5013_E5002 | 2 |
| anc_E5013_E5001 | 3 |
| anc_E5047_E5035 | 1 |
| anc_E5047_E5023 | 2 |
| anc_E5047_E5011 | 3 |
| anc_E5047_E5005 | 4 |
| anc_E5047_E5002 | 5 |
| anc_E5047_E5001 | 6 |
| wonod_vd | E5106,E5124,E5130 |
| vesol_fc_E5132 | BB+ |
| vesol_fc_E5133 | BBB- |
| vesol_fc_E5136 | BBB- |
| vesol_fc_E5140 | A+ |
| vesol_fc_E5141 | BB |
| vesol_fc_E5143 | A |
| vesol_fc_E5144 | BB- |
| cerid_subig_E5007 | B |
| cerid_subig_E5010 | BB- |
| cerid_subig_E5012 | BB |
| cerid_subig_E5013 | B- |
| cerid_subig_E5016 | BB |
| cerid_subig_E5021 | B |
| cerid_subig_E5022 | BB- |
| cerid_subig_E5023 | B- |
| cerid_subig_E5024 | B- |
| cerid_subig_E5025 | BB |
| cerid_subig_E5028 | B- |
| cerid_subig_E5029 | BB+ |
| cerid_subig_E5030 | B |
| cerid_subig_E5037 | B+ |
| cerid_subig_E5039 | BB- |
| cerid_subig_E5041 | B- |
| cerid_subig_E5042 | BB |
| cerid_subig_E5047 | BB |
| cerid_subig_E5048 | B- |
| guar_out_I5007 | E5145 ult /E5145 issuer E5132/E5133 |

Run more queries, or give the final answers.
The model
```sql
SELECT 'Q7' q, string_agg(DISTINCT rated_id, ',') v FROM ratings WHERE rating_type='LTIDR' AND action='DG' AND valid_from BETWEEN '2026-01-01' AND '2026-10-01'
UNION ALL SELECT 'Q18', string_agg(DISTINCT rated_id, ',') FROM ratings WHERE rating_type='LTIDR' AND watch='RWN' AND valid_from<='2026-10-01' AND (valid_to IS NULL OR valid_to='' OR valid_to>'2026-10-01')
UNION ALL SELECT 'Q19', string_agg(DISTINCT rated_id, ',') FROM ratings WHERE rating_type='LTIDR' AND outlook='NEG' AND valid_from<='2026-10-01' AND (valid_to IS NULL OR valid_to='' OR valid_to>'2026-10-01')
UNION ALL SELECT 'Q21', string_agg(DISTINCT rated_id, ',') FROM ratings WHERE rating_type='LTIDR' AND rating<>'WD' AND rated_id NOT IN (SELECT rated_id FROM ratings WHERE rating_type='LTIDR' AND rating<>'WD' AND valid_from<='2026-10-01' AND (valid_to IS NULL OR valid_to='' OR valid_to>'2026-10-01'));
```
Query results
Query 1:

| q | v |
|---|---|
| Q7 | E1285,E1290,E1034,E5156,E1228,E1229,E1255,E1263,E1298,E1307,E1058,E1167,E1064,E1093,E10,E1160,E5059,E1080,E5116,E1151,E1294,E08,E1112,E1169,E1186,E1163,E1213,E1300,E5097,E1053,E1057,E1144,E1159,E1243,E5019,E5113,E1051 |
| Q18 | E1039,E1059,E1266,E1099,E1132,E1260,E1006,E1019,E1264,E1066,E1146,E1203,E1314,E1323,E06,E1133,E1088,E1194,E1098,E1126,E1037,E1209,E1242,E1317,E1267,E1013,E1061,E1238,E1297,E1109,E1168,E1181 |
| Q19 | E1005,E1080,E5116,E1072,E1190,E5039,E5156,E1228,E1263,E5050,E5073,E5099,E1029,E1160,E5020,E5059,E1046,E09,E1211,E5019,E5113,E5131,E01,E1064,E1118,E1261,E1300,E5097,E5102,E1271,E1079,E1055,E1294,E5119,E5141,E1105,E1158,E1034,E1188,E1248,E5057,E1056,E1059,E1282,E5013,E5023,E5062 |
| Q21 | E1048,E1084,E1200,E1225,E1233,E1234,E1062,E1244,E1316,E1121,E1205,E1206,E1219,E1320,E1277,E1007,E1032,E1057,E1155,E1159,E1253,E1308,E1001,E1124,E1172,E1218,E1041,E1063,E1107,E1138,E1140,E07,E1021,E1166,E1076 |

Run more queries, or give the final answers.
The model
**Q1.** A-. E01's FC issuer rating was A- from 2024-03-12 to 2025-06-20 (A01).
**Q2.** No. The only 2026 action on E01 was an affirmation with a Negative outlook (A03, BBB, 2026-02-10); the downgrade was in 2025 (A02).
**Q3.** No, BB+. The 2031 note I02 has been rated BB+ since 2025-06-20.
**Q4.** Positive. E02's rating A has had a POS outlook since 2025-09-15 (A09).
**Q5.** E02 (Northwind Holdings), rated A. I03 is issued by E04 but guaranteed by E02, and credit_risk_of is E02.
**Q6.** The data points to the Country Ceiling. Valdoria's ceiling is BB, and E05's FC rating is BB against a LC rating of BBB- (A14, A13). The data doesn't state this reason explicitly.
**Q7.** 37 issuers had a downgrade action in 2026 (listed in the JSON).
**Q8.** E08. Its rating moved to RD on 2026-07-08 (A22).
**Q9.** 377 distinct entities hold an issuer rating in force, excluding WD.
**Q10.** Depends. E05's FC rating is BB (not investment grade) and its LC rating is BBB- (investment grade).
**Q11.** BBB+ (A36).
**Q12.** A- (A34).
**Q13.** 1. E14 was downgraded once, on 2024-09-30 (A36).
**Q14.** None. E12's first rating began on 2024-02-01.
**Q15.** A- (A26).
**Q16.** No. The rating was BBB+ on 2025-01-01 and is still BBB+ (A36 to A33); only the watch status changed.
**Q17.** No. E06 was placed on Rating Watch Negative (A17) but kept A-.
**Q18.** 32 issuers were on RWN (listed in the JSON).
**Q19.** 47 issuers had a Negative outlook (listed in the JSON).
**Q20.** No. E07's rating was withdrawn (WD, A19), which is not a default.
**Q21.** 35 entities (listed in the JSON), including E07.
**Q22.** E08 is the only entity with an RD rating (A22).
**Q23.** F2 (A04).
**Q24.** Yes. E01's rating is BBB.
**Q25.** 72 instruments held an investment-grade rating.
**Q26.** A+ (A40).
**Q27.** A- (A42).
**Q28.** BBB+ (A38).
**Q29.** None. VD has no rating records.
**Q30.** 13 entities had an FC rating exactly at their country's ceiling (listed in the JSON).
**Q31.** No. None of the FC ratings returned for entities in VD or CV was above its ceiling.
**Q32.** E09, as shown in the ancestors table.
**Q33.** E10 (Halden Bank), rated BBB+ (A27). I05 is guaranteed by E10.
**Q34.** No. E12 has no parent, while E10 sits under E09.
**Q35.** 3: E09, E10 and E11.
**Q36.** 2: E02 (which includes the merged E03) and E04.
**Q37.** 497 entities.
**Q38.** No. E06 and E13 are separate entities with different LEIs and countries.
**Q39.** A.
**Q40.** 79.
**Q41.** None. No entity named Brindle Capital is in the data.
**Q42.** LU.
**Q43.** 1 (E10).
**Q44.** Yes. I07 is flagged local_currency=yes, in XVD.
**Q45.** No. I07 is a local-currency obligation, so the FC ceiling doesn't apply to it. Its BBB- is also above the BB ceiling (A45).
**Q46.** No. There is no rating record for E11.
**Q47.** None. I08 has no INST rating record.
**Q48.** 113.
**Q49.** E5001.
**Q50.** 6 levels (ancestors table: E5047 to E5001).
**Q51.** 58, which is 57 members plus the parent.
**Q52.** 19, which is 18 members plus the parent.
**Q53.** No. E5062 belongs to the E5059 group.
**Q54.** E5106, E5124, E5130.
**Q55.** 31.
**Q56.** BB- (E5144).
**Q57.** E5002. It is the nearest ancestor shared by E5011 (2 levels up) and E5013 (2 levels up).
**Q58.** E5145. It guarantees I5007, which is issued by E5133 in the E5132 group.
**Q59.** 12.
**Q60.** E5145. It is not in the same group as the issuer E5133, whose group is E5132.
**Q61.** 19 members hold a sub-investment-grade FC rating.

```json
{
"Q1":{"rating":"A-"},
"Q2":{"downgraded":"no"},
"Q3":{"investment_grade":"no","rating":"BB+"},
"Q4":{"outlook":"POS"},
"Q5":{"risk_of":"E02","rating":"A"},
"Q7":{"issuers":["E1285","E1290","E1034","E5156","E1228","E1229","E1255","E1263","E1298","E1307","E1058","E1167","E1064","E1093","E10","E1160","E5059","E1080","E5116","E1151","E1294","E08","E1112","E1169","E1186","E1163","E1213","E1300","E5097","E1053","E1057","E1144","E1159","E1243","E5019","E5113","E1051"]},
"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":["E1039","E1059","E1266","E1099","E1132","E1260","E1006","E1019","E1264","E1066","E1146","E1203","E1314","E1323","E06","E1133","E1088","E1194","E1098","E1126","E1037","E1209","E1242","E1317","E1267","E1013","E1061","E1238","E1297","E1109","E1168","E1181"]},
"Q19":{"issuers":["E1005","E1080","E5116","E1072","E1190","E5039","E5156","E1228","E1263","E5050","E5073","E5099","E1029","E1160","E5020","E5059","E1046","E09","E1211","E5019","E5113","E5131","E01","E1064","E1118","E1261","E1300","E5097","E5102","E1271","E1079","E1055","E1294","E5119","E5141","E1105","E1158","E1034","E1188","E1248","E5057","E1056","E1059","E1282","E5013","E5023","E5062"]},
"Q20":{"in_default":"no"},
"Q21":{"entities":["E1048","E1084","E1200","E1225","E1233","E1234","E1062","E1244","E1316","E1121","E1205","E1206","E1219","E1320","E1277","E1007","E1032","E1057","E1155","E1159","E1253","E1308","E1001","E1124","E1172","E1218","E1041","E1063","E1107","E1138","E1140","E07","E1021","E1166","E1076"]},
"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":["E05","E1028","E1039","E1101","E1126","E1194","E1236","E15","E5012","E5047","E5091","E5116","E5124"]},
"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":"no"},
"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}
}
```