D5 sparql+ontology, run 3: the query session
19 queries0 failed6 rounds
The opening prompt
## The data
You can't see the data, but you can query it. It is in an RDF store, described below. Write SPARQL 1.1 SELECT or ASK queries.
To run queries, reply with one or more fenced blocks (```sparql), 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.
Prefixes:
```
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX lad: <https://example.org/ladder/>
```
Classes and the properties their resources use:
- `lad:Entity`: `rdf:type`, `rdfs:label`, `lad:country`, `lad:entityType`, `lad:lei`, `lad:name`, `lad:parent`, `lad:sourceSystem`
- `lad:Instrument`: `rdf:type`, `rdfs:label`, `lad:currency`, `lad:description`, `lad:guarantor`, `lad:issuer`, `lad:maturity`, `lad:seniority`
- `lad:RatingAction`: `rdf:type`, `rdfs:label`, `lad:action`, `lad:ccyBasis`, `lad:comment`, `lad:date`, `lad:outlook`, `lad:ratedThing`, `lad:rating`, `lad:ratingType`, `lad:watch`
### ontology.md (the vocabulary the data uses)
# Credit ratings: a teaching ontology
Entities, instruments, rating actions and the codes the data uses, each with a definition that states what it means and how to read it. Invented for an experiment; not a model of any real rating agency.
## Classes
### Entity
A legal entity: a company, bank, finance subsidiary or sovereign. An entity is identified by its LEI (LEI), not by its name or record ID. The data holds records from more than one source system (source system), so the same entity can appear as several records with different IDs and differently spelled names: two records with the same LEI are the same entity, and every fact recorded against either record is a fact about that one entity.
### Instrument
A debt instrument, such as a bond or note, issued by an entity (issuer). An instrument's rating is not the issuer's rating: it can sit above or below it depending on seniority (seniority) and on any guarantee (guarantor).
### Rating action
Something a rating agency did to a rating on a date (date): assigned, affirmed, upgraded, downgraded, placed on Watch or withdrawn it. Each action applies to one rated thing (rated thing), one rating type (rating type) and, for issuer ratings, one currency basis (currency basis). A rating holds from its action date until the next action on the same thing, type and basis: so the rating on a date D is the one set by the latest action on or before D, and the current rating is the latest action overall. rating always holds the rating as it stands after the action, including when it did not change.
## Properties
### name (CSV column `name`)
The name as the source system spells it. Names are not identifiers: the same entity can be spelled differently in different systems.
### LEI (CSV column `lei`)
Legal Entity Identifier: the identifier that says which legal entity a record describes. Same LEI, same entity. Sovereigns have none.
### country (CSV column `country`)
ISO-style code of the country where the entity is domiciled. It decides which Country Ceiling, if any, applies to the entity's foreign-currency ratings. VD is the Republic of Valdoria and CV the Republic of Corvenia (both invented).
### entity type (CSV column `entity_type`)
What kind of entity it is: a concept of the scheme Entity types.
### parent (CSV column `parent_id`)
The entity that owns and controls this one.
### source system (CSV column `source_system`)
The internal system the record comes from (RATINGS, RESEARCH, QA). Each system keeps its own records of the same entities; see Entity. RATINGS is the system of record: where records of the same entity disagree on name, country or parent, the RATINGS record holds. QA records are test data, created to check the systems: they describe no real entity, so a QA record, and every action recorded against it, must be ignored.
### description (CSV column `description`)
The instrument's name: issuer, coupon and maturity year.
### issuer (CSV column `issuer_id`)
The entity that issued the instrument and owes the payments. Not necessarily the entity whose credit risk the investor takes: see guarantor.
### guarantor (CSV column `guarantor_id`)
An entity that guarantees the instrument's payments if the issuer does not pay. A guaranteed instrument carries the guarantor's credit risk, so it is rated in line with the guarantor's issuer rating, not the issuer's.
### seniority (CSV column `seniority`)
Where the instrument ranks in repayment if the issuer fails: a concept of the scheme Seniorities.
### currency (CSV column `currency`)
The currency the instrument pays in, as an ISO 4217 code, or one of two local codes: XVD, the Valdorian dollar, the domestic currency of VD; and CVK, the Corvenian krone, the domestic currency of CV. Debt in a currency other than the domestic one of the issuer's country is exposed to that country's transfer and convertibility risk: see Country Ceiling (CC). Debt in the domestic currency is local-currency debt and is not capped by the ceiling.
### maturity (CSV column `maturity`)
The date the instrument is due to be repaid.
### date (CSV column `date`)
The date the action took effect.
### rated thing (CSV column `rated_id`)
What the action is about: an entity (for issuer ratings and Country Ceilings) or an instrument (for instrument ratings).
### rating type (CSV column `rating_type`)
Which kind of rating the action concerns: a concept of the scheme Rating types. Different types are different ratings and are never compared or combined with each other.
### currency basis (CSV column `ccy_basis`)
For issuer ratings, whether the rating covers foreign-currency (FC) or local-currency (LC) obligations: a concept of the scheme Currency bases. An entity can have both, with different values.
### action (CSV column `action`)
What was done: a concept of the scheme Action types. Only upgrades and downgrades change a rating.
### rating (CSV column `rating`)
The rating after the action, on the scale of its rating type. Long-term scale, strongest to weakest: AAA, AA+, AA, AA-, A+, A, A-, BBB+, BBB, BBB-, BB+, BB, BB-, B+, B, B-, CCC, CC, C, RD, D. Investment grade means BBB- or higher; BB+ and below is speculative grade (high yield). RD (restricted default) means the issuer has defaulted on some material obligations, for instance by completing a distressed debt exchange, without being wound up: RD is a default. D means a general default. Short-term scale, strongest to weakest: F1+, F1, F2, F3, B, C, RD, D. WD means the rating was withdrawn (see Withdrawn (WD)): it is not a point on either scale.
### outlook (CSV column `outlook`)
The likely direction of a long-term rating over the next one to two years: a concept of the scheme Outlooks. An outlook is not a rating: revising it does not change the rating.
### rating watch (CSV column `watch`)
Set when the rating is on Rating Watch: a concept of the scheme Rating Watches. A Watch is not a rating change.
### comment (CSV column `comment`)
The analyst's note on the action, such as the reason for a withdrawal.
## Codes
The codes as they appear in the data, grouped by list.
### Rating types
- **LTIDR**, Long-term Issuer Default Rating: The issuer's own creditworthiness: how likely it is to default on its obligations, on the long-term scale. This is what people usually mean by an entity's rating. The foreign-currency (FC) one is the headline rating; there may also be a local-currency (LC) one.
- **STIDR**, Short-term Issuer Default Rating: The issuer's ability to meet obligations falling due within about a year, on the short-term scale (F1+ to D). Not comparable with long-term ratings.
- **INST**, Instrument rating: The rating of one specific instrument. It starts from the issuer's long-term rating and is notched for the instrument's seniority and expected recovery: subordinated debt is usually rated below the issuer, and guaranteed debt is rated on the guarantor. An instrument rating is never the rating of the issuer.
- **CC**, Country Ceiling: Not a rating of anyone. A cap, set for a country, on the foreign-currency ratings of entities domiciled there and of their foreign-currency debt. It reflects transfer and convertibility risk: the risk that the government stops money being converted or sent abroad, so even a sound company could not pay foreign-currency debt. Foreign-currency ratings of entities in the country are generally no higher than the ceiling; local-currency ratings are not capped. A Country Ceiling is not the sovereign's own issuer rating.
- **CO**, Credit opinion: A private, point-in-time view of an entity's credit, given to one client. It is not a published rating and not an issuer rating: never count it as a rating, and never report its value as the entity's rating.
### Currency bases
- **FC**, Foreign currency: Covers obligations in foreign currency, so it is subject to the Country Ceiling.
- **LC**, Local currency: Covers obligations in the currency of the entity's own country; not subject to the Country Ceiling.
### Action types
- **AS**, Assigned: A first rating is given.
- **AF**, Affirmed: The rating is reviewed and kept the same. The outlook may be revised in the same action; that does not make it an upgrade or a downgrade.
- **UG**, Upgraded: The rating is raised.
- **DG**, Downgraded: The rating is lowered. The only action that counts as a downgrade.
- **RW**, Placed on Rating Watch: The rating is flagged as likely to change soon, usually within about six months, in the direction rating watch gives. The rating itself is unchanged: not a downgrade.
- **WD**, Withdrawn: The agency stops maintaining the rating, often for commercial reasons (the issuer no longer pays for it, or the debt is repaid). After a withdrawal the entity has no rating of that type. A withdrawal is not a credit event: it says nothing about default, and is not a downgrade.
- **EX**, Expected rating: A rating signalled before an instrument's final documents are signed. It is not yet a rating: the instrument stays unrated until an Assigned (AS) action confirms it.
### Outlooks
- **STA**, Stable: No direction expected.
- **POS**, Positive: The rating may go up over one to two years.
- **NEG**, Negative: The rating may go down over one to two years. Not a downgrade.
### Rating Watches
- **RWN**, Rating Watch Negative: A downgrade is likely in the near term. Not a downgrade yet.
### Seniorities
- **SU**, Senior unsecured: Ranks with the issuer's ordinary debts; usually rated at the level of the issuer's long-term rating.
- **SUB**, Subordinated: Repaid only after senior debt, so investors recover less in a default; usually rated one or more notches below the issuer's long-term rating.
### Entity types
- **CORP**, Corporate: A non-financial company.
- **BANK**, Bank: A bank.
- **FINSUB**, Finance subsidiary: A subsidiary that exists to raise debt for its parent group. It usually has no issuer rating of its own; its debt is guaranteed by the parent, so investors take the parent's credit risk.
- **SOV**, Sovereign: A national government. A sovereign record can carry a Country Ceiling, issuer ratings, or both: they are different things, and the ceiling is not the sovereign's rating.
## 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)
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?The model
<invoke name="bash">
<parameter name="command">echo hi</parameter>
</invoke>
I can't run shell commands here; I can only query the RDF store with SPARQL. Let me start there.
```sparql
SELECT ?e ?name ?lei ?country ?type ?parent ?src WHERE {
?e a lad:Entity .
OPTIONAL {?e lad:name ?name}
OPTIONAL {?e lad:lei ?lei}
OPTIONAL {?e lad:country ?country}
OPTIONAL {?e lad:entityType ?type}
OPTIONAL {?e lad:parent ?parent}
OPTIONAL {?e lad:sourceSystem ?src}
} ORDER BY ?e
```Query results
Query 1:
| e | name | lei | country | type | parent | src |
|---|---|---|---|---|---|---|
| lad:CV | Republic of Corvenia | | CV | lad:etype-SOV | | RATINGS |
| lad:E01 | Kestrel Energy plc | 7245002OOPBG04092E43 | GB | lad:etype-CORP | | RATINGS |
| lad:E02 | Northwind Holdings plc | 213800PHEIYNJMHTDV74 | GB | lad:etype-CORP | | RATINGS |
| lad:E03 | NORTHWIND HLDGS | 213800PHEIYNJMHTDV74 | GB | lad:etype-CORP | | RESEARCH |
| lad:E04 | Northwind Finance BV | 213800LA5RYJLGXV2T85 | NL | lad:etype-FINSUB | lad:E02 | RATINGS |
| lad:E05 | Valdoria Telecom SA | 391200LESH03LMOY2U61 | VD | lad:etype-CORP | | RATINGS |
| lad:E06 | Orrin Bank AG | 549300AMVE3VRVG7HK43 | DE | lad:etype-BANK | | RATINGS |
| lad:E07 | Pellam Retail Ltd | 969500B6IUACELPI2291 | GB | lad:etype-CORP | | RATINGS |
| lad:E08 | Saxby Shipping SA | 969500KOTZ1JFIZSG796 | GR | lad:etype-CORP | | RATINGS |
| lad:E09 | Halden Group plc | 815600ASM9EHDG931T89 | GB | lad:etype-CORP | | RATINGS |
| lad:E10 | Halden Bank AG | 391200QYPVFF2O9K2039 | DE | lad:etype-BANK | lad:E09 | RATINGS |
| lad:E1001 | Tunod Steel SA | 3912003R00FP6CNV6210 | FR | lad:etype-CORP | | RATINGS |
| lad:E1002 | TUNOD STEEL SA | 3912003R00FP6CNV6210 | FR | lad:etype-CORP | | RESEARCH |
| lad:E1003 | Rilol Telecom plc | 3912009W4J483WB8PZ97 | GB | lad:etype-BANK | | RATINGS |
| lad:E1004 | Munem Retail SA | 969500IBYK0X2ZT52780 | ES | lad:etype-CORP | | RATINGS |
| lad:E1005 | Setan Airlines Inc | 815600JRN7AOE36KFR35 | US | lad:etype-CORP | | RATINGS |
| lad:E1006 | Soson Airlines Inc | 213800WSVEOAQ5HD4C43 | US | lad:etype-CORP | lad:E1005 | RATINGS |
| lad:E1007 | Golod Property plc | 815600N2UAHQREHHWF76 | GB | lad:etype-BANK | | RATINGS |
| lad:E1008 | Sotil Retail plc | 213800RPNJ2OSQ387M40 | GB | lad:etype-CORP | | RATINGS |
| lad:E1009 | Malam Chemicals Inc | 3912006EIY6TU9NVSC86 | US | lad:etype-CORP | | RATINGS |
| lad:E1010 | Buvir Industries Inc | 3912004R2GZJL49URX69 | US | lad:etype-CORP | | RATINGS |
| lad:E1011 | Falom Media Inc | 549300XX6U9N4Y7KPH74 | US | lad:etype-BANK | | RATINGS |
| lad:E1012 | Posad Industries SA | 9695002JIQI5QYDN0G98 | FR | lad:etype-CORP | | RATINGS |
| lad:E1013 | Pisol Pharma BV | 969500U072SAPPW32N81 | NL | lad:etype-BANK | lad:E1004 | RATINGS |
| lad:E1014 | Toral Utilities BV | 391200J700D8T2H18W16 | NL | lad:etype-CORP | | RATINGS |
| lad:E1015 | Civen Steel Inc | 815600JSNIJ4UFCBF662 | US | lad:etype-CORP | | RATINGS |
| lad:E1016 | Ponar Telecom SA | 5493008DQ96XI37KZG24 | ES | lad:etype-BANK | | RATINGS |
| lad:E1017 | Nisid Steel SA | 391200K600X7LWZTTM85 | FR | lad:etype-BANK | | RATINGS |
| lad:E1018 | Tosem Mining Inc | 549300SEMGL6OXLWHQ59 | US | lad:etype-CORP | | RATINGS |
| lad:E1019 | Losol Mining SA | 391200GSFO0F68KKUC67 | CV | lad:etype-CORP | | RATINGS |
| lad:E1020 | Finel Media AG | 549300FCSHHELSCZX562 | DE | lad:etype-CORP | | RATINGS |
| lad:E1021 | Niner Pharma plc | 391200KLG6G4KVIMIU52 | GB | lad:etype-CORP | | RATINGS |
| lad:E1022 | NINER PHARMA | 391200KLG6G4KVIMIU52 | GB | lad:etype-CORP | | RESEARCH |
| lad:E1023 | Heled Water plc | 3912006FHXTH5V6WNK07 | GB | lad:etype-CORP | | RATINGS |
| lad:E1024 | Susin Shipping BV | 3912005J04HB7X0GTN24 | NL | lad:etype-CORP | | RATINGS |
| lad:E1025 | Tulol Shipping SA | 2138007MIV2OS05PET94 | ES | lad:etype-BANK | | RATINGS |
| lad:E1026 | Vunam Water BV | 969500C8XYHXZBFMUO41 | NL | lad:etype-CORP | | RATINGS |
| lad:E1027 | Tesad Media Inc | 969500T86HNH5S920X18 | US | lad:etype-CORP | | RATINGS |
| lad:E1028 | Mutir Retail SA | 213800TJ32NARU0BI982 | VD | lad:etype-CORP | | RATINGS |
| lad:E1029 | Leson Telecom Inc | 8156008DPX4I9DNKWN26 | US | lad:etype-BANK | | RATINGS |
| lad:E1030 | LESON TELECOM INC | 8156008DPX4I9DNKWN26 | US | lad:etype-BANK | | RESEARCH |
| lad:E1031 | Kuvir Logistics SA | 969500GRHP48SQNEWH44 | ES | lad:etype-CORP | | RATINGS |
| lad:E1032 | Helom Chemicals BV | 2138006H9XCYN2P1K228 | NL | lad:etype-BANK | | RATINGS |
| lad:E1033 | Kunid Pharma SA | 213800Q84PS4FTJJB947 | ES | lad:etype-CORP | lad:E1004 | RATINGS |
| lad:E1034 | Tanad Capital SpA | 815600KLV84WAQGPSX27 | IT | lad:etype-CORP | | RATINGS |
| lad:E1035 | Kavod Utilities AG | 724500YHN51API4SE179 | DE | lad:etype-CORP | | RATINGS |
| lad:E1036 | Lilor Retail AG | 9695000N72OQ0Q07IW61 | DE | lad:etype-CORP | | RATINGS |
| lad:E1037 | Natil Retail SA | 391200OBAXI8590VQN12 | FR | lad:etype-CORP | | RATINGS |
| lad:E1038 | Lanon Telecom BV | 549300EZ4HXP0L5RAZ01 | NL | lad:etype-CORP | | RATINGS |
| lad:E1039 | Pulor Airlines SA | 969500HA9D5I7F73PW83 | CV | lad:etype-BANK | | RATINGS |
| lad:E1040 | Dorid Mining AG | 549300SPMD9MEMFWMR12 | DE | lad:etype-CORP | | RATINGS |
| lad:E1041 | Hiral Steel SA | 549300JU1O5MP1HSKQ01 | ES | lad:etype-CORP | | RATINGS |
| lad:E1042 | Rerod Steel BV | 391200LC6V921W096L49 | NL | lad:etype-CORP | | RATINGS |
| lad:E1043 | Vitom Property plc | 5493007IVTPIWJZLFF29 | GB | lad:etype-CORP | | RATINGS |
| lad:E1044 | Hesid Telecom Inc | 3912003Y7VZHUGN50755 | US | lad:etype-BANK | | RATINGS |
| lad:E1045 | Nesid Logistics Inc | 96950029VB162U3K1976 | US | lad:etype-BANK | | RATINGS |
| lad:E1046 | Ditin Shipping Inc | 549300ZM08IADSAK3L87 | US | lad:etype-BANK | lad:E1026 | RATINGS |
| lad:E1047 | Vaved Pharma plc | 391200WGA8OE30KZUD08 | GB | lad:etype-CORP | lad:E1020 | RATINGS |
| lad:E1048 | Lised Pharma AG | 9695000T21G05UQMGF10 | DE | lad:etype-CORP | | RATINGS |
| lad:E1049 | Paser Utilities plc | 391200R2EH7FELZFOV27 | GB | lad:etype-CORP | | RATINGS |
(310 more rows not shown)
Run more queries, or give the final answers.The model
<invoke name="bash">
<parameter name="command">true</parameter>
</invoke>
Shell isn't available, so I'll keep using SPARQL.
```sparql
SELECT ?i ?desc ?issuer ?guar ?sen ?ccy ?mat WHERE {
?i a lad:Instrument .
OPTIONAL {?i lad:description ?desc}
OPTIONAL {?i lad:issuer ?issuer}
OPTIONAL {?i lad:guarantor ?guar}
OPTIONAL {?i lad:seniority ?sen}
OPTIONAL {?i lad:currency ?ccy}
OPTIONAL {?i lad:maturity ?mat}
FILTER(!REGEX(STR(?i), "I[0-9]{4}"))
} ORDER BY ?i
```
```sparql
SELECT ?a ?thing ?type ?ccy ?date ?action ?rating ?outlook ?watch ?comment WHERE {
?a a lad:RatingAction ; lad:ratedThing ?thing .
OPTIONAL {?a lad:ratingType ?type}
OPTIONAL {?a lad:ccyBasis ?ccy}
OPTIONAL {?a lad:date ?date}
OPTIONAL {?a lad:action ?action}
OPTIONAL {?a lad:rating ?rating}
OPTIONAL {?a lad:outlook ?outlook}
OPTIONAL {?a lad:watch ?watch}
OPTIONAL {?a lad:comment ?comment}
FILTER(REGEX(STR(?thing), "lad:(E0[0-9]|E10|CV|VD|I[0-9]+)$|/(E0[0-9]|E10|CV|VD)$"))
} ORDER BY ?thing ?type ?ccy ?date
```Query results
Query 1:
| i | desc | issuer | guar | sen | ccy | mat |
|---|---|---|---|---|---|---|
| lad:I01 | Kestrel Energy 4.50% notes due 2030 | lad:E01 | | lad:seniority-SU | GBP | 2030-03-15 |
| lad:I02 | Kestrel Energy 6.25% notes due 2031 | lad:E01 | | lad:seniority-SUB | GBP | 2031-09-30 |
| lad:I03 | Northwind Finance 3.75% notes due 2030 | lad:E04 | lad:E02 | lad:seniority-SU | EUR | 2030-05-01 |
| lad:I04 | Valdoria Telecom 5.00% notes due 2029 | lad:E05 | | lad:seniority-SU | USD | 2029-11-20 |
| lad:I05 | Halden Leasing 2.90% notes due 2028 | lad:E11 | lad:E10 | lad:seniority-SU | EUR | 2028-06-30 |
| lad:I06 | Corvenia Power 7.10% notes due 2032 | lad:E15 | | lad:seniority-SUB | USD | 2032-02-15 |
| lad:I07 | Valdoria Telecom 4.25% notes due 2027 | lad:E05 | | lad:seniority-SU | XVD | 2027-08-31 |
| lad:I08 | Corvenia Power 6.00% notes due 2034 | lad:E15 | | lad:seniority-SU | USD | 2034-09-01 |
Query 2:
| a | thing | type | ccy | date | action | rating | outlook | watch | comment |
|---|---|---|---|---|---|---|---|---|---|
| lad:A37 | lad:CV | lad:type-CC | | 2024-01-01 | lad:action-AS | A | | | |
| lad:A38 | lad:CV | lad:type-LTIDR | lad:basis-FC | 2024-01-01 | lad:action-AS | BBB+ | lad:outlook-STA | | |
| lad:A39 | lad:CV | lad:type-LTIDR | lad:basis-LC | 2024-01-01 | lad:action-AS | A- | lad:outlook-STA | | |
| lad:A01 | lad:E01 | lad:type-LTIDR | lad:basis-FC | 2024-03-12 | lad:action-AS | A- | lad:outlook-STA | | |
| lad:A02 | lad:E01 | lad:type-LTIDR | lad:basis-FC | 2025-06-20 | lad:action-DG | BBB | lad:outlook-STA | | weaker cash flow after asset sale |
| lad:A03 | lad:E01 | lad:type-LTIDR | lad:basis-FC | 2026-02-10 | lad:action-AF | BBB | lad:outlook-NEG | | |
| lad:A04 | lad:E01 | lad:type-STIDR | lad:basis-FC | 2026-02-10 | lad:action-AF | F2 | | | |
| lad:A08 | lad:E02 | lad:type-LTIDR | lad:basis-FC | 2023-11-01 | lad:action-AS | A | lad:outlook-STA | | |
| lad:A09 | lad:E03 | lad:type-LTIDR | lad:basis-FC | 2025-09-15 | lad:action-AF | A | lad:outlook-POS | | |
| lad:A14 | lad:E05 | lad:type-LTIDR | lad:basis-FC | 2025-04-01 | lad:action-AS | BB | lad:outlook-STA | | |
| lad:A13 | lad:E05 | lad:type-LTIDR | lad:basis-LC | 2025-04-01 | lad:action-AS | BBB- | lad:outlook-STA | | |
| lad:A16 | lad:E06 | lad:type-LTIDR | lad:basis-FC | 2024-05-01 | lad:action-AS | A- | lad:outlook-STA | | |
| lad:A17 | lad:E06 | lad:type-LTIDR | lad:basis-FC | 2026-09-03 | lad:action-RW | A- | | lad:watch-RWN | |
| lad:A18 | lad:E07 | lad:type-LTIDR | lad:basis-FC | 2024-01-10 | lad:action-AS | BB | lad:outlook-STA | | |
| lad:A19 | lad:E07 | lad:type-LTIDR | lad:basis-FC | 2026-05-12 | lad:action-WD | WD | | | commercial reasons |
| lad:A20 | lad:E08 | lad:type-LTIDR | lad:basis-FC | 2024-06-01 | lad:action-AS | B | lad:outlook-STA | | |
| lad:A21 | lad:E08 | lad:type-LTIDR | lad:basis-FC | 2026-01-20 | lad:action-DG | CCC | | | |
| lad:A22 | lad:E08 | lad:type-LTIDR | lad:basis-FC | 2026-07-08 | lad:action-DG | RD | | | distressed debt exchange completed |
| lad:A24 | lad:E09 | lad:type-LTIDR | lad:basis-FC | 2023-05-01 | lad:action-AS | A | lad:outlook-STA | | |
| lad:A25 | lad:E09 | lad:type-LTIDR | lad:basis-FC | 2026-03-01 | lad:action-AF | A | lad:outlook-NEG | | |
| lad:A26 | lad:E10 | lad:type-LTIDR | lad:basis-FC | 2023-05-01 | lad:action-AS | A- | lad:outlook-STA | | support from parent |
| lad:A27 | lad:E10 | lad:type-LTIDR | lad:basis-FC | 2026-04-15 | lad:action-DG | BBB+ | lad:outlook-STA | | |
| lad:A12 | lad:VD | lad:type-CC | | 2025-04-01 | lad:action-AS | BB | | | |
Run more queries, or give the final answers.The model
```sparql
SELECT ?a ?thing ?type ?ccy ?date ?action ?rating ?outlook ?watch ?comment WHERE {
?a a lad:RatingAction ; lad:ratedThing ?thing .
OPTIONAL {?a lad:ratingType ?type}
OPTIONAL {?a lad:ccyBasis ?ccy}
OPTIONAL {?a lad:date ?date}
OPTIONAL {?a lad:action ?action}
OPTIONAL {?a lad:rating ?rating}
OPTIONAL {?a lad:outlook ?outlook}
OPTIONAL {?a lad:watch ?watch}
OPTIONAL {?a lad:comment ?comment}
FILTER(REGEX(STR(?thing), "/(I0[0-9]|E1[1-9]|E0[0-9]|E10)$") && !REGEX(STR(?thing), "/E0[1-9]$|/E10$"))
} ORDER BY ?thing ?type ?ccy ?date
```
```sparql
SELECT ?e ?name ?lei ?country ?type ?parent ?src WHERE {
?e a lad:Entity .
OPTIONAL {?e lad:name ?name}
OPTIONAL {?e lad:lei ?lei}
OPTIONAL {?e lad:country ?country}
OPTIONAL {?e lad:entityType ?type}
OPTIONAL {?e lad:parent ?parent}
OPTIONAL {?e lad:sourceSystem ?src}
FILTER(REGEX(STR(?e), "/(E1[1-9]|VD|QA.*)$") || ?src = "QA" || REGEX(STR(?name),"Orrin|Halden|Corvenia|Brindle|Pellam|Marlow","i"))
} ORDER BY ?e
```Query results
Query 1:
| a | thing | type | ccy | date | action | rating | outlook | watch | comment |
|---|---|---|---|---|---|---|---|---|---|
| lad:A46 | lad:E11 | lad:type-CO | | 2025-02-01 | lad:action-AS | BBB | | | |
| lad:A30 | lad:E12 | lad:type-LTIDR | lad:basis-FC | 2024-02-01 | lad:action-AS | BB- | lad:outlook-STA | | |
| lad:A31 | lad:E12 | lad:type-LTIDR | lad:basis-FC | 2025-08-01 | lad:action-UG | BB | lad:outlook-STA | | |
| lad:A32 | lad:E13 | lad:type-LTIDR | lad:basis-FC | 2024-07-01 | lad:action-AS | BBB | lad:outlook-STA | | |
| lad:A34 | lad:E14 | lad:type-LTIDR | lad:basis-FC | 2023-01-15 | lad:action-AS | A- | lad:outlook-STA | | |
| lad:A36 | lad:E14 | lad:type-LTIDR | lad:basis-FC | 2024-09-30 | lad:action-DG | BBB+ | lad:outlook-STA | | |
| lad:A35 | lad:E14 | lad:type-LTIDR | lad:basis-FC | 2025-11-20 | lad:action-RW | BBB+ | | lad:watch-RWN | |
| lad:A33 | lad:E14 | lad:type-LTIDR | lad:basis-FC | 2026-05-01 | lad:action-AF | BBB+ | lad:outlook-STA | | |
| lad:A41 | lad:E15 | lad:type-LTIDR | lad:basis-FC | 2024-03-01 | lad:action-AS | A | lad:outlook-STA | | |
| lad:A40 | lad:E15 | lad:type-LTIDR | lad:basis-LC | 2024-03-01 | lad:action-AS | A+ | lad:outlook-STA | | |
| lad:A43 | lad:E16 | lad:type-LTIDR | lad:basis-FC | 2024-04-01 | lad:action-AS | BBB- | lad:outlook-STA | | |
| lad:A44 | lad:E16 | lad:type-LTIDR | lad:basis-FC | 2026-06-01 | lad:action-DG | BB+ | lad:outlook-STA | | |
| lad:A05 | lad:I01 | lad:type-INST | | 2024-03-12 | lad:action-AS | A- | | | |
| lad:A06 | lad:I01 | lad:type-INST | | 2025-06-20 | lad:action-DG | BBB | | | |
| lad:A23 | lad:I02 | lad:type-INST | | 2024-03-12 | lad:action-AS | BBB | | | |
| lad:A07 | lad:I02 | lad:type-INST | | 2025-06-20 | lad:action-DG | BB+ | | | |
| lad:A10 | lad:I03 | lad:type-INST | | 2023-11-01 | lad:action-AS | A | | | |
| lad:A11 | lad:I03 | lad:type-INST | | 2025-09-15 | lad:action-AF | A | | | |
| lad:A15 | lad:I04 | lad:type-INST | | 2025-04-01 | lad:action-AS | BB | | | |
| lad:A28 | lad:I05 | lad:type-INST | | 2023-06-01 | lad:action-AS | A- | | | |
| lad:A29 | lad:I05 | lad:type-INST | | 2026-04-15 | lad:action-DG | BBB+ | | | |
| lad:A42 | lad:I06 | lad:type-INST | | 2024-03-01 | lad:action-AS | A- | | | |
| lad:A45 | lad:I07 | lad:type-INST | | 2025-04-01 | lad:action-AS | BBB- | | | |
| lad:A47 | lad:I08 | lad:type-INST | | 2026-09-01 | lad:action-EX | A | | | |
Query 2:
| e | name | lei | country | type | parent | src |
|---|---|---|---|---|---|---|
| lad:CV | Republic of Corvenia | | CV | lad:etype-SOV | | RATINGS |
| lad:E06 | Orrin Bank AG | 549300AMVE3VRVG7HK43 | DE | lad:etype-BANK | | RATINGS |
| lad:E07 | Pellam Retail Ltd | 969500B6IUACELPI2291 | GB | lad:etype-CORP | | RATINGS |
| lad:E09 | Halden Group plc | 815600ASM9EHDG931T89 | GB | lad:etype-CORP | | RATINGS |
| lad:E10 | Halden Bank AG | 391200QYPVFF2O9K2039 | DE | lad:etype-BANK | lad:E09 | RATINGS |
| lad:E11 | Halden Leasing SA | 549300XBZH4ULO9MQV55 | FR | lad:etype-FINSUB | lad:E10 | RATINGS |
| lad:E12 | Halden Foods Ltd | 213800IJDL4OJ4DG5T19 | GB | lad:etype-CORP | | RATINGS |
| lad:E13 | Orrin Bancorp Inc | 815600O8X8K2F154N214 | US | lad:etype-BANK | | RATINGS |
| lad:E1340 | Biram Steel plc | 213800CSTQH7UO0A8E29 | GB | lad:etype-CORP | | QA |
| lad:E1341 | Panar Airlines SA | 549300IFOJRHYHEP5N72 | FR | lad:etype-CORP | | QA |
| lad:E1342 | Cuvol Water AG | 7245000RRKYSQSJ2DB31 | DE | lad:etype-CORP | | QA |
| lad:E1343 | Bolem Energy plc | 969500F1DAQZF8FNJS41 | GB | lad:etype-CORP | | QA |
| lad:E1344 | Naled Utilities plc | 724500N069ZCQGY1UI76 | GB | lad:etype-CORP | | QA |
| lad:E1345 | Wesen Retail plc | 391200T3GEO5X4SJMO02 | GB | lad:etype-CORP | | QA |
| lad:E1346 | Kalem Property AG | 391200MMTFNAN4NBM054 | DE | lad:etype-CORP | | QA |
| lad:E1347 | Nunan Capital plc | 724500649FYULZG25F44 | GB | lad:etype-CORP | | QA |
| lad:E1348 | Wosed Holdings AG | 724500JEL6C1PJZEDM26 | DE | lad:etype-CORP | | QA |
| lad:E1349 | Parod Pharma SA | 724500PGN9P0AMIWNV47 | FR | lad:etype-CORP | | QA |
| lad:E1350 | Palol Airlines plc | 213800GZMC02BI2WJX12 | GB | lad:etype-CORP | | QA |
| lad:E1351 | Bisad Property plc | 969500MERFFSB2CHQE09 | GB | lad:etype-CORP | | QA |
| lad:E14 | Marlow Utilities plc | 3912005AH2C1I9YF8106 | GB | lad:etype-CORP | | RATINGS |
| lad:E15 | Corvenia Power SA | 213800PBQVHVBBH6GV02 | CV | lad:etype-CORP | | RATINGS |
| lad:E16 | Brindle Capital Ltd | 5493003Z3PXXR7KNFM81 | GB | lad:etype-CORP | | QA |
| lad:E17 | HALDEN BANK | 391200QYPVFF2O9K2039 | LU | lad:etype-BANK | | RESEARCH |
| lad:VD | Republic of Valdoria | | VD | lad:etype-SOV | | RATINGS |
Run more queries, or give the final answers.The model
<parameter name="command">true</parameter>
</invoke>
I'll run the aggregate queries next.
```sparql
SELECT ?e ?lei ?type ?c ?d ?act ?r ?o ?w WHERE {
?a lad:ratedThing ?e ; lad:ratingType ?type ; lad:date ?d ; lad:action ?act ; lad:rating ?r .
?e a lad:Entity ; lad:sourceSystem ?s . FILTER(?s != "QA")
OPTIONAL {?e lad:lei ?lei} OPTIONAL {?a lad:ccyBasis ?c} OPTIONAL {?a lad:outlook ?o} OPTIONAL {?a lad:watch ?w}
FILTER(?type IN (lad:type-LTIDR, lad:type-STIDR))
FILTER(STR(?d) <= "2026-10-01")
FILTER NOT EXISTS { ?b lad:ratedThing ?e ; lad:ratingType ?type ; lad:date ?d2 .
OPTIONAL{?b lad:ccyBasis ?c2} FILTER(COALESCE(STR(?c2),"")=COALESCE(STR(?c),"")) FILTER(STR(?d2) <= "2026-10-01" && STR(?d2) > STR(?d)) }
FILTER(?w = lad:watch-RWN || ?o = lad:outlook-NEG || ?r IN ("RD","D"))
} ORDER BY ?e
```
```sparql
SELECT ?e ?lei ?type ?c ?d ?act ?r WHERE {
?a lad:ratedThing ?e ; lad:ratingType ?type ; lad:date ?d ; lad:action ?act ; lad:rating ?r .
?e a lad:Entity ; lad:sourceSystem ?s . FILTER(?s != "QA")
OPTIONAL {?e lad:lei ?lei} OPTIONAL {?a lad:ccyBasis ?c}
FILTER(?type IN (lad:type-LTIDR, lad:type-STIDR))
FILTER(?r IN ("RD","D","WD"))
} ORDER BY ?e ?d
```
```sparql
SELECT (COUNT(DISTINCT ?k) AS ?issuersRatedLT) (COUNT(DISTINCT ?kg) AS ?gb) WHERE {
?a lad:ratedThing ?e ; lad:ratingType lad:type-LTIDR ; lad:date ?d ; lad:rating ?r .
?e a lad:Entity ; lad:sourceSystem ?s . FILTER(?s != "QA")
OPTIONAL {?e lad:lei ?lei} OPTIONAL {?a lad:ccyBasis ?c} OPTIONAL {?e lad:country ?cty}
FILTER(STR(?d) <= "2026-10-01" && ?r != "WD")
FILTER NOT EXISTS { ?b lad:ratedThing ?e ; lad:ratingType lad:type-LTIDR ; lad:date ?d2 .
OPTIONAL{?b lad:ccyBasis ?c2} FILTER(COALESCE(STR(?c2),"")=COALESCE(STR(?c),"")) FILTER(STR(?d2) <= "2026-10-01" && STR(?d2) > STR(?d)) }
BIND(COALESCE(?lei, STR(?e)) AS ?k)
BIND(IF(?cty = "GB", ?k, ?unbound) AS ?kg)
}
```
```sparql
SELECT (COUNT(DISTINCT ?k) AS ?entities) (COUNT(DISTINCT ?ku) AS ?lu) WHERE {
?e a lad:Entity ; lad:sourceSystem ?s . FILTER(?s != "QA")
OPTIONAL {?e lad:lei ?lei} OPTIONAL {?e lad:country ?cty}
BIND(COALESCE(?lei, STR(?e)) AS ?k)
BIND(IF(?cty = "LU", ?k, ?unbound) AS ?ku)
}
```Query results
Query 1:
| e | lei | type | c | d | act | r | o | w |
|---|---|---|---|---|---|---|---|---|
| lad:E01 | 7245002OOPBG04092E43 | lad:type-LTIDR | lad:basis-FC | 2026-02-10 | lad:action-AF | BBB | lad:outlook-NEG | |
| lad:E06 | 549300AMVE3VRVG7HK43 | lad:type-LTIDR | lad:basis-FC | 2026-09-03 | lad:action-RW | A- | | lad:watch-RWN |
| lad:E08 | 969500KOTZ1JFIZSG796 | lad:type-LTIDR | lad:basis-FC | 2026-07-08 | lad:action-DG | RD | | |
| lad:E09 | 815600ASM9EHDG931T89 | lad:type-LTIDR | lad:basis-FC | 2026-03-01 | lad:action-AF | A | lad:outlook-NEG | |
| lad:E1005 | 815600JRN7AOE36KFR35 | lad:type-LTIDR | lad:basis-FC | 2025-08-02 | lad:action-DG | BB | lad:outlook-NEG | |
| lad:E1006 | 213800WSVEOAQ5HD4C43 | lad:type-LTIDR | lad:basis-FC | 2026-06-17 | lad:action-RW | AA | | lad:watch-RWN |
| lad:E1013 | 969500U072SAPPW32N81 | lad:type-LTIDR | lad:basis-FC | 2025-07-09 | lad:action-RW | BB- | | lad:watch-RWN |
| lad:E1019 | 391200GSFO0F68KKUC67 | lad:type-LTIDR | lad:basis-LC | 2024-03-20 | lad:action-RW | BBB- | | lad:watch-RWN |
| lad:E1029 | 8156008DPX4I9DNKWN26 | lad:type-LTIDR | lad:basis-FC | 2025-08-08 | lad:action-UG | A- | lad:outlook-NEG | |
| lad:E1034 | 815600KLV84WAQGPSX27 | lad:type-LTIDR | lad:basis-FC | 2026-05-02 | lad:action-DG | BBB+ | lad:outlook-NEG | |
| lad:E1037 | 391200OBAXI8590VQN12 | lad:type-LTIDR | lad:basis-FC | 2022-05-07 | lad:action-RW | A | | lad:watch-RWN |
| lad:E1039 | 969500HA9D5I7F73PW83 | lad:type-LTIDR | lad:basis-FC | 2025-12-09 | lad:action-RW | A | | lad:watch-RWN |
| lad:E1046 | 549300ZM08IADSAK3L87 | lad:type-LTIDR | lad:basis-FC | 2025-05-28 | lad:action-UG | AA- | lad:outlook-NEG | |
| lad:E1055 | 724500WWWM8KJ2Q08398 | lad:type-LTIDR | lad:basis-FC | 2024-12-04 | lad:action-UG | BBB- | lad:outlook-NEG | |
| lad:E1056 | 969500DMA3PCFLMC4U98 | lad:type-LTIDR | lad:basis-FC | 2023-01-01 | lad:action-DG | A+ | lad:outlook-NEG | |
| lad:E1059 | 549300CRXZL5I1OT6L14 | lad:type-LTIDR | lad:basis-LC | 2026-02-23 | lad:action-RW | BB- | | lad:watch-RWN |
| lad:E1060 | 549300CRXZL5I1OT6L14 | lad:type-LTIDR | lad:basis-FC | 2025-02-16 | lad:action-AF | BB- | lad:outlook-NEG | |
| lad:E1061 | 5493002BLV266QJVIH90 | lad:type-LTIDR | lad:basis-FC | 2025-06-06 | lad:action-RW | A | | lad:watch-RWN |
| lad:E1064 | 213800YPXA4OJXD8EB91 | lad:type-LTIDR | lad:basis-FC | 2026-06-03 | lad:action-UG | A- | lad:outlook-NEG | |
| lad:E1066 | 213800VQSNQ2434DKS91 | lad:type-LTIDR | lad:basis-FC | 2026-05-03 | lad:action-RW | A- | | lad:watch-RWN |
| lad:E1072 | 969500W1RDU3ZPX1YB94 | lad:type-LTIDR | lad:basis-FC | 2026-02-07 | lad:action-AF | BB- | lad:outlook-NEG | |
| lad:E1079 | 5493000MDIWO1KHI0272 | lad:type-LTIDR | lad:basis-FC | 2024-01-26 | lad:action-AF | BB+ | lad:outlook-NEG | |
| lad:E1080 | 815600SERWD64UWU8808 | lad:type-LTIDR | lad:basis-FC | 2026-02-14 | lad:action-DG | A- | lad:outlook-NEG | |
| lad:E1088 | 549300GS8TRRRJCSVZ45 | lad:type-LTIDR | lad:basis-FC | 2024-01-16 | lad:action-RW | B+ | | lad:watch-RWN |
| lad:E1098 | 724500HD5AQ2MDSXXU69 | lad:type-LTIDR | lad:basis-FC | 2026-04-28 | lad:action-RW | BBB- | | lad:watch-RWN |
| lad:E1099 | 213800XQVJ5IKNNVXY16 | lad:type-LTIDR | lad:basis-FC | 2023-11-05 | lad:action-RW | BB+ | | lad:watch-RWN |
| lad:E1105 | 3912002RB0IGZZN6RN49 | lad:type-LTIDR | lad:basis-FC | 2024-01-13 | lad:action-UG | A+ | lad:outlook-NEG | |
| lad:E1109 | 815600379XSXXQR72R46 | lad:type-LTIDR | lad:basis-FC | 2025-12-25 | lad:action-RW | A+ | | lad:watch-RWN |
| lad:E1118 | 969500ZM445IDEYHCL85 | lad:type-LTIDR | lad:basis-FC | 2025-07-14 | lad:action-DG | BB+ | lad:outlook-NEG | |
| lad:E1126 | 213800QG4ZGLWRUBIQ31 | lad:type-LTIDR | lad:basis-FC | 2025-07-10 | lad:action-RW | BB | | lad:watch-RWN |
| lad:E1132 | 549300WSZI986L1XA988 | lad:type-LTIDR | lad:basis-FC | 2025-08-24 | lad:action-RW | B+ | | lad:watch-RWN |
| lad:E1133 | 549300PSORKEO25SHT85 | lad:type-LTIDR | lad:basis-FC | 2025-10-11 | lad:action-RW | B+ | | lad:watch-RWN |
| lad:E1146 | 7245008Y7HAJI3ZSJK12 | lad:type-LTIDR | lad:basis-FC | 2025-08-12 | lad:action-RW | BB | | lad:watch-RWN |
| lad:E1158 | 9695008UP74QEOJ3KW74 | lad:type-LTIDR | lad:basis-FC | 2026-08-14 | lad:action-AF | BBB | lad:outlook-NEG | |
| lad:E1161 | 969500PM41NS2PBZU440 | lad:type-LTIDR | lad:basis-FC | 2026-07-28 | lad:action-DG | B | lad:outlook-NEG | |
| lad:E1168 | 549300N9NKGSRIO34Y39 | lad:type-LTIDR | lad:basis-FC | 2023-10-12 | lad:action-RW | BBB- | | lad:watch-RWN |
| lad:E1181 | 3912006PQEEWVJETOG62 | lad:type-LTIDR | lad:basis-FC | 2025-01-06 | lad:action-RW | A- | | lad:watch-RWN |
| lad:E1188 | 815600O0Y6S2CPCDAA82 | lad:type-LTIDR | lad:basis-FC | 2024-09-05 | lad:action-UG | BB- | lad:outlook-NEG | |
| lad:E1190 | 549300ENXJ8RIUXUHZ80 | lad:type-LTIDR | lad:basis-FC | 2025-05-24 | lad:action-UG | BBB | lad:outlook-NEG | |
| lad:E1194 | 815600GVTRTKVHG8BO41 | lad:type-LTIDR | lad:basis-FC | 2025-01-20 | lad:action-RW | A | | lad:watch-RWN |
| lad:E1203 | 724500W08E6JP9P9NC97 | lad:type-LTIDR | lad:basis-FC | 2023-09-02 | lad:action-RW | BBB+ | | lad:watch-RWN |
| lad:E1210 | 549300HWTXXHJP2HKU38 | lad:type-LTIDR | lad:basis-FC | 2024-09-09 | lad:action-RW | BB | | lad:watch-RWN |
| lad:E1211 | 2138006JVQYZA2IAU357 | lad:type-LTIDR | lad:basis-FC | 2024-09-26 | lad:action-AF | BBB- | lad:outlook-NEG | |
| lad:E1228 | 724500JFK718P3DNW233 | lad:type-LTIDR | lad:basis-FC | 2026-06-28 | lad:action-DG | BB+ | lad:outlook-NEG | |
| lad:E1238 | 5493004IM0PRT8BSDK29 | lad:type-LTIDR | lad:basis-FC | 2026-07-27 | lad:action-RW | AA- | | lad:watch-RWN |
| lad:E1242 | 213800VNDQV0VN6FVU72 | lad:type-LTIDR | lad:basis-FC | 2025-09-11 | lad:action-RW | BBB | | lad:watch-RWN |
| lad:E1248 | 213800XN4WOS9M0UP985 | lad:type-LTIDR | lad:basis-FC | 2026-05-02 | lad:action-AF | A- | lad:outlook-NEG | |
| lad:E1260 | 969500D8VQO3X7NDHQ76 | lad:type-LTIDR | lad:basis-FC | 2025-09-05 | lad:action-RW | BBB- | | lad:watch-RWN |
| lad:E1262 | 549300H1N0EQEAZLE362 | lad:type-LTIDR | lad:basis-FC | 2024-10-13 | lad:action-AF | B+ | lad:outlook-NEG | |
| lad:E1263 | 213800TWNH19JCPPPE80 | lad:type-LTIDR | lad:basis-FC | 2026-06-16 | lad:action-DG | BBB- | lad:outlook-NEG | |
| lad:E1264 | 549300HH75F3NXLKV336 | lad:type-LTIDR | lad:basis-FC | 2024-05-18 | lad:action-RW | B+ | | lad:watch-RWN |
| lad:E1266 | 724500CD625Q9LIJG838 | lad:type-LTIDR | lad:basis-FC | 2026-07-20 | lad:action-RW | BBB | | lad:watch-RWN |
| lad:E1267 | 8156006G7EEYC0O0U554 | lad:type-LTIDR | lad:basis-FC | 2023-12-15 | lad:action-RW | A- | | lad:watch-RWN |
| lad:E1271 | 213800M91M3NKSWT8K97 | lad:type-LTIDR | lad:basis-FC | 2025-10-15 | lad:action-AF | A- | lad:outlook-NEG | |
| lad:E1282 | 724500GZZJO3VTZ5OY05 | lad:type-LTIDR | lad:basis-FC | 2024-03-20 | lad:action-AF | BB+ | lad:outlook-NEG | |
| lad:E1294 | 391200WPOJY9F1NTH725 | lad:type-LTIDR | lad:basis-FC | 2026-07-11 | lad:action-DG | A+ | lad:outlook-NEG | |
| lad:E1297 | 7245002QMS1HJ8LWKI72 | lad:type-LTIDR | lad:basis-FC | 2026-09-01 | lad:action-RW | BBB | | lad:watch-RWN |
| lad:E1300 | 391200Z1OH1HXMHTW971 | lad:type-LTIDR | lad:basis-FC | 2026-05-06 | lad:action-DG | BBB | lad:outlook-NEG | |
| lad:E1314 | 815600VWY9ZIH3XVHE31 | lad:type-LTIDR | lad:basis-FC | 2024-06-26 | lad:action-RW | BBB | | lad:watch-RWN |
| lad:E1317 | 391200YYRT4OCYJBQT44 | lad:type-LTIDR | lad:basis-FC | 2024-09-11 | lad:action-RW | BB | | lad:watch-RWN |
(1 more rows not shown)
Query 2:
| e | lei | type | c | d | act | r |
|---|---|---|---|---|---|---|
| lad:E07 | 969500B6IUACELPI2291 | lad:type-LTIDR | lad:basis-FC | 2026-05-12 | lad:action-WD | WD |
| lad:E08 | 969500KOTZ1JFIZSG796 | lad:type-LTIDR | lad:basis-FC | 2026-07-08 | lad:action-DG | RD |
| lad:E1002 | 3912003R00FP6CNV6210 | lad:type-LTIDR | lad:basis-FC | 2025-07-20 | lad:action-WD | WD |
| lad:E1007 | 815600N2UAHQREHHWF76 | lad:type-LTIDR | lad:basis-FC | 2026-06-27 | lad:action-WD | WD |
| lad:E1021 | 391200KLG6G4KVIMIU52 | lad:type-LTIDR | lad:basis-FC | 2025-11-08 | lad:action-WD | WD |
| lad:E1032 | 2138006H9XCYN2P1K228 | lad:type-LTIDR | lad:basis-FC | 2026-09-15 | lad:action-WD | WD |
| lad:E1041 | 549300JU1O5MP1HSKQ01 | lad:type-LTIDR | lad:basis-FC | 2024-04-09 | lad:action-WD | WD |
| lad:E1048 | 9695000T21G05UQMGF10 | lad:type-LTIDR | lad:basis-FC | 2023-04-15 | lad:action-WD | WD |
| lad:E1057 | 2138009BPHEDKSZHFF68 | lad:type-LTIDR | lad:basis-FC | 2026-09-19 | lad:action-WD | WD |
| lad:E1062 | 549300QT2LSIX31F9O17 | lad:type-LTIDR | lad:basis-FC | 2025-03-28 | lad:action-WD | WD |
| lad:E1063 | 9695003FBHLB9KIKNT76 | lad:type-LTIDR | lad:basis-FC | 2025-01-12 | lad:action-WD | WD |
| lad:E1076 | 724500R7NQF1BMLIW829 | lad:type-LTIDR | lad:basis-FC | 2024-04-28 | lad:action-WD | WD |
| lad:E1084 | 391200MB5QFXCD5X8I15 | lad:type-LTIDR | lad:basis-FC | 2025-08-02 | lad:action-WD | WD |
| lad:E1106 | 724500MTRZ5RNJAKRB00 | lad:type-LTIDR | lad:basis-LC | 2025-08-10 | lad:action-WD | WD |
| lad:E1107 | 39120035C3L494GPV335 | lad:type-LTIDR | lad:basis-FC | 2024-10-16 | lad:action-WD | WD |
| lad:E1115 | 724500MTPRXFHT68GB84 | lad:type-LTIDR | lad:basis-FC | 2025-06-28 | lad:action-WD | WD |
| lad:E1121 | 815600MZAUY1OCZWJF49 | lad:type-LTIDR | lad:basis-FC | 2024-10-23 | lad:action-WD | WD |
| lad:E1124 | 815600NAKDQJ2L7WWJ01 | lad:type-LTIDR | lad:basis-FC | 2024-06-15 | lad:action-WD | WD |
| lad:E1138 | 724500BSV4X2J7KUR535 | lad:type-LTIDR | lad:basis-FC | 2024-12-26 | lad:action-WD | WD |
| lad:E1140 | 391200IBY0WQGAT3R586 | lad:type-LTIDR | lad:basis-FC | 2025-09-15 | lad:action-WD | WD |
| lad:E1155 | 391200428FS1WJP3AG75 | lad:type-LTIDR | lad:basis-FC | 2026-03-22 | lad:action-WD | WD |
| lad:E1158 | 9695008UP74QEOJ3KW74 | lad:type-LTIDR | lad:basis-FC | 2026-02-27 | lad:action-WD | WD |
| lad:E1159 | 213800VMJXKPLM9ZIL74 | lad:type-LTIDR | lad:basis-FC | 2026-09-22 | lad:action-WD | WD |
| lad:E1166 | 8156008Z86BWAKVE7I73 | lad:type-LTIDR | lad:basis-FC | 2023-07-26 | lad:action-WD | WD |
| lad:E1172 | 549300F5R74KW6K96H13 | lad:type-LTIDR | lad:basis-FC | 2026-03-12 | lad:action-WD | WD |
| lad:E1200 | 724500L96DLBJOLSDZ06 | lad:type-LTIDR | lad:basis-FC | 2023-11-03 | lad:action-WD | WD |
| lad:E1205 | 391200H4MC1UG4HGZY09 | lad:type-LTIDR | lad:basis-FC | 2025-11-16 | lad:action-WD | WD |
| lad:E1206 | 815600IJD373PYH08A24 | lad:type-LTIDR | lad:basis-FC | 2025-11-20 | lad:action-WD | WD |
| lad:E1218 | 9695003B8HVZN6WVB082 | lad:type-LTIDR | lad:basis-FC | 2026-05-22 | lad:action-WD | WD |
| lad:E1219 | 815600YLA1GXMHYMXP16 | lad:type-LTIDR | lad:basis-FC | 2026-04-11 | lad:action-WD | WD |
| lad:E1225 | 724500AXGCJXTB1DVL94 | lad:type-LTIDR | lad:basis-FC | 2025-06-12 | lad:action-WD | WD |
| lad:E1233 | 3912001DEUC7UPZYE471 | lad:type-LTIDR | lad:basis-FC | 2025-01-24 | lad:action-WD | WD |
| lad:E1234 | 815600HZK0IK4Q5GF769 | lad:type-LTIDR | lad:basis-FC | 2026-09-22 | lad:action-WD | WD |
| lad:E1244 | 969500SQSSYT8HOYOP58 | lad:type-LTIDR | lad:basis-FC | 2024-04-18 | lad:action-WD | WD |
| lad:E1254 | 969500QXEZ0NSV6EIW69 | lad:type-LTIDR | lad:basis-FC | 2025-08-13 | lad:action-WD | WD |
| lad:E1277 | 391200922SWGGGCXM514 | lad:type-LTIDR | lad:basis-FC | 2025-12-14 | lad:action-WD | WD |
| lad:E1279 | 8156000D8CUMX9DLYO45 | lad:type-LTIDR | lad:basis-FC | 2024-11-17 | lad:action-WD | WD |
| lad:E1303 | 391200BP67PA2KCQD481 | lad:type-LTIDR | lad:basis-FC | 2026-03-26 | lad:action-WD | WD |
| lad:E1308 | 549300IGMPC8HEIKND87 | lad:type-LTIDR | lad:basis-FC | 2025-06-19 | lad:action-WD | WD |
| lad:E1316 | 2138005XQUSYXQWKHP15 | lad:type-LTIDR | lad:basis-FC | 2024-07-07 | lad:action-WD | WD |
| lad:E1320 | 549300P8CEPUO96H4Y59 | lad:type-LTIDR | lad:basis-FC | 2023-10-15 | lad:action-WD | WD |
Query 3:
| issuersRatedLT | gb |
|---|---|
| 278 | 66 |
Query 4:
| entities | lu |
|---|---|
| 331 | 1 |
Run more queries, or give the final answers.The model
```sparql
SELECT ?kind (GROUP_CONCAT(DISTINCT ?e; separator=",") AS ?ids) (COUNT(DISTINCT ?k) AS ?n) WHERE {
?a lad:ratedThing ?e ; lad:ratingType lad:type-LTIDR ; lad:date ?d ; lad:rating ?r .
?e a lad:Entity ; lad:sourceSystem ?s . FILTER(?s != "QA")
OPTIONAL {?e lad:lei ?lei} OPTIONAL {?a lad:ccyBasis ?c} OPTIONAL {?a lad:outlook ?o} OPTIONAL {?a lad:watch ?w}
FILTER(STR(?d) <= "2026-10-01")
FILTER NOT EXISTS { ?b lad:ratedThing ?e ; lad:ratingType lad:type-LTIDR ; lad:date ?d2 .
OPTIONAL{?b lad:ccyBasis ?c2} FILTER(COALESCE(STR(?c2),"")=COALESCE(STR(?c),"")) FILTER(STR(?d2) <= "2026-10-01" && STR(?d2) > STR(?d)) }
BIND(COALESCE(?lei, STR(?e)) AS ?k)
BIND(IF(?w = lad:watch-RWN, "RWN", IF(?o = lad:outlook-NEG, "NEG", "other")) AS ?kind)
FILTER(?kind != "other")
} GROUP BY ?kind
```
```sparql
SELECT ?lei (GROUP_CONCAT(DISTINCT STRAFTER(STR(?e),"ladder/"); separator=",") AS ?ids) WHERE {
?a lad:ratedThing ?e ; lad:action lad:action-DG ; lad:date ?d .
?e a lad:Entity ; lad:sourceSystem ?s ; lad:lei ?lei . FILTER(?s != "QA")
FILTER(STR(?d) >= "2026-01-01" && STR(?d) <= "2026-12-31")
} GROUP BY ?lei
```
```sparql
SELECT ?lei (GROUP_CONCAT(DISTINCT STRAFTER(STR(?e),"ladder/"); separator=",") AS ?ids) WHERE {
?e a lad:Entity ; lad:sourceSystem ?s ; lad:lei ?lei . FILTER(?s != "QA")
?a0 lad:ratedThing ?e ; lad:ratingType ?t0 . FILTER(?t0 IN (lad:type-LTIDR, lad:type-STIDR))
FILTER NOT EXISTS {
?e2 lad:lei ?lei . ?a lad:ratedThing ?e2 ; lad:ratingType ?t ; lad:date ?d ; lad:rating ?r .
FILTER(?t IN (lad:type-LTIDR, lad:type-STIDR) && ?r != "WD" && STR(?d) <= "2026-10-01")
OPTIONAL {?a lad:ccyBasis ?c}
FILTER NOT EXISTS { ?b lad:ratedThing ?e3 ; lad:ratingType ?t ; lad:date ?d2 .
?e3 lad:lei ?lei .
OPTIONAL{?b lad:ccyBasis ?c2} FILTER(COALESCE(STR(?c2),"")=COALESCE(STR(?c),"")) FILTER(STR(?d2) <= "2026-10-01" && STR(?d2) > STR(?d)) }
}
} GROUP BY ?lei
```
```sparql
SELECT (COUNT(DISTINCT ?i) AS ?rated) (COUNT(DISTINCT ?ig) AS ?investmentGrade) WHERE {
?a lad:ratedThing ?i ; lad:ratingType lad:type-INST ; lad:date ?d ; lad:rating ?r ; lad:action ?act .
?i a lad:Instrument .
FILTER(?act != lad:action-EX && ?r != "WD" && STR(?d) <= "2026-10-01")
FILTER NOT EXISTS { ?b lad:ratedThing ?i ; lad:ratingType lad:type-INST ; lad:date ?d2 ; lad:action ?act2 .
FILTER(?act2 != lad:action-EX && STR(?d2) <= "2026-10-01" && STR(?d2) > STR(?d)) }
BIND(IF(?r IN ("AAA","AA+","AA","AA-","A+","A","A-","BBB+","BBB","BBB-"), ?i, ?unb) AS ?ig)
}
```
```sparql
SELECT ?a ?thing ?d ?r ?cty WHERE {
?a lad:ratedThing ?thing ; lad:ratingType lad:type-CC ; lad:date ?d ; lad:rating ?r .
OPTIONAL {?thing lad:country ?cty}
} ORDER BY ?thing ?d
```
```sparql
SELECT ?e ?cty ?d ?r ?src WHERE {
?e a lad:Entity ; lad:country ?cty ; lad:sourceSystem ?src . FILTER(?cty IN ("CV","VD") && ?src != "QA")
?a lad:ratedThing ?e ; lad:ratingType lad:type-LTIDR ; lad:ccyBasis lad:basis-FC ; lad:date ?d ; lad:rating ?r .
FILTER(STR(?d) <= "2026-10-01")
FILTER NOT EXISTS { ?b lad:ratedThing ?e ; lad:ratingType lad:type-LTIDR ; lad:ccyBasis lad:basis-FC ; lad:date ?d2 . FILTER(STR(?d2) <= "2026-10-01" && STR(?d2) > STR(?d)) }
}
```Query results
Query 1:
| kind | ids | n |
|---|---|---|
| RWN | https://example.org/ladder/E1006,https://example.org/ladder/E1013,https://example.org/ladder/E1019,https://example.org/ladder/E1037,https://example.org/ladder/E1039,https://example.org/ladder/E1059,https://example.org/ladder/E1061,https://example.org/ladder/E1066,https://example.org/ladder/E1088,https://example.org/ladder/E1098,https://example.org/ladder/E1099,https://example.org/ladder/E1109,https://example.org/ladder/E1126,https://example.org/ladder/E1132,https://example.org/ladder/E1133,https://example.org/ladder/E1146,https://example.org/ladder/E1168,https://example.org/ladder/E1181,https://example.org/ladder/E1194,https://example.org/ladder/E1203,https://example.org/ladder/E1210,https://example.org/ladder/E1238,https://example.org/ladder/E1242,https://example.org/ladder/E1260,https://example.org/ladder/E1264,https://example.org/ladder/E1266,https://example.org/ladder/E1267,https://example.org/ladder/E1297,https://example.org/ladder/E1314,https://example.org/ladder/E1317,https://example.org/ladder/E1323,https://example.org/ladder/E06 | 32 |
Query 2:
| lei | ids |
|---|---|
| 815600KLV84WAQGPSX27 | E1034 |
| 815600SERWD64UWU8808 | E1080 |
| 969500IYLWO8RRIOIL83 | E1093 |
| 549300XHVH0VBXX4D156 | E1151 |
| 969500PM41NS2PBZU440 | E1161 |
| 724500JFK718P3DNW233 | E1228 |
| 391200J1XGI3MNYV2584 | E1285 |
| 391200WPOJY9F1NTH725 | E1294 |
| 815600RCZP0ISY44E024 | E1299 |
| 969500KOTZ1JFIZSG796 | E08 |
| 5493001E7O9QDD98PV36 | E1053 |
| 969500Y1Y66M1421WE10 | E1058 |
| 969500QJ1AV6AZJSB088 | E1112 |
| 213800VMJXKPLM9ZIL74 | E1159 |
| 5493000NGCMTDC4BZ653 | E1167 |
| 549300XV49ES64RGNQ00 | E1170 |
| 549300OCOVKZOF4FO259 | E1186 |
| 213800TWNH19JCPPPE80 | E1263 |
| 391200QYPVFF2O9K2039 | E10 |
| 724500WO4TZY2027IZ62 | E1051 |
| 2138009BPHEDKSZHFF68 | E1057 |
| 213800YPXA4OJXD8EB91 | E1064 |
| 549300SBMAQCEKT3IC98 | E1163 |
| 5493005YGBG4Z7ZGH950 | E1290 |
| 391200Z1OH1HXMHTW971 | E1300 |
| 969500CNC5SOCN5K2N29 | E1307 |
| 213800QV7J1EXLC4YX51 | E1144 |
| 549300A64I73OEIC4R87 | E1213 |
| 7245002EC45UEUXQJA30 | E1255 |
| 2138008SWUJK7JUSMR14 | E1243 |
| 549300GJM0MMFEH84V77 | E1229 |
Query 3:
| lei | ids |
|---|---|
| 969500B6IUACELPI2291 | E07 |
| 3912003R00FP6CNV6210 | E1002 |
| 2138006H9XCYN2P1K228 | E1032 |
| 549300QT2LSIX31F9O17 | E1062 |
| 724500R7NQF1BMLIW829 | E1076 |
| 815600NAKDQJ2L7WWJ01 | E1124 |
| 724500BSV4X2J7KUR535 | E1138 |
| 391200IBY0WQGAT3R586 | E1140 |
| 724500L96DLBJOLSDZ06 | E1200 |
| 2138005XQUSYXQWKHP15 | E1316 |
| 9695000T21G05UQMGF10 | E1048 |
| 815600MZAUY1OCZWJF49 | E1121 |
| 391200428FS1WJP3AG75 | E1155 |
| 213800VMJXKPLM9ZIL74 | E1159 |
| 391200H4MC1UG4HGZY09 | E1205 |
| 815600IJD373PYH08A24 | E1206 |
| 9695003B8HVZN6WVB082 | E1218 |
| 815600YLA1GXMHYMXP16 | E1219 |
| 724500AXGCJXTB1DVL94 | E1225 |
| 3912001DEUC7UPZYE471 | E1233 |
| 969500QXEZ0NSV6EIW69 | E1254 |
| 391200922SWGGGCXM514 | E1277 |
| 549300P8CEPUO96H4Y59 | E1320 |
| 815600N2UAHQREHHWF76 | E1007 |
| 549300JU1O5MP1HSKQ01 | E1041 |
| 2138009BPHEDKSZHFF68 | E1057 |
| 9695003FBHLB9KIKNT76 | E1063 |
| 391200MB5QFXCD5X8I15 | E1084 |
| 39120035C3L494GPV335 | E1107 |
| 8156008Z86BWAKVE7I73 | E1166 |
| 549300F5R74KW6K96H13 | E1172 |
| 815600HZK0IK4Q5GF769 | E1234 |
| 969500SQSSYT8HOYOP58 | E1244 |
| 549300IGMPC8HEIKND87 | E1308 |
| 391200KLG6G4KVIMIU52 | E1021 |
Query 4:
| rated | investmentGrade |
|---|---|
| 106 | 66 |
Query 5:
| a | thing | d | r | cty |
|---|---|---|---|---|
| lad:A37 | lad:CV | 2024-01-01 | A | CV |
| lad:A12 | lad:VD | 2025-04-01 | BB | VD |
Query 6:
| e | cty | d | r | src |
|---|---|---|---|---|
| lad:E1019 | CV | 2022-12-11 | BB+ | RATINGS |
| lad:E1028 | VD | 2025-12-25 | BB | RATINGS |
| lad:E1039 | CV | 2025-12-09 | A | RATINGS |
| lad:E1060 | CV | 2025-02-16 | BB- | RESEARCH |
| lad:E1071 | CV | 2023-01-11 | B+ | RATINGS |
| lad:E1096 | CV | 2024-04-04 | BBB | RATINGS |
| lad:E1101 | VD | 2022-10-26 | BB | RATINGS |
| lad:E1106 | VD | 2024-10-26 | B+ | RATINGS |
| lad:E1126 | VD | 2025-07-10 | BB | RATINGS |
| lad:E1136 | CV | 2023-07-04 | A- | RATINGS |
| lad:E1144 | CV | 2026-06-06 | B+ | RATINGS |
| lad:E1185 | CV | 2025-02-28 | BB+ | RATINGS |
| lad:E05 | VD | 2025-04-01 | BB | RATINGS |
| lad:E1194 | CV | 2025-01-20 | A | RATINGS |
| lad:E1217 | CV | 2025-09-07 | BB- | RATINGS |
| lad:E1223 | CV | 2023-08-20 | BB+ | RATINGS |
| lad:E1229 | CV | 2026-06-02 | BB+ | RATINGS |
| lad:E1236 | VD | 2023-09-17 | BB | RATINGS |
| lad:E1243 | CV | 2026-08-19 | BB | RATINGS |
| lad:E1245 | CV | 2025-09-11 | B+ | RATINGS |
| lad:E1279 | VD | 2024-11-17 | WD | RATINGS |
| lad:E1283 | CV | 2024-11-03 | BB | RATINGS |
| lad:E1304 | CV | 2026-07-25 | BB | RATINGS |
| lad:E1307 | VD | 2026-09-25 | BB- | RATINGS |
| lad:E1313 | VD | 2025-09-02 | BB- | RATINGS |
| lad:CV | CV | 2024-01-01 | BBB+ | RATINGS |
| lad:E15 | CV | 2024-03-01 | A | RATINGS |
Run more queries, or give the final answers.The model
I need a few more checks before answering.
```sparql
SELECT ?e ?lei ?c ?d ?act ?o WHERE {
?a lad:ratedThing ?e ; lad:ratingType lad:type-LTIDR ; lad:date ?d ; lad:action ?act ; lad:outlook ?o .
?e a lad:Entity ; lad:sourceSystem ?s . FILTER(?s != "QA")
OPTIONAL {?e lad:lei ?lei} OPTIONAL {?a lad:ccyBasis ?c}
FILTER(STR(?d) <= "2026-10-01")
FILTER NOT EXISTS { ?b lad:ratedThing ?e ; lad:ratingType lad:type-LTIDR ; lad:date ?d2 ; lad:outlook ?o2 .
OPTIONAL{?b lad:ccyBasis ?c2} FILTER(COALESCE(STR(?c2),"")=COALESCE(STR(?c),"")) FILTER(STR(?d2) <= "2026-10-01" && STR(?d2) > STR(?d)) }
FILTER(?o = lad:outlook-NEG)
} ORDER BY ?e
```
```sparql
SELECT DISTINCT ?e ?lei ?r ?d WHERE {
?a lad:ratedThing ?e ; lad:ratingType ?t ; lad:rating ?r ; lad:date ?d .
?e a lad:Entity ; lad:sourceSystem ?s . FILTER(?s != "QA")
OPTIONAL {?e lad:lei ?lei}
FILTER(?t IN (lad:type-LTIDR, lad:type-STIDR) && ?r IN ("RD","D"))
} ORDER BY ?e
```
```sparql
SELECT ?x ?p ?src WHERE { ?x lad:parent ?p ; lad:sourceSystem ?src . FILTER(?p IN (lad:E02, lad:E03, lad:E09, lad:E10, lad:E11, lad:E04)) }
```
```sparql
SELECT ?i ?iss ?src WHERE { ?i a lad:Instrument ; lad:issuer ?iss . ?iss lad:sourceSystem ?src . FILTER(?src = "QA") }
```Query results
Query 1:
| e | lei | c | d | act | o |
|---|---|---|---|---|---|
| lad:E01 | 7245002OOPBG04092E43 | lad:basis-FC | 2026-02-10 | lad:action-AF | lad:outlook-NEG |
| lad:E09 | 815600ASM9EHDG931T89 | lad:basis-FC | 2026-03-01 | lad:action-AF | lad:outlook-NEG |
| lad:E1005 | 815600JRN7AOE36KFR35 | lad:basis-FC | 2025-08-02 | lad:action-DG | lad:outlook-NEG |
| lad:E1029 | 8156008DPX4I9DNKWN26 | lad:basis-FC | 2025-08-08 | lad:action-UG | lad:outlook-NEG |
| lad:E1034 | 815600KLV84WAQGPSX27 | lad:basis-FC | 2026-05-02 | lad:action-DG | lad:outlook-NEG |
| lad:E1046 | 549300ZM08IADSAK3L87 | lad:basis-FC | 2025-05-28 | lad:action-UG | lad:outlook-NEG |
| lad:E1055 | 724500WWWM8KJ2Q08398 | lad:basis-FC | 2024-12-04 | lad:action-UG | lad:outlook-NEG |
| lad:E1056 | 969500DMA3PCFLMC4U98 | lad:basis-FC | 2023-01-01 | lad:action-DG | lad:outlook-NEG |
| lad:E1057 | 2138009BPHEDKSZHFF68 | lad:basis-FC | 2026-09-08 | lad:action-AF | lad:outlook-NEG |
| lad:E1060 | 549300CRXZL5I1OT6L14 | lad:basis-FC | 2025-02-16 | lad:action-AF | lad:outlook-NEG |
| lad:E1064 | 213800YPXA4OJXD8EB91 | lad:basis-FC | 2026-06-03 | lad:action-UG | lad:outlook-NEG |
| lad:E1072 | 969500W1RDU3ZPX1YB94 | lad:basis-FC | 2026-02-07 | lad:action-AF | lad:outlook-NEG |
| lad:E1079 | 5493000MDIWO1KHI0272 | lad:basis-FC | 2024-01-26 | lad:action-AF | lad:outlook-NEG |
| lad:E1080 | 815600SERWD64UWU8808 | lad:basis-FC | 2026-02-14 | lad:action-DG | lad:outlook-NEG |
| lad:E1105 | 3912002RB0IGZZN6RN49 | lad:basis-FC | 2024-01-13 | lad:action-UG | lad:outlook-NEG |
| lad:E1118 | 969500ZM445IDEYHCL85 | lad:basis-FC | 2025-07-14 | lad:action-DG | lad:outlook-NEG |
| lad:E1132 | 549300WSZI986L1XA988 | lad:basis-FC | 2024-09-13 | lad:action-AF | lad:outlook-NEG |
| lad:E1146 | 7245008Y7HAJI3ZSJK12 | lad:basis-FC | 2025-04-23 | lad:action-AF | lad:outlook-NEG |
| lad:E1158 | 9695008UP74QEOJ3KW74 | lad:basis-FC | 2026-08-14 | lad:action-AF | lad:outlook-NEG |
| lad:E1161 | 969500PM41NS2PBZU440 | lad:basis-FC | 2026-07-28 | lad:action-DG | lad:outlook-NEG |
| lad:E1172 | 549300F5R74KW6K96H13 | lad:basis-FC | 2025-10-28 | lad:action-DG | lad:outlook-NEG |
| lad:E1188 | 815600O0Y6S2CPCDAA82 | lad:basis-FC | 2024-09-05 | lad:action-UG | lad:outlook-NEG |
| lad:E1190 | 549300ENXJ8RIUXUHZ80 | lad:basis-FC | 2025-05-24 | lad:action-UG | lad:outlook-NEG |
| lad:E1211 | 2138006JVQYZA2IAU357 | lad:basis-FC | 2024-09-26 | lad:action-AF | lad:outlook-NEG |
| lad:E1228 | 724500JFK718P3DNW233 | lad:basis-FC | 2026-06-28 | lad:action-DG | lad:outlook-NEG |
| lad:E1248 | 213800XN4WOS9M0UP985 | lad:basis-FC | 2026-05-02 | lad:action-AF | lad:outlook-NEG |
| lad:E1262 | 549300H1N0EQEAZLE362 | lad:basis-FC | 2024-10-13 | lad:action-AF | lad:outlook-NEG |
| lad:E1263 | 213800TWNH19JCPPPE80 | lad:basis-FC | 2026-06-16 | lad:action-DG | lad:outlook-NEG |
| lad:E1271 | 213800M91M3NKSWT8K97 | lad:basis-FC | 2025-10-15 | lad:action-AF | lad:outlook-NEG |
| lad:E1282 | 724500GZZJO3VTZ5OY05 | lad:basis-FC | 2024-03-20 | lad:action-AF | lad:outlook-NEG |
| lad:E1294 | 391200WPOJY9F1NTH725 | lad:basis-FC | 2026-07-11 | lad:action-DG | lad:outlook-NEG |
| lad:E1300 | 391200Z1OH1HXMHTW971 | lad:basis-FC | 2026-05-06 | lad:action-DG | lad:outlook-NEG |
Query 2:
| e | lei | r | d |
|---|---|---|---|
| lad:E08 | 969500KOTZ1JFIZSG796 | RD | 2026-07-08 |
Query 3:
| x | p | src |
|---|---|---|
| lad:E04 | lad:E02 | RATINGS |
| lad:E11 | lad:E10 | RATINGS |
| lad:E10 | lad:E09 | RATINGS |
Query 4:
(no rows)
Run more queries, or give the final answers.The model
**Q1.** A-. Kestrel Energy (E01) held A- from A01 (2024-03-12) until the downgrade A02 on 2025-06-20.
**Q2.** No. E01's only 2026 action is A03 (2026-02-10), an affirmation with the outlook revised to Negative.
**Q3.** No. The 2031 note (I02) is subordinated and was downgraded to BB+ by A07 on 2025-06-20, which is speculative grade.
**Q4.** Positive. E03 is the RESEARCH record of the same LEI as E02, so both are one entity, and its latest action is A09 (2025-09-15), an affirmation at A with a Positive outlook.
**Q5.** The holder takes the credit risk of E02 (Northwind Holdings), the guarantor of I03 (issuer E04). The note is rated A, per A10 and A11, in line with E02's A.
**Q6.** Valdoria's Country Ceiling (VD, BB, A12) caps foreign-currency ratings, so E05's FC rating is BB (A14). Its LC rating is BBB- (A13) because local-currency ratings are not capped.
**Q7.** 31 issuers had a downgrade action dated in 2026; they are listed in the JSON.
**Q8.** E08 (Saxby Shipping). A22 on 2026-07-08 downgraded it to RD, a default, and no later action changes that.
**Q9.** 278. This counts distinct LEIs whose latest long-term issuer rating on 2026-10-01 is not a withdrawal and excludes QA records.
**Q10.** Depends. E05 is BB on a foreign-currency basis (speculative grade) and BBB- on a local-currency basis (investment grade).
**Q11.** BBB+. Marlow Utilities (E14) was downgraded to BBB+ by A36 on 2024-09-30, and the next action (A35) is dated 2025-11-20.
**Q12.** A-, from A34 (2023-01-15).
**Q13.** 1. Only A36 is a downgrade for E14, since the Watch and the affirmation are not.
**Q14.** None. Halden Foods (E12) was first rated on 2024-02-01 (A30), after that date.
**Q15.** A-. E10's rating was A- from A26 until the downgrade A27 on 2026-04-15.
**Q16.** No. The rating was BBB+ on 2025-01-01 and is BBB+ now; the Watch and affirmation did not change it.
**Q17.** No. Orrin Bank (E06) has only A16 (assigned) and A17 (Watch Negative, rating unchanged).
**Q18.** 32 issuers were on Rating Watch Negative, listed in the JSON.
**Q19.** 30 issuers had a Negative outlook, listed in the JSON. I excluded E1172 and E1057 because they were withdrawn.
**Q20.** No. E07's rating was withdrawn on 2026-05-12 (A19, commercial reasons), and a withdrawal is not a default.
**Q21.** 35 entities had an issuer rating that was later withdrawn and had none on 2026-10-01; they are listed in the JSON.
**Q22.** Only E08, the one entity with an RD or D rating.
**Q23.** F2, from A04.
**Q24.** Yes. E01's long-term rating is BBB, which is investment grade.
**Q25.** 66. This counts instruments whose latest non-Expected rating on 2026-10-01 is investment grade.
**Q26.** A+, from A40 (LC basis).
**Q27.** A-, from A42. I06 is subordinated.
**Q28.** BBB+, from A38.
**Q29.** None. The Republic of Valdoria (VD) has only a Country Ceiling (A12), which is not its issuer rating.
**Q30.** 8 entities. The CV ceiling is A and E15, E1039 and E1194 are at A. The VD ceiling is BB and E05, E1028, E1101, E1126 and E1236 are at BB.
**Q31.** No. No CV entity is above A and no VD entity is above BB.
**Q32.** E09 (Halden Group). The chain is E11 to E10 to E09.
**Q33.** The holder takes the credit risk of E10 (Halden Bank), the guarantor. I05 is rated BBB+ after A29 on 2026-04-15.
**Q34.** No. E12 (Halden Foods) has no parent link to E09 or E10.
**Q35.** 3: E09, E10 and E11. E17 is the RESEARCH record of E10.
**Q36.** 2: E02 and E04. E03 is the same entity as E02.
**Q37.** 331, counting distinct LEIs (sovereigns by record ID) and excluding QA records.
**Q38.** No. E06 and E13 have different LEIs.
**Q39.** A. E02 and E03 are the same entity, and its latest action is A09, an affirmation at A.
**Q40.** 66 distinct GB-domiciled issuers.
**Q41.** None. E16 (Brindle Capital) is a QA test record, so it and its actions are ignored.
**Q42.** DE. The RATINGS record E10 holds, over the RESEARCH record E17 that says LU.
**Q43.** 0. The only LU record is E17, and the RATINGS record for the same LEI (E10) says DE.
**Q44.** Yes. I07 pays in XVD, the domestic currency of VD.
**Q45.** No. I07 is a local-currency obligation, rated BBB- (A45), and the Country Ceiling (BB) does not cap it.
**Q46.** No. E11 (Halden Leasing) is a finance subsidiary whose only action is a credit opinion (A46), which is not a rating.
**Q47.** None. I08's only action is an Expected rating (A47), so the note is still unrated.
**Q48.** 106 instruments held a rating on 2026-10-01, excluding Expected ratings.
```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","E1093","E1151","E1161","E1228","E1285","E1294","E1299","E08","E1053","E1058","E1112","E1159","E1167","E1170","E1186","E1263","E10","E1051","E1057","E1064","E1163","E1290","E1300","E1307","E1144","E1213","E1255","E1243","E1229"]},
"Q8":{"entities":["E08"]},
"Q9":{"count":278},
"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":["E1006","E1013","E1019","E1037","E1039","E1059","E1061","E1066","E1088","E1098","E1099","E1109","E1126","E1132","E1133","E1146","E1168","E1181","E1194","E1203","E1210","E1238","E1242","E1260","E1264","E1266","E1267","E1297","E1314","E1317","E1323","E06"]},
"Q19":{"issuers":["E01","E09","E1005","E1029","E1034","E1046","E1055","E1056","E1059","E1064","E1072","E1079","E1080","E1105","E1118","E1132","E1146","E1158","E1161","E1188","E1190","E1211","E1228","E1248","E1262","E1263","E1271","E1282","E1294","E1300"]},
"Q20":{"in_default":"no"},
"Q21":{"entities":["E07","E1001","E1032","E1062","E1076","E1124","E1138","E1140","E1200","E1316","E1048","E1121","E1155","E1159","E1205","E1206","E1218","E1219","E1225","E1233","E1254","E1277","E1320","E1007","E1041","E1057","E1063","E1084","E1107","E1166","E1172","E1234","E1244","E1308","E1021"]},
"Q22":{"entities":["E08"]},
"Q23":{"rating":"F2"},
"Q24":{"investment_grade":"yes"},
"Q25":{"count":66},
"Q26":{"rating":"A+"},
"Q27":{"rating":"A-"},
"Q28":{"rating":"BBB+"},
"Q29":{"rating":"none"},
"Q30":{"entities":["E1039","E1194","E15","E05","E1028","E1101","E1126","E1236"]},
"Q31":{"any":"no"},
"Q32":{"parent":"E09"},
"Q33":{"risk_of":"E10","rating":"BBB+"},
"Q34":{"same_group":"no"},
"Q35":{"count":3},
"Q36":{"count":2},
"Q37":{"count":331},
"Q38":{"same":"no"},
"Q39":{"rating":"A"},
"Q40":{"count":66},
"Q41":{"rating":"none"},
"Q42":{"country":"DE"},
"Q43":{"count":0},
"Q44":{"local_currency":"yes"},
"Q45":{"above_ceiling":"no"},
"Q46":{"issuer_rating":"no"},
"Q47":{"rating":"none"},
"Q48":{"count":106}}
```