D5 sparql+ontology, run 1: the query session
27 queries2 failed7 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. Where an entity's records disagree, see source system for which holds. 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. A parent link names a record, but points at the entity that record describes, so the chain continues from any of that entity's records. Following parents up to an entity with no parent gives the ultimate parent; a group is an ultimate parent and every entity whose chain of parents ends at it.
### 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. Where records of the same entity disagree, which one holds depends on the field. RATINGS is the system of record for names and parent links. Domicile is the exception: the RESEARCH team checks each entity's registered office against its filings, so where records disagree on country, the RESEARCH 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
I'll start by exploring the entities and instruments.
```sparql
PREFIX lad: <https://example.org/ladder/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?e ?name ?label ?country ?type ?lei ?parent ?src WHERE {
?e a lad:Entity .
OPTIONAL {?e lad:name ?name}
OPTIONAL {?e rdfs:label ?label}
OPTIONAL {?e lad:country ?country}
OPTIONAL {?e lad:entityType ?type}
OPTIONAL {?e lad:lei ?lei}
OPTIONAL {?e lad:parent ?parent}
OPTIONAL {?e lad:sourceSystem ?src}
} ORDER BY ?e
```
```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?i ?d ?issuer ?g ?sen ?ccy ?mat WHERE {
?i a lad:Instrument .
OPTIONAL {?i lad:description ?d}
OPTIONAL {?i lad:issuer ?issuer}
OPTIONAL {?i lad:guarantor ?g}
OPTIONAL {?i lad:seniority ?sen}
OPTIONAL {?i lad:currency ?ccy}
OPTIONAL {?i lad:maturity ?mat}
} ORDER BY ?i
```
```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?a ?thing ?type ?basis ?date ?action ?rating ?outlook ?watch ?comment WHERE {
?a a lad:RatingAction .
OPTIONAL {?a lad:ratedThing ?thing}
OPTIONAL {?a lad:ratingType ?type}
OPTIONAL {?a lad:ccyBasis ?basis}
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}
} ORDER BY ?thing ?type ?basis ?date
```Query results
Query 1:
| e | name | label | country | type | lei | parent | src |
|---|---|---|---|---|---|---|---|
| lad:CV | Republic of Corvenia | Republic of Corvenia | CV | lad:etype-SOV | | | RATINGS |
| lad:E01 | Kestrel Energy plc | Kestrel Energy plc | GB | lad:etype-CORP | 7245002OOPBG04092E43 | | RATINGS |
| lad:E02 | Northwind Holdings plc | Northwind Holdings plc | GB | lad:etype-CORP | 213800PHEIYNJMHTDV74 | | RATINGS |
| lad:E03 | NORTHWIND HLDGS | NORTHWIND HLDGS | GB | lad:etype-CORP | 213800PHEIYNJMHTDV74 | | RESEARCH |
| lad:E04 | Northwind Finance BV | Northwind Finance BV | NL | lad:etype-FINSUB | 213800LA5RYJLGXV2T85 | lad:E02 | RATINGS |
| lad:E05 | Valdoria Telecom SA | Valdoria Telecom SA | VD | lad:etype-CORP | 391200LESH03LMOY2U61 | | RATINGS |
| lad:E06 | Orrin Bank AG | Orrin Bank AG | DE | lad:etype-BANK | 549300AMVE3VRVG7HK43 | | RATINGS |
| lad:E07 | Pellam Retail Ltd | Pellam Retail Ltd | GB | lad:etype-CORP | 969500B6IUACELPI2291 | | RATINGS |
| lad:E08 | Saxby Shipping SA | Saxby Shipping SA | GR | lad:etype-CORP | 969500KOTZ1JFIZSG796 | | RATINGS |
| lad:E09 | Halden Group plc | Halden Group plc | GB | lad:etype-CORP | 815600ASM9EHDG931T89 | | RATINGS |
| lad:E10 | Halden Bank AG | Halden Bank AG | DE | lad:etype-BANK | 391200QYPVFF2O9K2039 | lad:E09 | RATINGS |
| lad:E1001 | Tunod Steel SA | Tunod Steel SA | FR | lad:etype-CORP | 3912003R00FP6CNV6210 | | RATINGS |
| lad:E1002 | TUNOD STEEL SA | TUNOD STEEL SA | FR | lad:etype-CORP | 3912003R00FP6CNV6210 | | RESEARCH |
| lad:E1003 | Rilol Telecom plc | Rilol Telecom plc | GB | lad:etype-BANK | 3912009W4J483WB8PZ97 | | RATINGS |
| lad:E1004 | Munem Retail SA | Munem Retail SA | ES | lad:etype-CORP | 969500IBYK0X2ZT52780 | | RATINGS |
| lad:E1005 | Setan Airlines Inc | Setan Airlines Inc | US | lad:etype-CORP | 815600JRN7AOE36KFR35 | | RATINGS |
| lad:E1006 | Soson Airlines Inc | Soson Airlines Inc | US | lad:etype-CORP | 213800WSVEOAQ5HD4C43 | lad:E1005 | RATINGS |
| lad:E1007 | Golod Property plc | Golod Property plc | GB | lad:etype-BANK | 815600N2UAHQREHHWF76 | | RATINGS |
| lad:E1008 | Sotil Retail plc | Sotil Retail plc | GB | lad:etype-CORP | 213800RPNJ2OSQ387M40 | | RATINGS |
| lad:E1009 | Malam Chemicals Inc | Malam Chemicals Inc | US | lad:etype-CORP | 3912006EIY6TU9NVSC86 | | RATINGS |
| lad:E1010 | Buvir Industries Inc | Buvir Industries Inc | US | lad:etype-CORP | 3912004R2GZJL49URX69 | | RATINGS |
| lad:E1011 | Falom Media Inc | Falom Media Inc | US | lad:etype-BANK | 549300XX6U9N4Y7KPH74 | | RATINGS |
| lad:E1012 | Posad Industries SA | Posad Industries SA | FR | lad:etype-CORP | 9695002JIQI5QYDN0G98 | | RATINGS |
| lad:E1013 | Pisol Pharma BV | Pisol Pharma BV | NL | lad:etype-BANK | 969500U072SAPPW32N81 | lad:E1004 | RATINGS |
| lad:E1014 | Toral Utilities BV | Toral Utilities BV | NL | lad:etype-CORP | 391200J700D8T2H18W16 | | RATINGS |
| lad:E1015 | Civen Steel Inc | Civen Steel Inc | US | lad:etype-CORP | 815600JSNIJ4UFCBF662 | | RATINGS |
| lad:E1016 | Ponar Telecom SA | Ponar Telecom SA | ES | lad:etype-BANK | 5493008DQ96XI37KZG24 | | RATINGS |
| lad:E1017 | Nisid Steel SA | Nisid Steel SA | FR | lad:etype-BANK | 391200K600X7LWZTTM85 | | RATINGS |
| lad:E1018 | Tosem Mining Inc | Tosem Mining Inc | US | lad:etype-CORP | 549300SEMGL6OXLWHQ59 | | RATINGS |
| lad:E1019 | Losol Mining SA | Losol Mining SA | CV | lad:etype-CORP | 391200GSFO0F68KKUC67 | | RATINGS |
| lad:E1020 | Finel Media AG | Finel Media AG | DE | lad:etype-CORP | 549300FCSHHELSCZX562 | | RATINGS |
| lad:E1021 | Niner Pharma plc | Niner Pharma plc | GB | lad:etype-CORP | 391200KLG6G4KVIMIU52 | | RATINGS |
| lad:E1022 | NINER PHARMA | NINER PHARMA | GB | lad:etype-CORP | 391200KLG6G4KVIMIU52 | | RESEARCH |
| lad:E1023 | Heled Water plc | Heled Water plc | GB | lad:etype-CORP | 3912006FHXTH5V6WNK07 | | RATINGS |
| lad:E1024 | Susin Shipping BV | Susin Shipping BV | NL | lad:etype-CORP | 3912005J04HB7X0GTN24 | | RATINGS |
| lad:E1025 | Tulol Shipping SA | Tulol Shipping SA | ES | lad:etype-BANK | 2138007MIV2OS05PET94 | | RATINGS |
| lad:E1026 | Vunam Water BV | Vunam Water BV | NL | lad:etype-CORP | 969500C8XYHXZBFMUO41 | | RATINGS |
| lad:E1027 | Tesad Media Inc | Tesad Media Inc | US | lad:etype-CORP | 969500T86HNH5S920X18 | | RATINGS |
| lad:E1028 | Mutir Retail SA | Mutir Retail SA | VD | lad:etype-CORP | 213800TJ32NARU0BI982 | | RATINGS |
| lad:E1029 | Leson Telecom Inc | Leson Telecom Inc | US | lad:etype-BANK | 8156008DPX4I9DNKWN26 | | RATINGS |
| lad:E1030 | LESON TELECOM INC | LESON TELECOM INC | US | lad:etype-BANK | 8156008DPX4I9DNKWN26 | | RESEARCH |
| lad:E1031 | Kuvir Logistics SA | Kuvir Logistics SA | ES | lad:etype-CORP | 969500GRHP48SQNEWH44 | | RATINGS |
| lad:E1032 | Helom Chemicals BV | Helom Chemicals BV | NL | lad:etype-BANK | 2138006H9XCYN2P1K228 | | RATINGS |
| lad:E1033 | Kunid Pharma SA | Kunid Pharma SA | ES | lad:etype-CORP | 213800Q84PS4FTJJB947 | lad:E1004 | RATINGS |
| lad:E1034 | Tanad Capital SpA | Tanad Capital SpA | IT | lad:etype-CORP | 815600KLV84WAQGPSX27 | | RATINGS |
| lad:E1035 | Kavod Utilities AG | Kavod Utilities AG | DE | lad:etype-CORP | 724500YHN51API4SE179 | | RATINGS |
| lad:E1036 | Lilor Retail AG | Lilor Retail AG | DE | lad:etype-CORP | 9695000N72OQ0Q07IW61 | | RATINGS |
| lad:E1037 | Natil Retail SA | Natil Retail SA | FR | lad:etype-CORP | 391200OBAXI8590VQN12 | | RATINGS |
| lad:E1038 | Lanon Telecom BV | Lanon Telecom BV | NL | lad:etype-CORP | 549300EZ4HXP0L5RAZ01 | | RATINGS |
| lad:E1039 | Pulor Airlines SA | Pulor Airlines SA | CV | lad:etype-BANK | 969500HA9D5I7F73PW83 | | RATINGS |
| lad:E1040 | Dorid Mining AG | Dorid Mining AG | DE | lad:etype-CORP | 549300SPMD9MEMFWMR12 | | RATINGS |
| lad:E1041 | Hiral Steel SA | Hiral Steel SA | ES | lad:etype-CORP | 549300JU1O5MP1HSKQ01 | | RATINGS |
| lad:E1042 | Rerod Steel BV | Rerod Steel BV | NL | lad:etype-CORP | 391200LC6V921W096L49 | | RATINGS |
| lad:E1043 | Vitom Property plc | Vitom Property plc | GB | lad:etype-CORP | 5493007IVTPIWJZLFF29 | | RATINGS |
| lad:E1044 | Hesid Telecom Inc | Hesid Telecom Inc | US | lad:etype-BANK | 3912003Y7VZHUGN50755 | | RATINGS |
| lad:E1045 | Nesid Logistics Inc | Nesid Logistics Inc | US | lad:etype-BANK | 96950029VB162U3K1976 | | RATINGS |
| lad:E1046 | Ditin Shipping Inc | Ditin Shipping Inc | US | lad:etype-BANK | 549300ZM08IADSAK3L87 | lad:E1026 | RATINGS |
| lad:E1047 | Vaved Pharma plc | Vaved Pharma plc | GB | lad:etype-CORP | 391200WGA8OE30KZUD08 | lad:E1020 | RATINGS |
| lad:E1048 | Lised Pharma AG | Lised Pharma AG | DE | lad:etype-CORP | 9695000T21G05UQMGF10 | | RATINGS |
| lad:E1049 | Paser Utilities plc | Paser Utilities plc | GB | lad:etype-CORP | 391200R2EH7FELZFOV27 | | RATINGS |
(310 more rows not shown)
Query 2:
| i | d | issuer | g | 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 |
| lad:I1001 | Soson Airlines 5.50% notes due 2031 | lad:E1006 | | lad:seniority-SUB | USD | 2035-06-30 |
| lad:I1002 | Golod Property 8.75% notes due 2031 | lad:E1007 | | lad:seniority-SU | USD | 2033-06-30 |
| lad:I1003 | Sotil Retail 3.00% notes due 2031 | lad:E1008 | | lad:seniority-SU | GBP | 2034-06-30 |
| lad:I1004 | Malam Chemicals 2.25% notes due 2035 | lad:E1009 | | lad:seniority-SU | USD | 2028-06-30 |
| lad:I1005 | Posad Industries 4.00% notes due 2033 | lad:E1012 | | lad:seniority-SU | EUR | 2031-06-30 |
| lad:I1006 | Pisol Pharma 4.75% notes due 2030 | lad:E1013 | | lad:seniority-SUB | USD | 2030-06-30 |
| lad:I1007 | Toral Utilities 7.75% notes due 2028 | lad:E1014 | | lad:seniority-SU | EUR | 2033-06-30 |
| lad:I1008 | Ponar Telecom 4.75% notes due 2035 | lad:E1016 | | lad:seniority-SU | EUR | 2033-06-30 |
| lad:I1009 | Tosem Mining 2.75% notes due 2031 | lad:E1018 | | lad:seniority-SUB | USD | 2036-06-30 |
| lad:I1010 | Finel Media 6.50% notes due 2035 | lad:E1020 | | lad:seniority-SU | EUR | 2036-06-30 |
| lad:I1011 | Niner Pharma 3.25% notes due 2029 | lad:E1021 | | lad:seniority-SU | USD | 2035-06-30 |
| lad:I1012 | Heled Water 6.25% notes due 2030 | lad:E1023 | | lad:seniority-SU | GBP | 2031-06-30 |
| lad:I1013 | Kuvir Logistics 2.00% notes due 2027 | lad:E1031 | | lad:seniority-SU | EUR | 2027-06-30 |
| lad:I1014 | Kavod Utilities 2.50% notes due 2032 | lad:E1035 | | lad:seniority-SU | USD | 2036-06-30 |
| lad:I1015 | Lanon Telecom 4.75% notes due 2033 | lad:E1038 | | lad:seniority-SUB | EUR | 2032-06-30 |
| lad:I1016 | Hiral Steel 6.00% notes due 2035 | lad:E1041 | | lad:seniority-SU | USD | 2034-06-30 |
| lad:I1017 | Lised Pharma 4.50% notes due 2036 | lad:E1048 | | lad:seniority-SU | EUR | 2029-06-30 |
| lad:I1018 | Paser Utilities 3.75% notes due 2027 | lad:E1049 | | lad:seniority-SUB | GBP | 2034-06-30 |
| lad:I1019 | Sunar Holdings 8.50% notes due 2036 | lad:E1050 | | lad:seniority-SUB | USD | 2034-06-30 |
| lad:I1020 | Witad Steel 5.00% notes due 2033 | lad:E1052 | | lad:seniority-SU | EUR | 2027-06-30 |
| lad:I1021 | Duver Shipping 8.50% notes due 2032 | lad:E1056 | | lad:seniority-SU | EUR | 2030-06-30 |
| lad:I1022 | Levem Foods 6.50% notes due 2035 | lad:E1067 | | lad:seniority-SUB | EUR | 2030-06-30 |
| lad:I1023 | Mored Utilities 4.25% notes due 2032 | lad:E1071 | | lad:seniority-SUB | USD | 2033-06-30 |
| lad:I1024 | Ganed Holdings 5.75% notes due 2035 | lad:E1077 | | lad:seniority-SU | EUR | 2032-06-30 |
| lad:I1025 | Menir Shipping 7.50% notes due 2028 | lad:E1078 | | lad:seniority-SUB | EUR | 2034-06-30 |
| lad:I1026 | Nevar Property 6.75% notes due 2036 | lad:E1079 | | lad:seniority-SU | GBP | 2028-06-30 |
| lad:I1027 | Gilen Capital 2.00% notes due 2031 | lad:E1082 | | lad:seniority-SUB | USD | 2034-06-30 |
| lad:I1028 | Givim Mining 5.75% notes due 2036 | lad:E1085 | | lad:seniority-SU | EUR | 2034-06-30 |
| lad:I1029 | Gorar Steel 7.25% notes due 2033 | lad:E1086 | | lad:seniority-SUB | USD | 2035-06-30 |
| lad:I1030 | Vitid Holdings 5.75% notes due 2032 | lad:E1087 | | lad:seniority-SU | EUR | 2034-06-30 |
| lad:I1031 | Koved Holdings 2.50% notes due 2032 | lad:E1088 | | lad:seniority-SUB | EUR | 2033-06-30 |
| lad:I1032 | Getel Utilities 7.25% notes due 2033 | lad:E1090 | | lad:seniority-SU | USD | 2032-06-30 |
| lad:I1033 | Vavam Pharma 8.75% notes due 2032 | lad:E1103 | | lad:seniority-SUB | USD | 2032-06-30 |
| lad:I1034 | Kisil Logistics 8.50% notes due 2031 | lad:E1108 | | lad:seniority-SU | EUR | 2033-06-30 |
| lad:I1035 | Verod Logistics 3.00% notes due 2035 | lad:E1114 | | lad:seniority-SU | GBP | 2029-06-30 |
| lad:I1036 | Piren Foods 2.50% notes due 2030 | lad:E1115 | | lad:seniority-SU | USD | 2033-06-30 |
| lad:I1037 | Reter Shipping 8.00% notes due 2028 | lad:E1118 | | lad:seniority-SU | EUR | 2027-06-30 |
| lad:I1038 | Conan Capital 4.75% notes due 2033 | lad:E1131 | | lad:seniority-SU | EUR | 2031-06-30 |
| lad:I1039 | Larid Steel 8.50% notes due 2028 | lad:E1141 | | lad:seniority-SU | GBP | 2033-06-30 |
| lad:I1040 | Woner Media 5.75% notes due 2027 | lad:E1143 | | lad:seniority-SUB | EUR | 2027-06-30 |
| lad:I1041 | Kanim Pharma 3.25% notes due 2033 | lad:E1145 | | lad:seniority-SUB | EUR | 2036-06-30 |
| lad:I1042 | Daren Mining 5.75% notes due 2030 | lad:E1147 | | lad:seniority-SU | EUR | 2035-06-30 |
| lad:I1043 | Honel Shipping 4.50% notes due 2028 | lad:E1149 | | lad:seniority-SUB | EUR | 2029-06-30 |
| lad:I1044 | Wavad Foods 6.75% notes due 2035 | lad:E1155 | | lad:seniority-SU | USD | 2036-06-30 |
| lad:I1045 | Ruven Airlines 5.75% notes due 2032 | lad:E1156 | | lad:seniority-SUB | EUR | 2036-06-30 |
| lad:I1046 | Diled Steel 8.75% notes due 2027 | lad:E1160 | | lad:seniority-SU | EUR | 2029-06-30 |
| lad:I1047 | Wunam Telecom 5.25% notes due 2032 | lad:E1162 | | lad:seniority-SU | EUR | 2029-06-30 |
| lad:I1048 | Wenar Water 8.25% notes due 2028 | lad:E1163 | | lad:seniority-SUB | EUR | 2028-06-30 |
| lad:I1049 | Ranim Shipping 8.00% notes due 2028 | lad:E1166 | | lad:seniority-SUB | USD | 2036-06-30 |
| lad:I1050 | Fivan Holdings 2.25% notes due 2035 | lad:E1168 | | lad:seniority-SU | EUR | 2027-06-30 |
| lad:I1051 | Molar Shipping 3.25% notes due 2031 | lad:E1188 | | lad:seniority-SU | EUR | 2028-06-30 |
| lad:I1052 | Divid Property 4.25% notes due 2033 | lad:E1189 | | lad:seniority-SUB | GBP | 2032-06-30 |
(55 more rows not shown)
Query 3:
| a | thing | type | basis | 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:A1001 | lad:E1002 | lad:type-LTIDR | lad:basis-FC | 2022-08-18 | lad:action-AS | A+ | lad:outlook-STA | | |
| lad:A1002 | lad:E1002 | lad:type-LTIDR | lad:basis-FC | 2025-07-20 | lad:action-WD | WD | | | commercial reasons |
| lad:A1003 | lad:E1003 | lad:type-LTIDR | lad:basis-FC | 2024-07-05 | lad:action-AS | A | lad:outlook-STA | | |
| lad:A1004 | lad:E1004 | lad:type-LTIDR | lad:basis-FC | 2023-05-02 | lad:action-AS | BB | lad:outlook-STA | | |
| lad:A1005 | lad:E1005 | lad:type-LTIDR | lad:basis-FC | 2022-05-02 | lad:action-AS | BBB- | lad:outlook-STA | | |
| lad:A1006 | lad:E1005 | lad:type-LTIDR | lad:basis-FC | 2023-03-19 | lad:action-DG | BB+ | lad:outlook-POS | | |
| lad:A1007 | lad:E1005 | lad:type-LTIDR | lad:basis-FC | 2025-08-02 | lad:action-DG | BB | lad:outlook-NEG | | |
| lad:A1008 | lad:E1006 | lad:type-LTIDR | lad:basis-FC | 2025-08-26 | lad:action-AS | AA- | lad:outlook-STA | | |
| lad:A1009 | lad:E1006 | lad:type-LTIDR | lad:basis-FC | 2026-04-15 | lad:action-UG | AA | lad:outlook-STA | | |
| lad:A1010 | lad:E1006 | lad:type-LTIDR | lad:basis-FC | 2026-06-17 | lad:action-RW | AA | | lad:watch-RWN | |
| lad:A1012 | lad:E1007 | lad:type-LTIDR | lad:basis-FC | 2023-06-03 | lad:action-AS | BB- | lad:outlook-STA | | |
| lad:A1013 | lad:E1007 | lad:type-LTIDR | lad:basis-FC | 2026-06-27 | lad:action-WD | WD | | | commercial reasons |
| lad:A1015 | lad:E1008 | lad:type-LTIDR | lad:basis-FC | 2022-12-09 | lad:action-AS | BBB- | lad:outlook-STA | | |
| lad:A1017 | lad:E1009 | lad:type-LTIDR | lad:basis-FC | 2022-05-02 | lad:action-AS | A | lad:outlook-STA | | |
| lad:A1019 | lad:E1010 | lad:type-LTIDR | lad:basis-FC | 2023-08-18 | lad:action-AS | BBB- | lad:outlook-STA | | |
| lad:A1020 | lad:E1011 | lad:type-LTIDR | lad:basis-FC | 2025-12-13 | lad:action-AS | B+ | lad:outlook-STA | | |
| lad:A1021 | lad:E1012 | lad:type-LTIDR | lad:basis-FC | 2024-11-09 | lad:action-AS | BB | lad:outlook-STA | | |
| lad:A1022 | lad:E1012 | lad:type-LTIDR | lad:basis-FC | 2025-04-03 | lad:action-RW | BB | | lad:watch-RWN | |
| lad:A1023 | lad:E1012 | lad:type-LTIDR | lad:basis-FC | 2026-02-06 | lad:action-UG | BB+ | lad:outlook-POS | | |
| lad:A1025 | lad:E1013 | lad:type-LTIDR | lad:basis-FC | 2022-06-02 | lad:action-AS | BB- | lad:outlook-STA | | |
| lad:A1026 | lad:E1013 | lad:type-LTIDR | lad:basis-FC | 2025-07-09 | lad:action-RW | BB- | | lad:watch-RWN | |
| lad:A1028 | lad:E1014 | lad:type-LTIDR | lad:basis-FC | 2025-07-11 | lad:action-AS | AA- | lad:outlook-STA | | |
| lad:A1030 | lad:E1015 | lad:type-LTIDR | lad:basis-FC | 2025-11-24 | lad:action-AS | BBB+ | lad:outlook-STA | | |
| lad:A1031 | lad:E1016 | lad:type-LTIDR | lad:basis-FC | 2022-06-10 | lad:action-AS | B+ | lad:outlook-STA | | |
| lad:A1032 | lad:E1016 | lad:type-LTIDR | lad:basis-FC | 2025-06-28 | lad:action-AF | B+ | lad:outlook-STA | | |
| lad:A1034 | lad:E1017 | lad:type-LTIDR | lad:basis-FC | 2022-03-03 | lad:action-AS | AA- | lad:outlook-STA | | |
| lad:A1035 | lad:E1017 | lad:type-LTIDR | lad:basis-FC | 2024-08-09 | lad:action-UG | AA | lad:outlook-STA | | |
| lad:A1036 | lad:E1017 | lad:type-LTIDR | lad:basis-FC | 2025-04-20 | lad:action-AF | AA | lad:outlook-STA | | |
| lad:A1037 | lad:E1018 | lad:type-LTIDR | lad:basis-FC | 2025-08-11 | lad:action-AS | A | lad:outlook-STA | | |
| lad:A1039 | lad:E1019 | lad:type-LTIDR | lad:basis-FC | 2022-12-11 | lad:action-AS | BB+ | lad:outlook-STA | | |
| lad:A1040 | lad:E1019 | lad:type-LTIDR | lad:basis-LC | 2022-12-11 | lad:action-AS | BBB- | lad:outlook-STA | | |
| lad:A1041 | lad:E1019 | lad:type-LTIDR | lad:basis-LC | 2024-02-08 | lad:action-RW | BBB- | | lad:watch-RWN | |
| lad:A1042 | lad:E1019 | lad:type-LTIDR | lad:basis-LC | 2024-03-20 | lad:action-RW | BBB- | | lad:watch-RWN | |
| lad:A1043 | lad:E1020 | lad:type-LTIDR | lad:basis-FC | 2024-06-15 | lad:action-AS | A- | lad:outlook-STA | | |
| lad:A1045 | lad:E1021 | lad:type-LTIDR | lad:basis-FC | 2022-06-19 | lad:action-AS | BBB- | lad:outlook-STA | | |
| lad:A1046 | lad:E1021 | lad:type-LTIDR | lad:basis-FC | 2025-11-08 | lad:action-WD | WD | | | commercial reasons |
| lad:A1048 | lad:E1023 | lad:type-LTIDR | lad:basis-FC | 2022-06-05 | lad:action-AS | A- | lad:outlook-STA | | |
| lad:A1049 | lad:E1023 | lad:type-LTIDR | lad:basis-FC | 2023-03-02 | lad:action-DG | BBB+ | lad:outlook-POS | | |
(727 more rows not shown)
Run more queries, or give the final answers.The model
```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?e ?name ?country ?type ?lei ?parent ?src WHERE {
?e a lad:Entity .
FILTER(REGEXP(STR(?e),"/(E[0-9]{2}|[A-Z]{2})$"))
OPTIONAL {?e lad:name ?name}
OPTIONAL {?e lad:country ?country}
OPTIONAL {?e lad:entityType ?type}
OPTIONAL {?e lad:lei ?lei}
OPTIONAL {?e lad:parent ?parent}
OPTIONAL {?e lad:sourceSystem ?src}
} ORDER BY ?e
```
```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?a ?thing ?type ?basis ?date ?action ?rating ?outlook ?watch ?comment WHERE {
?a a lad:RatingAction ; lad:ratedThing ?thing .
FILTER(REGEXP(STR(?thing),"/(E[0-9]{2}|[A-Z]{2}|I0[0-9])$"))
OPTIONAL {?a lad:ratingType ?type}
OPTIONAL {?a lad:ccyBasis ?basis}
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(?thing NOT IN (lad:E01,lad:E02,lad:E03,lad:E05,lad:E06,lad:E07,lad:E08,lad:E09,lad:E10) || false)
} ORDER BY ?thing ?type ?basis ?date
```Query results
Query 1 failed: Expected SelectQuery, found 'FILTER' (at char 121), (line:4, col:3)
Query 2 failed: Expected SelectQuery, found 'FILTER' (at char 179), (line:4, col:3)
Run more queries, or give the final answers.The model
```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?e ?name ?country ?type ?lei ?parent ?src WHERE {
VALUES ?e { lad:E11 lad:E12 lad:E13 lad:E14 lad:E15 lad:E16 lad:E17 lad:E18 lad:E19 lad:E20 lad:E21 lad:E22 lad:E23 lad:E24 lad:E25 lad:VD lad:E1001 }
?e a lad:Entity .
OPTIONAL {?e lad:name ?name}
OPTIONAL {?e lad:country ?country}
OPTIONAL {?e lad:entityType ?type}
OPTIONAL {?e lad:lei ?lei}
OPTIONAL {?e lad:parent ?parent}
OPTIONAL {?e lad:sourceSystem ?src}
} ORDER BY ?e
```
```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?a ?thing ?type ?basis ?date ?action ?rating ?outlook ?watch ?comment WHERE {
VALUES ?thing { lad:E04 lad:E11 lad:E12 lad:E13 lad:E14 lad:E15 lad:E16 lad:E17 lad:E18 lad:VD lad:I01 lad:I02 lad:I03 lad:I04 lad:I05 lad:I06 lad:I07 lad:I08 }
?a a lad:RatingAction ; lad:ratedThing ?thing .
OPTIONAL {?a lad:ratingType ?type}
OPTIONAL {?a lad:ccyBasis ?basis}
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}
} ORDER BY ?thing ?type ?basis ?date
```Query results
Query 1:
| e | name | country | type | lei | parent | src |
|---|---|---|---|---|---|---|
| lad:E1001 | Tunod Steel SA | FR | lad:etype-CORP | 3912003R00FP6CNV6210 | | RATINGS |
| lad:E11 | Halden Leasing SA | FR | lad:etype-FINSUB | 549300XBZH4ULO9MQV55 | lad:E10 | RATINGS |
| lad:E12 | Halden Foods Ltd | GB | lad:etype-CORP | 213800IJDL4OJ4DG5T19 | | RATINGS |
| lad:E13 | Orrin Bancorp Inc | US | lad:etype-BANK | 815600O8X8K2F154N214 | | RATINGS |
| lad:E14 | Marlow Utilities plc | GB | lad:etype-CORP | 3912005AH2C1I9YF8106 | | RATINGS |
| lad:E15 | Corvenia Power SA | CV | lad:etype-CORP | 213800PBQVHVBBH6GV02 | | RATINGS |
| lad:E16 | Brindle Capital Ltd | GB | lad:etype-CORP | 5493003Z3PXXR7KNFM81 | | QA |
| lad:E17 | HALDEN BANK | LU | lad:etype-BANK | 391200QYPVFF2O9K2039 | | RESEARCH |
| lad:VD | Republic of Valdoria | VD | lad:etype-SOV | | | RATINGS |
Query 2:
| a | thing | type | basis | 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 | | | |
| lad:A12 | lad:VD | lad:type-CC | | 2025-04-01 | lad:action-AS | BB | | | |
Run more queries, or give the final answers.The model
The last results look corrupted: different entities share one LEI, and E10 shows E04's LEI. I won't use them. I'll re-run with simpler queries that avoid the LEI join.
```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?t ?b ?d ?act ?r WHERE {
?a lad:ratedThing ?t; lad:ratingType lad:type-LTIDR; lad:date ?d; lad:action ?act; lad:rating ?r.
OPTIONAL{?a lad:ccyBasis ?b}
FILTER(?r IN ("RD","D") || (?act=lad:action-DG && ?d>="2026-01-01"^^<http://www.w3.org/2001/XMLSchema#date>))
} ORDER BY ?t ?d
```
```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?t ?type ?c ?s ?p WHERE {
{ ?t lad:parent ?p } UNION { ?t lad:entityType lad:etype-SOV }
OPTIONAL{?t lad:entityType ?type} OPTIONAL{?t lad:country ?c} OPTIONAL{?t lad:sourceSystem ?s}
} ORDER BY ?t
```
```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?t ?d ?act ?r WHERE {
?a lad:ratedThing ?t; lad:ratingType lad:type-CC; lad:date ?d; lad:action ?act; lad:rating ?r.
} ORDER BY ?t ?d
```Query results
Query 1:
| t | b | d | act | r |
|---|---|---|---|---|
| lad:E08 | lad:basis-FC | 2026-01-20 | lad:action-DG | CCC |
| lad:E08 | lad:basis-FC | 2026-07-08 | lad:action-DG | RD |
| lad:E10 | lad:basis-FC | 2026-04-15 | lad:action-DG | BBB+ |
| lad:E1034 | lad:basis-FC | 2026-05-02 | lad:action-DG | BBB+ |
| lad:E1051 | lad:basis-FC | 2026-04-05 | lad:action-DG | A+ |
| lad:E1051 | lad:basis-FC | 2026-06-01 | lad:action-DG | A+ |
| lad:E1053 | lad:basis-FC | 2026-03-20 | lad:action-DG | BB |
| lad:E1057 | lad:basis-FC | 2026-06-25 | lad:action-DG | BB |
| lad:E1058 | lad:basis-FC | 2026-07-14 | lad:action-DG | BBB- |
| lad:E1064 | lad:basis-FC | 2026-03-04 | lad:action-DG | BBB+ |
| lad:E1080 | lad:basis-FC | 2026-02-14 | lad:action-DG | A- |
| lad:E1093 | lad:basis-FC | 2026-07-25 | lad:action-DG | B |
| lad:E1112 | lad:basis-FC | 2026-02-20 | lad:action-DG | BBB |
| lad:E1144 | lad:basis-FC | 2026-06-06 | lad:action-DG | B+ |
| lad:E1151 | lad:basis-FC | 2026-01-26 | lad:action-DG | BBB |
| lad:E1159 | lad:basis-FC | 2026-06-16 | lad:action-DG | BBB+ |
| lad:E1161 | lad:basis-FC | 2026-07-28 | lad:action-DG | B |
| lad:E1163 | lad:basis-FC | 2026-03-19 | lad:action-DG | BB+ |
| lad:E1167 | lad:basis-FC | 2026-09-07 | lad:action-DG | BB |
| lad:E1170 | lad:basis-FC | 2026-08-16 | lad:action-DG | BB- |
| lad:E1186 | lad:basis-FC | 2026-01-04 | lad:action-DG | BBB+ |
| lad:E1213 | lad:basis-FC | 2026-02-13 | lad:action-DG | A- |
| lad:E1213 | lad:basis-FC | 2026-06-16 | lad:action-DG | BBB+ |
| lad:E1228 | lad:basis-FC | 2026-06-28 | lad:action-DG | BB+ |
| lad:E1229 | lad:basis-FC | 2026-05-06 | lad:action-DG | BB |
| lad:E1229 | lad:basis-FC | 2026-06-02 | lad:action-DG | BB+ |
| lad:E1243 | lad:basis-FC | 2026-01-13 | lad:action-DG | BB |
| lad:E1255 | lad:basis-FC | 2026-01-19 | lad:action-DG | BBB+ |
| lad:E1263 | lad:basis-FC | 2026-03-03 | lad:action-DG | BBB |
| lad:E1263 | lad:basis-FC | 2026-06-16 | lad:action-DG | BBB- |
| lad:E1285 | lad:basis-FC | 2026-02-17 | lad:action-DG | A |
| lad:E1290 | lad:basis-FC | 2026-08-16 | lad:action-DG | B |
| lad:E1294 | lad:basis-FC | 2026-07-11 | lad:action-DG | A+ |
| lad:E1299 | lad:basis-FC | 2026-02-06 | lad:action-DG | BBB |
| lad:E1300 | lad:basis-FC | 2026-04-09 | lad:action-DG | BBB+ |
| lad:E1300 | lad:basis-FC | 2026-05-06 | lad:action-DG | BBB |
| lad:E1307 | lad:basis-FC | 2026-02-08 | lad:action-DG | BB- |
| lad:E1340 | lad:basis-FC | 2026-06-26 | lad:action-DG | BBB+ |
| lad:E1341 | lad:basis-FC | 2026-11-09 | lad:action-DG | BBB+ |
| lad:E1342 | lad:basis-FC | 2026-07-17 | lad:action-DG | BBB+ |
| lad:E1343 | lad:basis-FC | 2026-08-08 | lad:action-DG | BBB+ |
| lad:E1344 | lad:basis-FC | 2026-03-18 | lad:action-DG | A- |
| lad:E1345 | lad:basis-FC | 2026-09-22 | lad:action-DG | BB- |
| lad:E1346 | lad:basis-FC | 2026-10-15 | lad:action-DG | BBB+ |
| lad:E1347 | lad:basis-FC | 2026-03-10 | lad:action-DG | BBB- |
| lad:E1348 | lad:basis-FC | 2026-03-18 | lad:action-DG | BBB- |
| lad:E1349 | lad:basis-FC | 2026-10-14 | lad:action-DG | A- |
| lad:E1350 | lad:basis-FC | 2026-09-03 | lad:action-DG | BB |
| lad:E1351 | lad:basis-FC | 2026-09-27 | lad:action-DG | A- |
| lad:E16 | lad:basis-FC | 2026-06-01 | lad:action-DG | BB+ |
Query 2:
| t | type | c | s | p |
|---|---|---|---|---|
| lad:CV | lad:etype-SOV | CV | RATINGS | |
| lad:E04 | lad:etype-FINSUB | NL | RATINGS | lad:E02 |
| lad:E10 | lad:etype-BANK | DE | RATINGS | lad:E09 |
| lad:E1006 | lad:etype-CORP | US | RATINGS | lad:E1005 |
| lad:E1013 | lad:etype-BANK | NL | RATINGS | lad:E1004 |
| lad:E1033 | lad:etype-CORP | ES | RATINGS | lad:E1004 |
| lad:E1046 | lad:etype-BANK | US | RATINGS | lad:E1026 |
| lad:E1047 | lad:etype-CORP | GB | RATINGS | lad:E1020 |
| lad:E1059 | lad:etype-CORP | CV | RATINGS | lad:E1015 |
| lad:E1066 | lad:etype-CORP | ES | RATINGS | lad:E1004 |
| lad:E1075 | lad:etype-CORP | US | RATINGS | lad:E1071 |
| lad:E1089 | lad:etype-CORP | GR | RATINGS | lad:E1078 |
| lad:E1095 | lad:etype-CORP | US | RATINGS | lad:E1027 |
| lad:E1098 | lad:etype-CORP | US | RATINGS | lad:E1006 |
| lad:E11 | lad:etype-FINSUB | FR | RATINGS | lad:E10 |
| lad:E1101 | lad:etype-CORP | VD | RATINGS | lad:E1083 |
| lad:E1110 | lad:etype-CORP | ES | RATINGS | lad:E1007 |
| lad:E1114 | lad:etype-CORP | GB | RATINGS | lad:E1063 |
| lad:E1149 | lad:etype-CORP | NL | RATINGS | lad:E1013 |
| lad:E1174 | lad:etype-BANK | IT | RATINGS | lad:E1073 |
| lad:E1177 | lad:etype-BANK | DE | RATINGS | lad:E1010 |
| lad:E1179 | lad:etype-CORP | ES | RATINGS | lad:E1162 |
| lad:E1183 | lad:etype-CORP | GB | RATINGS | lad:E1025 |
| lad:E1191 | lad:etype-CORP | FR | RATINGS | lad:E1177 |
| lad:E1197 | lad:etype-CORP | GB | RATINGS | lad:E1066 |
| lad:E1215 | lad:etype-BANK | US | RATINGS | lad:E1063 |
| lad:E1228 | lad:etype-CORP | GB | RATINGS | lad:E1023 |
| lad:E1233 | lad:etype-CORP | DE | RATINGS | lad:E1198 |
| lad:E1248 | lad:etype-CORP | US | RATINGS | lad:E1107 |
| lad:E1271 | lad:etype-CORP | DE | RATINGS | lad:E1071 |
| lad:E1273 | lad:etype-CORP | ES | RATINGS | lad:E1074 |
| lad:E1275 | lad:etype-CORP | US | RATINGS | lad:E1189 |
| lad:E1276 | lad:etype-CORP | IT | RATINGS | lad:E1074 |
| lad:E1292 | lad:etype-CORP | GB | RATINGS | lad:E1061 |
| lad:E1293 | lad:etype-CORP | GB | RATINGS | lad:E1166 |
| lad:E1315 | lad:etype-CORP | DE | RATINGS | lad:E1278 |
| lad:E1325 | lad:etype-FINSUB | FR | RATINGS | lad:E1084 |
| lad:E1326 | lad:etype-FINSUB | FR | RATINGS | lad:E1052 |
| lad:E1327 | lad:etype-FINSUB | GB | RATINGS | lad:E1119 |
| lad:E1328 | lad:etype-FINSUB | GB | RATINGS | lad:E1244 |
| lad:E1329 | lad:etype-FINSUB | FR | RATINGS | lad:E1069 |
| lad:E1330 | lad:etype-FINSUB | NL | RATINGS | lad:E1021 |
| lad:E1331 | lad:etype-FINSUB | FR | RATINGS | lad:E1025 |
| lad:E1332 | lad:etype-FINSUB | FR | RATINGS | lad:E1068 |
| lad:E1333 | lad:etype-FINSUB | NL | RATINGS | lad:E1082 |
| lad:E1334 | lad:etype-FINSUB | FR | RATINGS | lad:E1260 |
| lad:E1335 | lad:etype-FINSUB | NL | RATINGS | lad:E1234 |
| lad:E1336 | lad:etype-FINSUB | GB | RATINGS | lad:E1176 |
| lad:E1337 | lad:etype-FINSUB | GB | RATINGS | lad:E1038 |
| lad:E1338 | lad:etype-FINSUB | GB | RATINGS | lad:E1073 |
| lad:E1339 | lad:etype-FINSUB | NL | RATINGS | lad:E1241 |
| lad:VD | lad:etype-SOV | VD | RATINGS | |
Query 3:
| t | d | act | r |
|---|---|---|---|
| lad:CV | 2024-01-01 | lad:action-AS | A |
| lad:VD | 2025-04-01 | lad:action-AS | BB |
Run more queries, or give the final answers.The model
```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?lei (GROUP_CONCAT(CONCAT(STR(?e),":",?c,":",?s);separator=" | ") AS ?recs) WHERE {
?e lad:lei ?lei; lad:country ?c; lad:sourceSystem ?s .
FILTER EXISTS { ?e2 lad:lei ?lei . FILTER(?e2!=?e) }
} GROUP BY ?lei ORDER BY ?lei
```
```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT (COUNT(DISTINCT ?k) AS ?n) (COUNT(DISTINCT ?q) AS ?qa) WHERE {
{ ?e a lad:Entity; lad:sourceSystem ?s . FILTER(?s!="QA") OPTIONAL{?e lad:lei ?l} BIND(COALESCE(?l,STR(?e)) AS ?k) }
UNION { ?e a lad:Entity; lad:sourceSystem "QA" . BIND(?e AS ?q) }
}
```
```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?e ?c ?s ?lei WHERE { ?e lad:country ?c; lad:sourceSystem ?s . OPTIONAL{?e lad:lei ?lei} FILTER(?c="LU" || ?s="QA") }
```
```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?t ?b ?d ?act ?r ?o ?w WHERE {
?a lad:ratedThing ?t; lad:ratingType lad:type-LTIDR; lad:date ?d; lad:action ?act; lad:rating ?r .
OPTIONAL{?a lad:ccyBasis ?b} OPTIONAL{?a lad:outlook ?o} OPTIONAL{?a lad:watch ?w}
FILTER(?d <= "2026-10-01"^^<http://www.w3.org/2001/XMLSchema#date>)
FILTER NOT EXISTS { ?a2 lad:ratedThing ?t; lad:ratingType lad:type-LTIDR; lad:date ?d2 . ?a2 lad:ccyBasis ?b2 . FILTER(?b2=?b && ?d2>?d && ?d2<="2026-10-01"^^<http://www.w3.org/2001/XMLSchema#date>) }
FILTER(?r!="WD" && (?w=lad:watch-RWN || ?o=lad:outlook-NEG))
} ORDER BY ?t
```Query results
Query 1:
| lei | recs |
|---|---|
| 213800PHEIYNJMHTDV74 | https://example.org/ladder/E03:GB:RESEARCH | https://example.org/ladder/E02:GB:RATINGS |
| 3912003R00FP6CNV6210 | https://example.org/ladder/E1001:FR:RATINGS | https://example.org/ladder/E1002:FR:RESEARCH |
| 391200E9TAHDZV7CY568 | https://example.org/ladder/E1147:FR:RATINGS | https://example.org/ladder/E1148:FR:RESEARCH |
| 391200JN4T4KY2HCRU75 | https://example.org/ladder/E1116:GB:RATINGS | https://example.org/ladder/E1117:GB:RESEARCH |
| 391200KLG6G4KVIMIU52 | https://example.org/ladder/E1022:GB:RESEARCH | https://example.org/ladder/E1021:GB:RATINGS |
| 391200QYPVFF2O9K2039 | https://example.org/ladder/E17:LU:RESEARCH | https://example.org/ladder/E10:DE:RATINGS |
| 391200USHZVHBK9FHP01 | https://example.org/ladder/E1180:IT:RESEARCH | https://example.org/ladder/E1179:ES:RATINGS |
| 5493004IM0PRT8BSDK29 | https://example.org/ladder/E1239:GR:RESEARCH | https://example.org/ladder/E1238:GR:RATINGS |
| 549300A64I73OEIC4R87 | https://example.org/ladder/E1213:FR:RATINGS | https://example.org/ladder/E1214:NL:RESEARCH |
| 549300CRXZL5I1OT6L14 | https://example.org/ladder/E1060:CV:RESEARCH | https://example.org/ladder/E1059:CV:RATINGS |
| 549300E50JHDJNBUGF22 | https://example.org/ladder/E1152:GB:RATINGS | https://example.org/ladder/E1153:GB:RESEARCH |
| 549300H1N0EQEAZLE362 | https://example.org/ladder/E1261:ES:RATINGS | https://example.org/ladder/E1262:ES:RESEARCH |
| 549300HWTXXHJP2HKU38 | https://example.org/ladder/E1209:IT:RATINGS | https://example.org/ladder/E1210:DE:RESEARCH |
| 549300NTCTGRKRYIAN83 | https://example.org/ladder/E1097:CV:RESEARCH | https://example.org/ladder/E1096:CV:RATINGS |
| 549300XV49ES64RGNQ00 | https://example.org/ladder/E1169:GB:RATINGS | https://example.org/ladder/E1170:GB:RESEARCH |
| 724500BSV4X2J7KUR535 | https://example.org/ladder/E1139:NL:RESEARCH | https://example.org/ladder/E1138:NL:RATINGS |
| 724500UQKUINIUB80J18 | https://example.org/ladder/E1318:GB:RATINGS | https://example.org/ladder/E1319:GB:RESEARCH |
| 724500YEJSJ19G17TW94 | https://example.org/ladder/E1259:FR:RESEARCH | https://example.org/ladder/E1258:FR:RATINGS |
| 8156008DPX4I9DNKWN26 | https://example.org/ladder/E1030:US:RESEARCH | https://example.org/ladder/E1029:US:RATINGS |
| 815600HDI8Y3IWGOOH22 | https://example.org/ladder/E1103:US:RATINGS | https://example.org/ladder/E1104:US:RESEARCH |
| 815600LRX1P8142NMF42 | https://example.org/ladder/E1246:FR:RESEARCH | https://example.org/ladder/E1245:CV:RATINGS |
| 815600RCZP0ISY44E024 | https://example.org/ladder/E1298:ES:RATINGS | https://example.org/ladder/E1299:ES:RESEARCH |
| 9695000PSF2HLPO9AE57 | https://example.org/ladder/E1311:IT:RESEARCH | https://example.org/ladder/E1310:IT:RATINGS |
| 969500KYKHRI6N2WRN19 | https://example.org/ladder/E1157:US:RESEARCH | https://example.org/ladder/E1156:DE:RATINGS |
| 969500PM41NS2PBZU440 | https://example.org/ladder/E1160:FR:RATINGS | https://example.org/ladder/E1161:FR:RESEARCH |
| 969500QXEZ0NSV6EIW69 | https://example.org/ladder/E1253:ES:RATINGS | https://example.org/ladder/E1254:ES:RESEARCH |
Query 2:
| n | qa |
|---|---|
| 331 | 13 |
Query 3:
| e | c | s | lei |
|---|---|---|---|
| lad:E1341 | FR | QA | 549300IFOJRHYHEP5N72 |
| lad:E1349 | FR | QA | 724500PGN9P0AMIWNV47 |
| lad:E1340 | GB | QA | 213800CSTQH7UO0A8E29 |
| lad:E1343 | GB | QA | 969500F1DAQZF8FNJS41 |
| lad:E1344 | GB | QA | 724500N069ZCQGY1UI76 |
| lad:E1345 | GB | QA | 391200T3GEO5X4SJMO02 |
| lad:E1347 | GB | QA | 724500649FYULZG25F44 |
| lad:E1350 | GB | QA | 213800GZMC02BI2WJX12 |
| lad:E1351 | GB | QA | 969500MERFFSB2CHQE09 |
| lad:E16 | GB | QA | 5493003Z3PXXR7KNFM81 |
| lad:E17 | LU | RESEARCH | 391200QYPVFF2O9K2039 |
| lad:E1342 | DE | QA | 7245000RRKYSQSJ2DB31 |
| lad:E1346 | DE | QA | 391200MMTFNAN4NBM054 |
| lad:E1348 | DE | QA | 724500JEL6C1PJZEDM26 |
Query 4:
| t | b | d | act | r | o | w |
|---|---|---|---|---|---|---|
| lad:E01 | lad:basis-FC | 2026-02-10 | lad:action-AF | BBB | lad:outlook-NEG | |
| lad:E06 | lad:basis-FC | 2026-09-03 | lad:action-RW | A- | | lad:watch-RWN |
| lad:E09 | lad:basis-FC | 2026-03-01 | lad:action-AF | A | lad:outlook-NEG | |
| lad:E1005 | lad:basis-FC | 2025-08-02 | lad:action-DG | BB | lad:outlook-NEG | |
| lad:E1006 | lad:basis-FC | 2026-06-17 | lad:action-RW | AA | | lad:watch-RWN |
| lad:E1013 | lad:basis-FC | 2025-07-09 | lad:action-RW | BB- | | lad:watch-RWN |
| lad:E1019 | lad:basis-LC | 2024-03-20 | lad:action-RW | BBB- | | lad:watch-RWN |
| lad:E1029 | lad:basis-FC | 2025-08-08 | lad:action-UG | A- | lad:outlook-NEG | |
| lad:E1034 | lad:basis-FC | 2026-05-02 | lad:action-DG | BBB+ | lad:outlook-NEG | |
| lad:E1037 | lad:basis-FC | 2022-05-07 | lad:action-RW | A | | lad:watch-RWN |
| lad:E1039 | lad:basis-FC | 2025-12-09 | lad:action-RW | A | | lad:watch-RWN |
| lad:E1046 | lad:basis-FC | 2025-05-28 | lad:action-UG | AA- | lad:outlook-NEG | |
| lad:E1055 | lad:basis-FC | 2024-12-04 | lad:action-UG | BBB- | lad:outlook-NEG | |
| lad:E1056 | lad:basis-FC | 2023-01-01 | lad:action-DG | A+ | lad:outlook-NEG | |
| lad:E1059 | lad:basis-LC | 2026-02-23 | lad:action-RW | BB- | | lad:watch-RWN |
| lad:E1060 | lad:basis-FC | 2025-02-16 | lad:action-AF | BB- | lad:outlook-NEG | |
| lad:E1061 | lad:basis-FC | 2025-06-06 | lad:action-RW | A | | lad:watch-RWN |
| lad:E1064 | lad:basis-FC | 2026-06-03 | lad:action-UG | A- | lad:outlook-NEG | |
| lad:E1066 | lad:basis-FC | 2026-05-03 | lad:action-RW | A- | | lad:watch-RWN |
| lad:E1072 | lad:basis-FC | 2026-02-07 | lad:action-AF | BB- | lad:outlook-NEG | |
| lad:E1079 | lad:basis-FC | 2024-01-26 | lad:action-AF | BB+ | lad:outlook-NEG | |
| lad:E1080 | lad:basis-FC | 2026-02-14 | lad:action-DG | A- | lad:outlook-NEG | |
| lad:E1088 | lad:basis-FC | 2024-01-16 | lad:action-RW | B+ | | lad:watch-RWN |
| lad:E1098 | lad:basis-FC | 2026-04-28 | lad:action-RW | BBB- | | lad:watch-RWN |
| lad:E1099 | lad:basis-FC | 2023-11-05 | lad:action-RW | BB+ | | lad:watch-RWN |
| lad:E1105 | lad:basis-FC | 2024-01-13 | lad:action-UG | A+ | lad:outlook-NEG | |
| lad:E1109 | lad:basis-FC | 2025-12-25 | lad:action-RW | A+ | | lad:watch-RWN |
| lad:E1118 | lad:basis-FC | 2025-07-14 | lad:action-DG | BB+ | lad:outlook-NEG | |
| lad:E1126 | lad:basis-FC | 2025-07-10 | lad:action-RW | BB | | lad:watch-RWN |
| lad:E1132 | lad:basis-FC | 2025-08-24 | lad:action-RW | B+ | | lad:watch-RWN |
| lad:E1133 | lad:basis-FC | 2025-10-11 | lad:action-RW | B+ | | lad:watch-RWN |
| lad:E1146 | lad:basis-FC | 2025-08-12 | lad:action-RW | BB | | lad:watch-RWN |
| lad:E1158 | lad:basis-FC | 2026-08-14 | lad:action-AF | BBB | lad:outlook-NEG | |
| lad:E1161 | lad:basis-FC | 2026-07-28 | lad:action-DG | B | lad:outlook-NEG | |
| lad:E1168 | lad:basis-FC | 2023-10-12 | lad:action-RW | BBB- | | lad:watch-RWN |
| lad:E1181 | lad:basis-FC | 2025-01-06 | lad:action-RW | A- | | lad:watch-RWN |
| lad:E1188 | lad:basis-FC | 2024-09-05 | lad:action-UG | BB- | lad:outlook-NEG | |
| lad:E1190 | lad:basis-FC | 2025-05-24 | lad:action-UG | BBB | lad:outlook-NEG | |
| lad:E1194 | lad:basis-FC | 2025-01-20 | lad:action-RW | A | | lad:watch-RWN |
| lad:E1203 | lad:basis-FC | 2023-09-02 | lad:action-RW | BBB+ | | lad:watch-RWN |
| lad:E1210 | lad:basis-FC | 2024-09-09 | lad:action-RW | BB | | lad:watch-RWN |
| lad:E1211 | lad:basis-FC | 2024-09-26 | lad:action-AF | BBB- | lad:outlook-NEG | |
| lad:E1228 | lad:basis-FC | 2026-06-28 | lad:action-DG | BB+ | lad:outlook-NEG | |
| lad:E1238 | lad:basis-FC | 2026-07-27 | lad:action-RW | AA- | | lad:watch-RWN |
| lad:E1242 | lad:basis-FC | 2025-09-11 | lad:action-RW | BBB | | lad:watch-RWN |
| lad:E1248 | lad:basis-FC | 2026-05-02 | lad:action-AF | A- | lad:outlook-NEG | |
| lad:E1260 | lad:basis-FC | 2025-09-05 | lad:action-RW | BBB- | | lad:watch-RWN |
| lad:E1262 | lad:basis-FC | 2024-10-13 | lad:action-AF | B+ | lad:outlook-NEG | |
| lad:E1263 | lad:basis-FC | 2026-06-16 | lad:action-DG | BBB- | lad:outlook-NEG | |
| lad:E1264 | lad:basis-FC | 2024-05-18 | lad:action-RW | B+ | | lad:watch-RWN |
| lad:E1266 | lad:basis-FC | 2026-07-20 | lad:action-RW | BBB | | lad:watch-RWN |
| lad:E1267 | lad:basis-FC | 2023-12-15 | lad:action-RW | A- | | lad:watch-RWN |
| lad:E1271 | lad:basis-FC | 2025-10-15 | lad:action-AF | A- | lad:outlook-NEG | |
| lad:E1282 | lad:basis-FC | 2024-03-20 | lad:action-AF | BB+ | lad:outlook-NEG | |
| lad:E1294 | lad:basis-FC | 2026-07-11 | lad:action-DG | A+ | lad:outlook-NEG | |
| lad:E1297 | lad:basis-FC | 2026-09-01 | lad:action-RW | BBB | | lad:watch-RWN |
| lad:E1300 | lad:basis-FC | 2026-05-06 | lad:action-DG | BBB | lad:outlook-NEG | |
| lad:E1314 | lad:basis-FC | 2024-06-26 | lad:action-RW | BBB | | lad:watch-RWN |
| lad:E1317 | lad:basis-FC | 2024-09-11 | lad:action-RW | BB | | lad:watch-RWN |
| lad:E1323 | lad:basis-FC | 2025-01-06 | lad:action-RW | AA- | | lad:watch-RWN |
(9 more rows not shown)
Run more queries, or give the final answers.The model
```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?t ?s ?lei ?d ?r WHERE {
?a lad:ratedThing ?t; lad:ratingType lad:type-LTIDR; lad:date ?d; lad:action lad:action-DG; lad:rating ?r .
?t lad:sourceSystem ?s . OPTIONAL{?t lad:lei ?lei}
FILTER(?s!="QA" && ?d>="2026-01-01"^^<http://www.w3.org/2001/XMLSchema#date> && ?d<="2026-12-31"^^<http://www.w3.org/2001/XMLSchema#date>)
} ORDER BY ?lei ?t
```
```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?t ?s ?ty ?d ?act ?r WHERE {
?a0 lad:ratedThing ?t; lad:rating ?r0 . FILTER(?r0 IN ("RD","D"))
?a lad:ratedThing ?t; lad:ratingType ?ty; lad:date ?d; lad:action ?act; lad:rating ?r .
?t lad:sourceSystem ?s .
} ORDER BY ?t ?ty ?d
```
```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?k (GROUP_CONCAT(DISTINCT STR(?t);separator=",") AS ?ts) (SUM(IF(?r!="WD",1,0)) AS ?live) WHERE {
{ SELECT ?k ?b (MAX(?d) AS ?md) WHERE {
?a lad:ratedThing ?t; lad:ratingType lad:type-LTIDR; lad:date ?d; lad:ccyBasis ?b .
?t lad:sourceSystem ?s . FILTER(?s!="QA") OPTIONAL{?t lad:lei ?l} BIND(COALESCE(?l,STR(?t)) AS ?k)
FILTER(?d<="2026-10-01"^^<http://www.w3.org/2001/XMLSchema#date>)
} GROUP BY ?k ?b }
?a2 lad:ratedThing ?t; lad:ratingType lad:type-LTIDR; lad:date ?md; lad:ccyBasis ?b; lad:rating ?r .
?t lad:sourceSystem ?s2 . FILTER(?s2!="QA") OPTIONAL{?t lad:lei ?l2} FILTER(COALESCE(?l2,STR(?t))=?k)
} GROUP BY ?k HAVING (SUM(IF(?r!="WD",1,0))=0)
```
```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT (COUNT(DISTINCT ?k) AS ?n) WHERE {
{ SELECT ?k ?b (MAX(?d) AS ?md) WHERE {
?a lad:ratedThing ?t; lad:ratingType lad:type-LTIDR; lad:date ?d; lad:ccyBasis ?b .
?t lad:sourceSystem ?s . FILTER(?s!="QA") OPTIONAL{?t lad:lei ?l} BIND(COALESCE(?l,STR(?t)) AS ?k)
FILTER(?d<="2026-10-01"^^<http://www.w3.org/2001/XMLSchema#date>)
} GROUP BY ?k ?b }
?a2 lad:ratedThing ?t; lad:ratingType lad:type-LTIDR; lad:date ?md; lad:ccyBasis ?b; lad:rating ?r .
?t lad:sourceSystem ?s2 . FILTER(?s2!="QA" && ?r!="WD") OPTIONAL{?t lad:lei ?l2} FILTER(COALESCE(?l2,STR(?t))=?k)
}
```
```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?k ?b ?r (GROUP_CONCAT(DISTINCT STR(?t);separator=",") AS ?ts) (GROUP_CONCAT(DISTINCT CONCAT(STR(?e),":",?c,":",?es);separator=" ") AS ?recs) WHERE {
{ SELECT ?k ?b (MAX(?d) AS ?md) WHERE {
?a lad:ratedThing ?t; lad:ratingType lad:type-LTIDR; lad:date ?d; lad:ccyBasis ?b .
?t lad:sourceSystem ?s . FILTER(?s!="QA") OPTIONAL{?t lad:lei ?l} BIND(COALESCE(?l,STR(?t)) AS ?k)
FILTER(?d<="2026-10-01"^^<http://www.w3.org/2001/XMLSchema#date>)
} GROUP BY ?k ?b }
?a2 lad:ratedThing ?t; lad:ratingType lad:type-LTIDR; lad:date ?md; lad:ccyBasis ?b; lad:rating ?r .
?t lad:sourceSystem ?s2 . FILTER(?s2!="QA" && ?r!="WD") OPTIONAL{?t lad:lei ?l2} FILTER(COALESCE(?l2,STR(?t))=?k)
?e lad:country ?c; lad:sourceSystem ?es . OPTIONAL{?e lad:lei ?l3} FILTER(COALESCE(?l3,STR(?e))=?k)
} GROUP BY ?k ?b ?r HAVING (SUM(IF(?c IN ("GB","CV","VD"),1,0))>0)
```
```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?i ?is ?d ?act ?r WHERE {
?a lad:ratedThing ?i; lad:ratingType lad:type-INST; lad:date ?d; lad:action ?act; lad:rating ?r .
?i lad:issuer ?is . ?is lad:sourceSystem ?s .
FILTER(?d<="2026-10-01"^^<http://www.w3.org/2001/XMLSchema#date> && (?s="QA" || ?act=lad:action-EX || ?r="WD"))
} ORDER BY ?i ?d
```
```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT (COUNT(DISTINCT ?i) AS ?n) (COUNT(DISTINCT IF(?r IN ("AAA","AA+","AA","AA-","A+","A","A-","BBB+","BBB","BBB-"),?i,?x)) AS ?ig) WHERE {
{ SELECT ?i (MAX(?d) AS ?md) WHERE {
?a lad:ratedThing ?i; lad:ratingType lad:type-INST; lad:date ?d; lad:action ?act .
?i lad:issuer ?is . ?is lad:sourceSystem ?s . FILTER(?s!="QA" && ?act!=lad:action-EX)
FILTER(?d<="2026-10-01"^^<http://www.w3.org/2001/XMLSchema#date>)
} GROUP BY ?i }
?a2 lad:ratedThing ?i; lad:ratingType lad:type-INST; lad:date ?md; lad:rating ?r; lad:action ?act2 . FILTER(?r!="WD" && ?act2!=lad:action-EX)
}
```
```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?k ?b ?o ?w ?r (GROUP_CONCAT(DISTINCT STR(?t);separator=",") AS ?ts) WHERE {
{ SELECT ?k ?b (MAX(?d) AS ?md) WHERE {
?a lad:ratedThing ?t; lad:ratingType lad:type-LTIDR; lad:date ?d; lad:ccyBasis ?b .
?t lad:sourceSystem ?s . FILTER(?s!="QA") OPTIONAL{?t lad:lei ?l} BIND(COALESCE(?l,STR(?t)) AS ?k)
FILTER(?d<="2026-10-01"^^<http://www.w3.org/2001/XMLSchema#date>)
} GROUP BY ?k ?b }
?a2 lad:ratedThing ?t; lad:ratingType lad:type-LTIDR; lad:date ?md; lad:ccyBasis ?b; lad:rating ?r .
OPTIONAL{?a2 lad:outlook ?o} OPTIONAL{?a2 lad:watch ?w}
?t lad:sourceSystem ?s2 . FILTER(?s2!="QA" && ?r!="WD" && (BOUND(?w) || !BOUND(?o) || ?o=lad:outlook-NEG)) OPTIONAL{?t lad:lei ?l2} FILTER(COALESCE(?l2,STR(?t))=?k)
} GROUP BY ?k ?b ?o ?w ?r
```Query results
Query 1:
| t | s | lei | d | r |
|---|---|---|---|---|
| lad:E1243 | RATINGS | 2138008SWUJK7JUSMR14 | 2026-01-13 | BB |
| lad:E1057 | RATINGS | 2138009BPHEDKSZHFF68 | 2026-06-25 | BB |
| lad:E1144 | RATINGS | 213800QV7J1EXLC4YX51 | 2026-06-06 | B+ |
| lad:E1263 | RATINGS | 213800TWNH19JCPPPE80 | 2026-03-03 | BBB |
| lad:E1263 | RATINGS | 213800TWNH19JCPPPE80 | 2026-06-16 | BBB- |
| lad:E1159 | RATINGS | 213800VMJXKPLM9ZIL74 | 2026-06-16 | BBB+ |
| lad:E1064 | RATINGS | 213800YPXA4OJXD8EB91 | 2026-03-04 | BBB+ |
| lad:E1285 | RATINGS | 391200J1XGI3MNYV2584 | 2026-02-17 | A |
| lad:E10 | RATINGS | 391200QYPVFF2O9K2039 | 2026-04-15 | BBB+ |
| lad:E1294 | RATINGS | 391200WPOJY9F1NTH725 | 2026-07-11 | A+ |
| lad:E1300 | RATINGS | 391200Z1OH1HXMHTW971 | 2026-04-09 | BBB+ |
| lad:E1300 | RATINGS | 391200Z1OH1HXMHTW971 | 2026-05-06 | BBB |
| lad:E1167 | RATINGS | 5493000NGCMTDC4BZ653 | 2026-09-07 | BB |
| lad:E1053 | RATINGS | 5493001E7O9QDD98PV36 | 2026-03-20 | BB |
| lad:E1290 | RATINGS | 5493005YGBG4Z7ZGH950 | 2026-08-16 | B |
| lad:E1213 | RATINGS | 549300A64I73OEIC4R87 | 2026-02-13 | A- |
| lad:E1213 | RATINGS | 549300A64I73OEIC4R87 | 2026-06-16 | BBB+ |
| lad:E1229 | RATINGS | 549300GJM0MMFEH84V77 | 2026-06-02 | BB+ |
| lad:E1229 | RATINGS | 549300GJM0MMFEH84V77 | 2026-05-06 | BB |
| lad:E1186 | RATINGS | 549300OCOVKZOF4FO259 | 2026-01-04 | BBB+ |
| lad:E1163 | RATINGS | 549300SBMAQCEKT3IC98 | 2026-03-19 | BB+ |
| lad:E1151 | RATINGS | 549300XHVH0VBXX4D156 | 2026-01-26 | BBB |
| lad:E1170 | RESEARCH | 549300XV49ES64RGNQ00 | 2026-08-16 | BB- |
| lad:E1255 | RATINGS | 7245002EC45UEUXQJA30 | 2026-01-19 | BBB+ |
| lad:E1228 | RATINGS | 724500JFK718P3DNW233 | 2026-06-28 | BB+ |
| lad:E1051 | RATINGS | 724500WO4TZY2027IZ62 | 2026-04-05 | A+ |
| lad:E1051 | RATINGS | 724500WO4TZY2027IZ62 | 2026-06-01 | A+ |
| lad:E1034 | RATINGS | 815600KLV84WAQGPSX27 | 2026-05-02 | BBB+ |
| lad:E1299 | RESEARCH | 815600RCZP0ISY44E024 | 2026-02-06 | BBB |
| lad:E1080 | RATINGS | 815600SERWD64UWU8808 | 2026-02-14 | A- |
| lad:E1307 | RATINGS | 969500CNC5SOCN5K2N29 | 2026-02-08 | BB- |
| lad:E1093 | RATINGS | 969500IYLWO8RRIOIL83 | 2026-07-25 | B |
| lad:E08 | RATINGS | 969500KOTZ1JFIZSG796 | 2026-01-20 | CCC |
| lad:E08 | RATINGS | 969500KOTZ1JFIZSG796 | 2026-07-08 | RD |
| lad:E1161 | RESEARCH | 969500PM41NS2PBZU440 | 2026-07-28 | B |
| lad:E1112 | RATINGS | 969500QJ1AV6AZJSB088 | 2026-02-20 | BBB |
| lad:E1058 | RATINGS | 969500Y1Y66M1421WE10 | 2026-07-14 | BBB- |
Query 2:
| t | s | ty | d | act | r |
|---|---|---|---|---|---|
| lad:E08 | RATINGS | lad:type-LTIDR | 2024-06-01 | lad:action-AS | B |
| lad:E08 | RATINGS | lad:type-LTIDR | 2026-01-20 | lad:action-DG | CCC |
| lad:E08 | RATINGS | lad:type-LTIDR | 2026-07-08 | lad:action-DG | RD |
Query 3:
| k | ts | live |
|---|---|---|
| 3912003R00FP6CNV6210 | https://example.org/ladder/E1002 | 0 |
| 815600N2UAHQREHHWF76 | https://example.org/ladder/E1007 | 0 |
| 391200KLG6G4KVIMIU52 | https://example.org/ladder/E1021 | 0 |
| 2138006H9XCYN2P1K228 | https://example.org/ladder/E1032 | 0 |
| 549300JU1O5MP1HSKQ01 | https://example.org/ladder/E1041 | 0 |
| 9695000T21G05UQMGF10 | https://example.org/ladder/E1048 | 0 |
| 2138009BPHEDKSZHFF68 | https://example.org/ladder/E1057 | 0 |
| 549300QT2LSIX31F9O17 | https://example.org/ladder/E1062 | 0 |
| 9695003FBHLB9KIKNT76 | https://example.org/ladder/E1063 | 0 |
| 724500R7NQF1BMLIW829 | https://example.org/ladder/E1076 | 0 |
| 391200MB5QFXCD5X8I15 | https://example.org/ladder/E1084 | 0 |
| 39120035C3L494GPV335 | https://example.org/ladder/E1107 | 0 |
| 815600MZAUY1OCZWJF49 | https://example.org/ladder/E1121 | 0 |
| 815600NAKDQJ2L7WWJ01 | https://example.org/ladder/E1124 | 0 |
| 724500BSV4X2J7KUR535 | https://example.org/ladder/E1138 | 0 |
| 391200IBY0WQGAT3R586 | https://example.org/ladder/E1140 | 0 |
| 391200428FS1WJP3AG75 | https://example.org/ladder/E1155 | 0 |
| 213800VMJXKPLM9ZIL74 | https://example.org/ladder/E1159 | 0 |
| 8156008Z86BWAKVE7I73 | https://example.org/ladder/E1166 | 0 |
| 549300F5R74KW6K96H13 | https://example.org/ladder/E1172 | 0 |
| 724500L96DLBJOLSDZ06 | https://example.org/ladder/E1200 | 0 |
| 391200H4MC1UG4HGZY09 | https://example.org/ladder/E1205 | 0 |
| 815600IJD373PYH08A24 | https://example.org/ladder/E1206 | 0 |
| 9695003B8HVZN6WVB082 | https://example.org/ladder/E1218 | 0 |
| 815600YLA1GXMHYMXP16 | https://example.org/ladder/E1219 | 0 |
| 724500AXGCJXTB1DVL94 | https://example.org/ladder/E1225 | 0 |
| 3912001DEUC7UPZYE471 | https://example.org/ladder/E1233 | 0 |
| 815600HZK0IK4Q5GF769 | https://example.org/ladder/E1234 | 0 |
| 969500SQSSYT8HOYOP58 | https://example.org/ladder/E1244 | 0 |
| 969500QXEZ0NSV6EIW69 | https://example.org/ladder/E1254 | 0 |
| 391200922SWGGGCXM514 | https://example.org/ladder/E1277 | 0 |
| 549300IGMPC8HEIKND87 | https://example.org/ladder/E1308 | 0 |
| 2138005XQUSYXQWKHP15 | https://example.org/ladder/E1316 | 0 |
| 549300P8CEPUO96H4Y59 | https://example.org/ladder/E1320 | 0 |
| 969500B6IUACELPI2291 | https://example.org/ladder/E07 | 0 |
Query 4:
| n |
|---|
| 278 |
Query 5:
| k | b | r | ts | recs |
|---|---|---|---|---|
| 7245002OOPBG04092E43 | lad:basis-FC | BBB | https://example.org/ladder/E01 | https://example.org/ladder/E01:GB:RATINGS |
| 213800PHEIYNJMHTDV74 | lad:basis-FC | A | https://example.org/ladder/E03 | https://example.org/ladder/E02:GB:RATINGS https://example.org/ladder/E03:GB:RESEARCH |
| 3912009W4J483WB8PZ97 | lad:basis-FC | A | https://example.org/ladder/E1003 | https://example.org/ladder/E1003:GB:RATINGS |
| 213800RPNJ2OSQ387M40 | lad:basis-FC | BBB- | https://example.org/ladder/E1008 | https://example.org/ladder/E1008:GB:RATINGS |
| 391200GSFO0F68KKUC67 | lad:basis-FC | BB+ | https://example.org/ladder/E1019 | https://example.org/ladder/E1019:CV:RATINGS |
| 391200GSFO0F68KKUC67 | lad:basis-LC | BBB- | https://example.org/ladder/E1019 | https://example.org/ladder/E1019:CV:RATINGS |
| 3912006FHXTH5V6WNK07 | lad:basis-FC | BBB | https://example.org/ladder/E1023 | https://example.org/ladder/E1023:GB:RATINGS |
| 213800TJ32NARU0BI982 | lad:basis-FC | BB | https://example.org/ladder/E1028 | https://example.org/ladder/E1028:VD:RATINGS |
| 213800TJ32NARU0BI982 | lad:basis-LC | BBB | https://example.org/ladder/E1028 | https://example.org/ladder/E1028:VD:RATINGS |
| 969500HA9D5I7F73PW83 | lad:basis-FC | A | https://example.org/ladder/E1039 | https://example.org/ladder/E1039:CV:RATINGS |
| 969500HA9D5I7F73PW83 | lad:basis-LC | AA- | https://example.org/ladder/E1039 | https://example.org/ladder/E1039:CV:RATINGS |
| 5493007IVTPIWJZLFF29 | lad:basis-FC | BBB- | https://example.org/ladder/E1043 | https://example.org/ladder/E1043:GB:RATINGS |
| 391200WGA8OE30KZUD08 | lad:basis-FC | BBB- | https://example.org/ladder/E1047 | https://example.org/ladder/E1047:GB:RATINGS |
| 391200R2EH7FELZFOV27 | lad:basis-FC | BBB- | https://example.org/ladder/E1049 | https://example.org/ladder/E1049:GB:RATINGS |
| 724500WWWM8KJ2Q08398 | lad:basis-FC | BBB- | https://example.org/ladder/E1055 | https://example.org/ladder/E1055:GB:RATINGS |
| 549300CRXZL5I1OT6L14 | lad:basis-FC | BB- | https://example.org/ladder/E1060 | https://example.org/ladder/E1059:CV:RATINGS https://example.org/ladder/E1060:CV:RESEARCH |
| 549300CRXZL5I1OT6L14 | lad:basis-LC | BB- | https://example.org/ladder/E1059 | https://example.org/ladder/E1059:CV:RATINGS https://example.org/ladder/E1060:CV:RESEARCH |
| 213800HFIA87YIFJMK56 | lad:basis-FC | A+ | https://example.org/ladder/E1070 | https://example.org/ladder/E1070:GB:RATINGS |
| 213800CG5LUFZKTQXL65 | lad:basis-FC | B+ | https://example.org/ladder/E1071 | https://example.org/ladder/E1071:CV:RATINGS |
| 969500W1RDU3ZPX1YB94 | lad:basis-FC | BB- | https://example.org/ladder/E1072 | https://example.org/ladder/E1072:GB:RATINGS |
| 3912006TI0YGHZXX0R89 | lad:basis-FC | A+ | https://example.org/ladder/E1074 | https://example.org/ladder/E1074:GB:RATINGS |
| 5493000MDIWO1KHI0272 | lad:basis-FC | BB+ | https://example.org/ladder/E1079 | https://example.org/ladder/E1079:GB:RATINGS |
| 213800OK3464E1I8MT49 | lad:basis-FC | BBB | https://example.org/ladder/E1083 | https://example.org/ladder/E1083:GB:RATINGS |
| 969500IYLWO8RRIOIL83 | lad:basis-FC | B | https://example.org/ladder/E1093 | https://example.org/ladder/E1093:GB:RATINGS |
| 969500RR7OZYXQG3H145 | lad:basis-FC | BBB+ | https://example.org/ladder/E1094 | https://example.org/ladder/E1094:GB:RATINGS |
| 549300NTCTGRKRYIAN83 | lad:basis-FC | BBB | https://example.org/ladder/E1096 | https://example.org/ladder/E1097:CV:RESEARCH https://example.org/ladder/E1096:CV:RATINGS |
| 549300NTCTGRKRYIAN83 | lad:basis-LC | BBB+ | https://example.org/ladder/E1096 | https://example.org/ladder/E1097:CV:RESEARCH https://example.org/ladder/E1096:CV:RATINGS |
| 815600YUVYKAXDN9LE93 | lad:basis-FC | BB | https://example.org/ladder/E1101 | https://example.org/ladder/E1101:VD:RATINGS |
| 815600YUVYKAXDN9LE93 | lad:basis-LC | BB+ | https://example.org/ladder/E1101 | https://example.org/ladder/E1101:VD:RATINGS |
| 724500MTRZ5RNJAKRB00 | lad:basis-FC | B+ | https://example.org/ladder/E1106 | https://example.org/ladder/E1106:VD:RATINGS |
| 213800VNSK3FDUWI9Q67 | lad:basis-FC | BB | https://example.org/ladder/E1114 | https://example.org/ladder/E1114:GB:RATINGS |
| 724500MTPRXFHT68GB84 | lad:basis-FC | AA- | https://example.org/ladder/E1115 | https://example.org/ladder/E1115:GB:RATINGS |
| 391200JN4T4KY2HCRU75 | lad:basis-FC | A+ | https://example.org/ladder/E1117 | https://example.org/ladder/E1116:GB:RATINGS https://example.org/ladder/E1117:GB:RESEARCH |
| 391200ACJQ1TIF3U6I69 | lad:basis-FC | BB- | https://example.org/ladder/E1122 | https://example.org/ladder/E1122:GB:RATINGS |
| 815600M9GYQA4WWV6W37 | lad:basis-FC | BB- | https://example.org/ladder/E1123 | https://example.org/ladder/E1123:GB:RATINGS |
| 213800QG4ZGLWRUBIQ31 | lad:basis-FC | BB | https://example.org/ladder/E1126 | https://example.org/ladder/E1126:VD:RATINGS |
| 213800QG4ZGLWRUBIQ31 | lad:basis-LC | BBB- | https://example.org/ladder/E1126 | https://example.org/ladder/E1126:VD:RATINGS |
| 9695008ZNRDSQ5T1SG98 | lad:basis-FC | AA- | https://example.org/ladder/E1128 | https://example.org/ladder/E1128:GB:RATINGS |
| 549300C138N2A3615Y70 | lad:basis-FC | A | https://example.org/ladder/E1135 | https://example.org/ladder/E1135:GB:RATINGS |
| 391200C93222W97BIT34 | lad:basis-FC | A- | https://example.org/ladder/E1136 | https://example.org/ladder/E1136:CV:RATINGS |
| 391200W47D7VYX9MFZ96 | lad:basis-FC | AA- | https://example.org/ladder/E1141 | https://example.org/ladder/E1141:GB:RATINGS |
| 391200LESH03LMOY2U61 | lad:basis-LC | BBB- | https://example.org/ladder/E05 | https://example.org/ladder/E05:VD:RATINGS |
| 213800QV7J1EXLC4YX51 | lad:basis-FC | B+ | https://example.org/ladder/E1144 | https://example.org/ladder/E1144:CV:RATINGS |
| 213800QV7J1EXLC4YX51 | lad:basis-LC | BB- | https://example.org/ladder/E1144 | https://example.org/ladder/E1144:CV:RATINGS |
| 549300E50JHDJNBUGF22 | lad:basis-FC | BB- | https://example.org/ladder/E1153 | https://example.org/ladder/E1153:GB:RESEARCH https://example.org/ladder/E1152:GB:RATINGS |
| 549300XV49ES64RGNQ00 | lad:basis-FC | BB- | https://example.org/ladder/E1170 | https://example.org/ladder/E1170:GB:RESEARCH https://example.org/ladder/E1169:GB:RATINGS |
| 8156009KMEPDX5HOT275 | lad:basis-FC | B+ | https://example.org/ladder/E1176 | https://example.org/ladder/E1176:GB:RATINGS |
| 213800OE6A1LJDGIKA27 | lad:basis-FC | BBB | https://example.org/ladder/E1178 | https://example.org/ladder/E1178:GB:RATINGS |
| 96950015W720OD9VIA28 | lad:basis-FC | A | https://example.org/ladder/E1183 | https://example.org/ladder/E1183:GB:RATINGS |
| 549300FC2Z3B4E5GEQ28 | lad:basis-FC | BB- | https://example.org/ladder/E1184 | https://example.org/ladder/E1184:GB:RATINGS |
| 724500H78R8WU6K0T524 | lad:basis-FC | BB+ | https://example.org/ladder/E1185 | https://example.org/ladder/E1185:CV:RATINGS |
| 391200LESH03LMOY2U61 | lad:basis-FC | BB | https://example.org/ladder/E05 | https://example.org/ladder/E05:VD:RATINGS |
| 549300EK7E9K0SBA9583 | lad:basis-FC | BBB+ | https://example.org/ladder/E1189 | https://example.org/ladder/E1189:GB:RATINGS |
| 549300ENXJ8RIUXUHZ80 | lad:basis-FC | BBB | https://example.org/ladder/E1190 | https://example.org/ladder/E1190:GB:RATINGS |
| 815600XCZ1DW0R3UPV62 | lad:basis-FC | BB | https://example.org/ladder/E1193 | https://example.org/ladder/E1193:GB:RATINGS |
| 815600GVTRTKVHG8BO41 | lad:basis-FC | A | https://example.org/ladder/E1194 | https://example.org/ladder/E1194:CV:RATINGS |
| 815600GVTRTKVHG8BO41 | lad:basis-LC | A | https://example.org/ladder/E1194 | https://example.org/ladder/E1194:CV:RATINGS |
| 5493006Q9GZQ3SSPKD32 | lad:basis-FC | A+ | https://example.org/ladder/E1195 | https://example.org/ladder/E1195:GB:RATINGS |
| 815600TWQWCHVZCRGX36 | lad:basis-FC | A- | https://example.org/ladder/E1196 | https://example.org/ladder/E1196:GB:RATINGS |
| 8156000IN4HMEEM2ON82 | lad:basis-FC | A- | https://example.org/ladder/E1197 | https://example.org/ladder/E1197:GB:RATINGS |
(50 more rows not shown)
Query 6:
| i | is | d | act | r |
|---|---|---|---|---|
| lad:I08 | lad:E15 | 2026-09-01 | lad:action-EX | A |
| lad:I1008 | lad:E1016 | 2026-05-23 | lad:action-EX | B+ |
| lad:I1012 | lad:E1023 | 2026-07-22 | lad:action-EX | A- |
| lad:I1021 | lad:E1056 | 2026-09-18 | lad:action-EX | AA- |
| lad:I1046 | lad:E1160 | 2026-05-18 | lad:action-EX | B+ |
| lad:I1049 | lad:E1166 | 2026-03-17 | lad:action-EX | BB- |
Query 7:
| n | ig |
|---|---|
| 106 | 106 |
Query 8:
| k | b | o | w | r | ts |
|---|---|---|---|---|---|
| 7245002OOPBG04092E43 | lad:basis-FC | lad:outlook-NEG | | BBB | https://example.org/ladder/E01 |
| 815600JRN7AOE36KFR35 | lad:basis-FC | lad:outlook-NEG | | BB | https://example.org/ladder/E1005 |
| 213800WSVEOAQ5HD4C43 | lad:basis-FC | | lad:watch-RWN | AA | https://example.org/ladder/E1006 |
| 969500U072SAPPW32N81 | lad:basis-FC | | lad:watch-RWN | BB- | https://example.org/ladder/E1013 |
| 391200GSFO0F68KKUC67 | lad:basis-LC | | lad:watch-RWN | BBB- | https://example.org/ladder/E1019 |
| 8156008DPX4I9DNKWN26 | lad:basis-FC | lad:outlook-NEG | | A- | https://example.org/ladder/E1029 |
| 815600KLV84WAQGPSX27 | lad:basis-FC | lad:outlook-NEG | | BBB+ | https://example.org/ladder/E1034 |
| 391200OBAXI8590VQN12 | lad:basis-FC | | lad:watch-RWN | A | https://example.org/ladder/E1037 |
| 969500HA9D5I7F73PW83 | lad:basis-FC | | lad:watch-RWN | A | https://example.org/ladder/E1039 |
| 549300ZM08IADSAK3L87 | lad:basis-FC | lad:outlook-NEG | | AA- | https://example.org/ladder/E1046 |
| 724500WWWM8KJ2Q08398 | lad:basis-FC | lad:outlook-NEG | | BBB- | https://example.org/ladder/E1055 |
| 969500DMA3PCFLMC4U98 | lad:basis-FC | lad:outlook-NEG | | A+ | https://example.org/ladder/E1056 |
| 549300CRXZL5I1OT6L14 | lad:basis-FC | lad:outlook-NEG | | BB- | https://example.org/ladder/E1060 |
| 549300CRXZL5I1OT6L14 | lad:basis-LC | | lad:watch-RWN | BB- | https://example.org/ladder/E1059 |
| 5493002BLV266QJVIH90 | lad:basis-FC | | lad:watch-RWN | A | https://example.org/ladder/E1061 |
| 213800YPXA4OJXD8EB91 | lad:basis-FC | lad:outlook-NEG | | A- | https://example.org/ladder/E1064 |
| 213800VQSNQ2434DKS91 | lad:basis-FC | | lad:watch-RWN | A- | https://example.org/ladder/E1066 |
| 969500W1RDU3ZPX1YB94 | lad:basis-FC | lad:outlook-NEG | | BB- | https://example.org/ladder/E1072 |
| 5493000MDIWO1KHI0272 | lad:basis-FC | lad:outlook-NEG | | BB+ | https://example.org/ladder/E1079 |
| 815600SERWD64UWU8808 | lad:basis-FC | lad:outlook-NEG | | A- | https://example.org/ladder/E1080 |
| 549300GS8TRRRJCSVZ45 | lad:basis-FC | | lad:watch-RWN | B+ | https://example.org/ladder/E1088 |
| 724500HD5AQ2MDSXXU69 | lad:basis-FC | | lad:watch-RWN | BBB- | https://example.org/ladder/E1098 |
| 213800XQVJ5IKNNVXY16 | lad:basis-FC | | lad:watch-RWN | BB+ | https://example.org/ladder/E1099 |
| 3912002RB0IGZZN6RN49 | lad:basis-FC | lad:outlook-NEG | | A+ | https://example.org/ladder/E1105 |
| 815600379XSXXQR72R46 | lad:basis-FC | | lad:watch-RWN | A+ | https://example.org/ladder/E1109 |
| 969500ZM445IDEYHCL85 | lad:basis-FC | lad:outlook-NEG | | BB+ | https://example.org/ladder/E1118 |
| 213800QG4ZGLWRUBIQ31 | lad:basis-FC | | lad:watch-RWN | BB | https://example.org/ladder/E1126 |
| 549300WSZI986L1XA988 | lad:basis-FC | | lad:watch-RWN | B+ | https://example.org/ladder/E1132 |
| 549300PSORKEO25SHT85 | lad:basis-FC | | lad:watch-RWN | B+ | https://example.org/ladder/E1133 |
| 7245008Y7HAJI3ZSJK12 | lad:basis-FC | | lad:watch-RWN | BB | https://example.org/ladder/E1146 |
| 9695008UP74QEOJ3KW74 | lad:basis-FC | lad:outlook-NEG | | BBB | https://example.org/ladder/E1158 |
| 969500PM41NS2PBZU440 | lad:basis-FC | lad:outlook-NEG | | B | https://example.org/ladder/E1161 |
| 549300N9NKGSRIO34Y39 | lad:basis-FC | | lad:watch-RWN | BBB- | https://example.org/ladder/E1168 |
| 3912006PQEEWVJETOG62 | lad:basis-FC | | lad:watch-RWN | A- | https://example.org/ladder/E1181 |
| 815600O0Y6S2CPCDAA82 | lad:basis-FC | lad:outlook-NEG | | BB- | https://example.org/ladder/E1188 |
| 549300ENXJ8RIUXUHZ80 | lad:basis-FC | lad:outlook-NEG | | BBB | https://example.org/ladder/E1190 |
| 815600GVTRTKVHG8BO41 | lad:basis-FC | | lad:watch-RWN | A | https://example.org/ladder/E1194 |
| 724500W08E6JP9P9NC97 | lad:basis-FC | | lad:watch-RWN | BBB+ | https://example.org/ladder/E1203 |
| 549300HWTXXHJP2HKU38 | lad:basis-FC | | lad:watch-RWN | BB | https://example.org/ladder/E1210 |
| 2138006JVQYZA2IAU357 | lad:basis-FC | lad:outlook-NEG | | BBB- | https://example.org/ladder/E1211 |
| 724500JFK718P3DNW233 | lad:basis-FC | lad:outlook-NEG | | BB+ | https://example.org/ladder/E1228 |
| 5493004IM0PRT8BSDK29 | lad:basis-FC | | lad:watch-RWN | AA- | https://example.org/ladder/E1238 |
| 213800VNDQV0VN6FVU72 | lad:basis-FC | | lad:watch-RWN | BBB | https://example.org/ladder/E1242 |
| 213800XN4WOS9M0UP985 | lad:basis-FC | lad:outlook-NEG | | A- | https://example.org/ladder/E1248 |
| 969500D8VQO3X7NDHQ76 | lad:basis-FC | | lad:watch-RWN | BBB- | https://example.org/ladder/E1260 |
| 549300H1N0EQEAZLE362 | lad:basis-FC | lad:outlook-NEG | | B+ | https://example.org/ladder/E1262 |
| 213800TWNH19JCPPPE80 | lad:basis-FC | lad:outlook-NEG | | BBB- | https://example.org/ladder/E1263 |
| 549300HH75F3NXLKV336 | lad:basis-FC | | lad:watch-RWN | B+ | https://example.org/ladder/E1264 |
| 724500CD625Q9LIJG838 | lad:basis-FC | | lad:watch-RWN | BBB | https://example.org/ladder/E1266 |
| 8156006G7EEYC0O0U554 | lad:basis-FC | | lad:watch-RWN | A- | https://example.org/ladder/E1267 |
| 213800M91M3NKSWT8K97 | lad:basis-FC | lad:outlook-NEG | | A- | https://example.org/ladder/E1271 |
| 724500GZZJO3VTZ5OY05 | lad:basis-FC | lad:outlook-NEG | | BB+ | https://example.org/ladder/E1282 |
| 549300AMVE3VRVG7HK43 | lad:basis-FC | | lad:watch-RWN | A- | https://example.org/ladder/E06 |
| 391200WPOJY9F1NTH725 | lad:basis-FC | lad:outlook-NEG | | A+ | https://example.org/ladder/E1294 |
| 7245002QMS1HJ8LWKI72 | lad:basis-FC | | lad:watch-RWN | BBB | https://example.org/ladder/E1297 |
| 391200Z1OH1HXMHTW971 | lad:basis-FC | lad:outlook-NEG | | BBB | https://example.org/ladder/E1300 |
| 815600VWY9ZIH3XVHE31 | lad:basis-FC | | lad:watch-RWN | BBB | https://example.org/ladder/E1314 |
| 391200YYRT4OCYJBQT44 | lad:basis-FC | | lad:watch-RWN | BB | https://example.org/ladder/E1317 |
| 9695000MJJR7IQP71F01 | lad:basis-FC | | lad:watch-RWN | AA- | https://example.org/ladder/E1323 |
| 969500KOTZ1JFIZSG796 | lad:basis-FC | | | RD | https://example.org/ladder/E08 |
(1 more rows not shown)
Run more queries, or give the final answers.The model
```sparql
PREFIX lad: <https://example.org/ladder/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT ?kind (GROUP_CONCAT(DISTINCT REPLACE(STR(?t),".*/","");separator=",") AS ?ids) WHERE {
{ SELECT ?k ?b (MAX(?d) AS ?md) WHERE {
?a lad:ratedThing ?t; lad:ratingType lad:type-LTIDR; lad:date ?d; lad:ccyBasis ?b .
?t lad:sourceSystem ?s . FILTER(?s!="QA") OPTIONAL{?t lad:lei ?l} BIND(COALESCE(?l,STR(?t)) AS ?k)
FILTER(?d<="2026-10-01"^^xsd:date)
} GROUP BY ?k ?b }
?a2 lad:ratedThing ?t; lad:ratingType lad:type-LTIDR; lad:date ?md; lad:ccyBasis ?b; lad:rating ?r .
OPTIONAL{?a2 lad:outlook ?o} OPTIONAL{?a2 lad:watch ?w}
?t lad:sourceSystem ?s2 . FILTER(?s2!="QA" && ?r!="WD") OPTIONAL{?t lad:lei ?l2} FILTER(COALESCE(?l2,STR(?t))=?k)
BIND(IF(BOUND(?w),"watch",IF(BOUND(?o)&&?o=lad:outlook-NEG,"neg","x")) AS ?kind) FILTER(?kind!="x")
} GROUP BY ?kind
```
```sparql
PREFIX lad: <https://example.org/ladder/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT (COUNT(DISTINCT ?i) AS ?ig) WHERE {
{ SELECT ?i (MAX(?d) AS ?md) WHERE {
?a lad:ratedThing ?i; lad:ratingType lad:type-INST; lad:date ?d; lad:action ?act .
?i lad:issuer ?is . ?is lad:sourceSystem ?s . FILTER(?s!="QA" && ?act!=lad:action-EX)
FILTER(?d<="2026-10-01"^^xsd:date)
} GROUP BY ?i }
?a2 lad:ratedThing ?i; lad:ratingType lad:type-INST; lad:date ?md; lad:rating ?r; lad:action ?act2 .
FILTER(?act2!=lad:action-EX && ?r IN ("AAA","AA+","AA","AA-","A+","A","A-","BBB+","BBB","BBB-"))
}
```
```sparql
PREFIX lad: <https://example.org/ladder/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT ?k ?r (GROUP_CONCAT(DISTINCT CONCAT(REPLACE(STR(?e),".*/",""),":",?c,":",?es);separator=" ") AS ?recs) WHERE {
{ SELECT ?k ?b (MAX(?d) AS ?md) WHERE {
?a lad:ratedThing ?t; lad:ratingType lad:type-LTIDR; lad:date ?d; lad:ccyBasis ?b .
?t lad:sourceSystem ?s . FILTER(?s!="QA") OPTIONAL{?t lad:lei ?l} BIND(COALESCE(?l,STR(?t)) AS ?k)
FILTER(?d<="2026-10-01"^^xsd:date)
} GROUP BY ?k ?b }
FILTER(?b=lad:basis-FC)
?a2 lad:ratedThing ?t; lad:ratingType lad:type-LTIDR; lad:date ?md; lad:ccyBasis ?b; lad:rating ?r .
?t lad:sourceSystem ?s2 . FILTER(?s2!="QA" && ?r!="WD") OPTIONAL{?t lad:lei ?l2} FILTER(COALESCE(?l2,STR(?t))=?k)
?e lad:country ?c; lad:sourceSystem ?es . OPTIONAL{?e lad:lei ?l3} FILTER(COALESCE(?l3,STR(?e))=?k)
} GROUP BY ?k ?r HAVING (SUM(IF(?c IN ("CV","VD"),1,0))>0)
```
```sparql
PREFIX lad: <https://example.org/ladder/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT (COUNT(*) AS ?n) WHERE {
SELECT ?k WHERE {
{ SELECT ?k ?b (MAX(?d) AS ?md) WHERE {
?a lad:ratedThing ?t; lad:ratingType lad:type-LTIDR; lad:date ?d; lad:ccyBasis ?b .
?t lad:sourceSystem ?s . FILTER(?s!="QA") OPTIONAL{?t lad:lei ?l} BIND(COALESCE(?l,STR(?t)) AS ?k)
FILTER(?d<="2026-10-01"^^xsd:date)
} GROUP BY ?k ?b }
?a2 lad:ratedThing ?t; lad:ratingType lad:type-LTIDR; lad:date ?md; lad:ccyBasis ?b; lad:rating ?r .
?t lad:sourceSystem ?s2 . FILTER(?s2!="QA" && ?r!="WD") OPTIONAL{?t lad:lei ?l2} FILTER(COALESCE(?l2,STR(?t))=?k)
?e lad:country ?c; lad:sourceSystem ?es . OPTIONAL{?e lad:lei ?l3} FILTER(COALESCE(?l3,STR(?e))=?k)
} GROUP BY ?k HAVING (MAX(IF(?es="RESEARCH",?c,""))="GB" || (MAX(IF(?es="RESEARCH",?c,""))="" && MAX(IF(?es="RATINGS",?c,""))="GB"))
}
```
```sparql
PREFIX lad: <https://example.org/ladder/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT ?k (GROUP_CONCAT(DISTINCT REPLACE(STR(?e),".*/","");separator=",") AS ?recs) WHERE {
{ SELECT ?k ?b (MAX(?d) AS ?md) WHERE {
?a lad:ratedThing ?t; lad:ratingType lad:type-LTIDR; lad:date ?d; lad:ccyBasis ?b .
?t lad:sourceSystem ?s . FILTER(?s!="QA") OPTIONAL{?t lad:lei ?l} BIND(COALESCE(?l,STR(?t)) AS ?k)
FILTER(?d<="2026-10-01"^^xsd:date)
} GROUP BY ?k ?b }
?a2 lad:ratedThing ?t; lad:ratingType lad:type-LTIDR; lad:date ?md; lad:ccyBasis ?b; lad:rating ?r .
?t lad:sourceSystem ?s2 . FILTER(?s2!="QA") OPTIONAL{?t lad:lei ?l2} FILTER(COALESCE(?l2,STR(?t))=?k)
?e lad:sourceSystem "RATINGS" . OPTIONAL{?e lad:lei ?l3} FILTER(COALESCE(?l3,STR(?e))=?k)
} GROUP BY ?k HAVING (SUM(IF(?r!="WD",1,0))=0)
```Query results
Query 1:
| kind | ids |
|---|---|
| neg | E01,E1005,E1029,E1034,E1046,E1055,E1056,E1060,E1064,E1072,E1079,E1080,E1105,E1118,E1158,E1161,E1188,E1190,E1211,E1228,E1248,E1262,E1263,E1271,E1282,E1294,E1300,E09 |
| watch | 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,E06,E1297,E1314,E1317,E1323 |
Query 2:
| ig |
|---|
| 66 |
Query 3:
| k | r | recs |
|---|---|---|
| 391200GSFO0F68KKUC67 | BB+ | E1019:CV:RATINGS |
| 213800TJ32NARU0BI982 | BB | E1028:VD:RATINGS |
| 969500HA9D5I7F73PW83 | A | E1039:CV:RATINGS |
| 549300CRXZL5I1OT6L14 | BB- | E1059:CV:RATINGS E1060:CV:RESEARCH |
| 213800CG5LUFZKTQXL65 | B+ | E1071:CV:RATINGS |
| 549300NTCTGRKRYIAN83 | BBB | E1097:CV:RESEARCH E1096:CV:RATINGS |
| 815600YUVYKAXDN9LE93 | BB | E1101:VD:RATINGS |
| 724500MTRZ5RNJAKRB00 | B+ | E1106:VD:RATINGS |
| 213800QG4ZGLWRUBIQ31 | BB | E1126:VD:RATINGS |
| 391200C93222W97BIT34 | A- | E1136:CV:RATINGS |
| 213800QV7J1EXLC4YX51 | B+ | E1144:CV:RATINGS |
| 724500H78R8WU6K0T524 | BB+ | E1185:CV:RATINGS |
| 391200LESH03LMOY2U61 | BB | E05:VD:RATINGS |
| 815600GVTRTKVHG8BO41 | A | E1194:CV:RATINGS |
| 815600AJPH2BBLTIYW38 | BB- | E1217:CV:RATINGS |
| 549300DESCLQXTLMLJ26 | BB+ | E1223:CV:RATINGS |
| 549300GJM0MMFEH84V77 | BB+ | E1229:CV:RATINGS |
| 3912002FNTE1EKOY9W74 | BB | E1236:VD:RATINGS |
| 2138008SWUJK7JUSMR14 | BB | E1243:CV:RATINGS |
| 815600LRX1P8142NMF42 | B+ | E1245:CV:RATINGS E1246:FR:RESEARCH |
| 724500B6N6CB70KO0R91 | BB | E1283:CV:RATINGS |
| 969500BPQVYYSLHHCK81 | BB | E1304:CV:RATINGS |
| 969500CNC5SOCN5K2N29 | BB- | E1307:VD:RATINGS |
| 213800P5J80HH9LC8L85 | BB- | E1313:VD:RATINGS |
| https://example.org/ladder/CV | BBB+ | CV:CV:RATINGS |
| 213800PBQVHVBBH6GV02 | A | E15:CV:RATINGS |
Query 4:
| n |
|---|
| 66 |
Query 5:
| k | recs |
|---|---|
| 3912003R00FP6CNV6210 | E1001 |
| 815600N2UAHQREHHWF76 | E1007 |
| 391200KLG6G4KVIMIU52 | E1021 |
| 2138006H9XCYN2P1K228 | E1032 |
| 549300JU1O5MP1HSKQ01 | E1041 |
| 9695000T21G05UQMGF10 | E1048 |
| 2138009BPHEDKSZHFF68 | E1057 |
| 549300QT2LSIX31F9O17 | E1062 |
| 9695003FBHLB9KIKNT76 | E1063 |
| 724500R7NQF1BMLIW829 | E1076 |
| 391200MB5QFXCD5X8I15 | E1084 |
| 39120035C3L494GPV335 | E1107 |
| 815600MZAUY1OCZWJF49 | E1121 |
| 815600NAKDQJ2L7WWJ01 | E1124 |
| 724500BSV4X2J7KUR535 | E1138 |
| 391200IBY0WQGAT3R586 | E1140 |
| 391200428FS1WJP3AG75 | E1155 |
| 213800VMJXKPLM9ZIL74 | E1159 |
| 8156008Z86BWAKVE7I73 | E1166 |
| 549300F5R74KW6K96H13 | E1172 |
| 724500L96DLBJOLSDZ06 | E1200 |
| 391200H4MC1UG4HGZY09 | E1205 |
| 815600IJD373PYH08A24 | E1206 |
| 9695003B8HVZN6WVB082 | E1218 |
| 815600YLA1GXMHYMXP16 | E1219 |
| 724500AXGCJXTB1DVL94 | E1225 |
| 3912001DEUC7UPZYE471 | E1233 |
| 815600HZK0IK4Q5GF769 | E1234 |
| 969500SQSSYT8HOYOP58 | E1244 |
| 969500QXEZ0NSV6EIW69 | E1253 |
| 391200922SWGGGCXM514 | E1277 |
| 549300IGMPC8HEIKND87 | E1308 |
| 2138005XQUSYXQWKHP15 | E1316 |
| 549300P8CEPUO96H4Y59 | E1320 |
| 969500B6IUACELPI2291 | E07 |
Run more queries, or give the final answers.The model
**Q1.** A-. E01's only rating before 2025-06-20 was the A- assigned in A01 (2024-03-12).
**Q2.** No. E01's only 2026 action is the affirmation A03, which kept BBB and changed the outlook to Negative.
**Q3.** No, BB+. Instrument I02 is subordinated, and A07 cut it to BB+ on 2025-06-20.
**Q4.** Positive. E02 and E03 share one LEI, so they are one entity. The latest action is A09 (E03, 2025-09-15), which affirmed A with a Positive outlook.
**Q5.** E02, rated A. Instrument I03 is guaranteed by E02, and E02's current issuer rating is A.
**Q6.** Not in the JSON. VD's Country Ceiling is BB (A12) and caps E05's foreign-currency rating at BB. Its local-currency rating (A13) is BBB- and is not capped.
**Q7.** 31 issuers had long-term issuer downgrades in 2026, excluding QA records. E1051 appears twice with DG to A+ both times, so its second action did not change the rating; I counted it anyway because the action is DG.
**Q8.** E08. Its rating became RD on 2026-07-08 (A22), and no other issuer was at RD or D.
**Q9.** 278. This counts distinct LEIs (record ID for sovereigns) whose latest long-term issuer rating on 2026-10-01 was not WD, ignoring QA.
**Q10.** Depends. E05 is BB on foreign currency (speculative) and BBB- on local currency (investment grade).
**Q11.** BBB+. The downgrade A36 (2024-09-30) was the latest action before 2025-06-01.
**Q12.** A-. A34 assigned A- in January 2023, and nothing changed until September 2024.
**Q13.** 1. Only A36 is a DG; the Watch (A35) is not a downgrade.
**Q14.** None. E12 was first rated on 2024-02-01 (A30).
**Q15.** A-. E10 was downgraded to BBB+ only on 2026-04-15 (A27).
**Q16.** No. It was BBB+ on 2025-01-01 and is BBB+ now, and the Watch and affirmation in between did not change it.
**Q17.** No. E06 had only the Rating Watch A17, which is not a downgrade.
**Q18.** 32 issuers were on Rating Watch Negative on 2026-10-01, listed in the JSON. They include E1019 and E1059, whose local-currency ratings are on Watch.
**Q19.** 28 issuers had a Negative outlook on 2026-10-01, listed in the JSON.
**Q20.** No. E07's rating was withdrawn (A19), which is not a default.
**Q21.** 35 entities, listed in the JSON, were rated at some point but had their latest rating withdrawn by 2026-10-01 (E07 among them).
**Q22.** E08 only. It is the only issuer with an RD or D rating.
**Q23.** F2, from A04.
**Q24.** Yes. E01's rating is BBB.
**Q25.** 66. These are instruments of non-QA issuers whose latest rating on 2026-10-01 is BBB- or better, ignoring Expected ratings (EX).
**Q26.** A+, from A40.
**Q27.** A-, from A42.
**Q28.** BBB+, from A38.
**Q29.** None. VD has only a Country Ceiling (A12), which is not an issuer rating.
**Q30.** 8 entities, listed in the JSON. Their foreign-currency ratings equal the ceiling: CV's A (E1039, E1194, E15) or VD's BB (E1028, E1101, E1126, E05, E1236).
**Q31.** No. No foreign-currency rating in CV or VD is above its ceiling (A for CV, BB for VD).
**Q32.** E09. E11's parent is E10, whose parent is E09.
**Q33.** E10, rated BBB+. Instrument I05 is guaranteed by E10, and A27 set E10 to BBB+.
**Q34.** No. E12 has no parent and is not in E09's group.
**Q35.** 3: E09, E10 (E17 is the same entity) and E11.
**Q36.** 2: E02 (E03 is the same entity) and E04.
**Q37.** 331. This counts non-QA records by LEI (record ID for sovereigns, which have none).
**Q38.** No. They have different LEIs.
**Q39.** A. The latest action on E02/E03 is A09.
**Q40.** 66, using the RESEARCH record's country where there is one. This matches the Q25 count by coincidence.
**Q41.** None. E16 is a QA record and must be ignored.
**Q42.** LU. RESEARCH record E17 holds for country, over RATINGS' DE.
**Q43.** 1: E17/E10 is the only LU-domiciled entity.
**Q44.** Yes. I07 pays in XVD, VD's domestic currency.
**Q45.** No. It is BBB- against a BB ceiling, but the ceiling does not apply to local-currency debt.
**Q46.** No. E11 has only a Credit opinion (A46), which is not an issuer rating.
**Q47.** None. I08 has only an Expected rating (A47, EX), so it is unrated.
**Q48.** 106 instruments of non-QA issuers held a non-WD, non-EX rating on 2026-10-01.
```json
{
"Q1":{"rating":"A-"},
"Q2":{"downgraded":"no"},
"Q3":{"investment_grade":"no","rating":"BB+"},
"Q4":{"outlook":"POS"},
"Q5":{"risk_of":"E02","rating":"A"},
"Q7":{"issuers":["E1243","E1057","E1144","E1263","E1159","E1064","E1285","E10","E1294","E1300","E1167","E1053","E1290","E1213","E1229","E1186","E1163","E1151","E1169","E1255","E1228","E1051","E1034","E1298","E1080","E1307","E1093","E08","E1160","E1112","E1058"]},
"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","E06","E1297","E1314","E1317","E1323"]},
"Q19":{"issuers":["E01","E1005","E1029","E1034","E1046","E1055","E1056","E1060","E1064","E1072","E1079","E1080","E1105","E1118","E1158","E1161","E1188","E1190","E1211","E1228","E1248","E1262","E1263","E1271","E1282","E1294","E1300","E09"]},
"Q20":{"in_default":"no"},
"Q21":{"entities":["E1001","E1007","E1021","E1032","E1041","E1048","E1057","E1062","E1063","E1076","E1084","E1107","E1121","E1124","E1138","E1140","E1155","E1159","E1166","E1172","E1200","E1205","E1206","E1218","E1219","E1225","E1233","E1234","E1244","E1253","E1277","E1308","E1316","E1320","E07"]},
"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","E1028","E1101","E1126","E05","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":"LU"},
"Q43":{"count":1},
"Q44":{"local_currency":"yes"},
"Q45":{"above_ceiling":"no"},
"Q46":{"issuer_rating":"no"},
"Q47":{"rating":"none"},
"Q48":{"count":106}
}
```