D5 sparql+ontology, run 2: the query session

← back to the run

29 queries0 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)
- Q49: parent (a record ID)
- Q50: count (a number)
- Q51: count (a number)
- Q52: count (a number)
- Q53: same_group ("yes", "no" or "depends")
- Q54: entities (a list of record IDs)
- Q55: count (a number)
- Q56: rating (a rating, or "none")
- Q57: entity (a record ID)
- Q58: entities (a list of record IDs)
- Q59: count (a number)
- Q60: risk_of (a record ID), same_group ("yes", "no" or "depends")
- Q61: count (a number)

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

| e | name | lei | country | type | parent | src |
|---|---|---|---|---|---|---|
| lad:CV | Republic of Corvenia |  | CV | lad:etype-SOV |  | RATINGS |
| lad:E01 | Kestrel Energy plc | 7245002OOPBG04092E43 | GB | lad:etype-CORP |  | RATINGS |
| lad:E02 | Northwind Holdings plc | 213800PHEIYNJMHTDV74 | GB | lad:etype-CORP |  | RATINGS |
| lad:E03 | NORTHWIND HLDGS | 213800PHEIYNJMHTDV74 | GB | lad:etype-CORP |  | RESEARCH |
| lad:E04 | Northwind Finance BV | 213800LA5RYJLGXV2T85 | NL | lad:etype-FINSUB | lad:E02 | RATINGS |
| lad:E05 | Valdoria Telecom SA | 391200LESH03LMOY2U61 | VD | lad:etype-CORP |  | RATINGS |
| lad:E06 | Orrin Bank AG | 549300AMVE3VRVG7HK43 | DE | lad:etype-BANK |  | RATINGS |
| lad:E07 | Pellam Retail Ltd | 969500B6IUACELPI2291 | GB | lad:etype-CORP |  | RATINGS |
| lad:E08 | Saxby Shipping SA | 969500KOTZ1JFIZSG796 | GR | lad:etype-CORP |  | RATINGS |
| lad:E09 | Halden Group plc | 815600ASM9EHDG931T89 | GB | lad:etype-CORP |  | RATINGS |
| lad:E10 | Halden Bank AG | 391200QYPVFF2O9K2039 | DE | lad:etype-BANK | lad:E09 | RATINGS |
| lad:E1001 | Tunod Steel SA | 3912003R00FP6CNV6210 | FR | lad:etype-CORP |  | RATINGS |
| lad:E1002 | TUNOD STEEL SA | 3912003R00FP6CNV6210 | FR | lad:etype-CORP |  | RESEARCH |
| lad:E1003 | Rilol Telecom plc | 3912009W4J483WB8PZ97 | GB | lad:etype-BANK |  | RATINGS |
| lad:E1004 | Munem Retail SA | 969500IBYK0X2ZT52780 | ES | lad:etype-CORP |  | RATINGS |
| lad:E1005 | Setan Airlines Inc | 815600JRN7AOE36KFR35 | US | lad:etype-CORP |  | RATINGS |
| lad:E1006 | Soson Airlines Inc | 213800WSVEOAQ5HD4C43 | US | lad:etype-CORP | lad:E1005 | RATINGS |
| lad:E1007 | Golod Property plc | 815600N2UAHQREHHWF76 | GB | lad:etype-BANK |  | RATINGS |
| lad:E1008 | Sotil Retail plc | 213800RPNJ2OSQ387M40 | GB | lad:etype-CORP |  | RATINGS |
| lad:E1009 | Malam Chemicals Inc | 3912006EIY6TU9NVSC86 | US | lad:etype-CORP |  | RATINGS |
| lad:E1010 | Buvir Industries Inc | 3912004R2GZJL49URX69 | US | lad:etype-CORP |  | RATINGS |
| lad:E1011 | Falom Media Inc | 549300XX6U9N4Y7KPH74 | US | lad:etype-BANK |  | RATINGS |
| lad:E1012 | Posad Industries SA | 9695002JIQI5QYDN0G98 | FR | lad:etype-CORP |  | RATINGS |
| lad:E1013 | Pisol Pharma BV | 969500U072SAPPW32N81 | NL | lad:etype-BANK | lad:E1004 | RATINGS |
| lad:E1014 | Toral Utilities BV | 391200J700D8T2H18W16 | NL | lad:etype-CORP |  | RATINGS |
| lad:E1015 | Civen Steel Inc | 815600JSNIJ4UFCBF662 | US | lad:etype-CORP |  | RATINGS |
| lad:E1016 | Ponar Telecom SA | 5493008DQ96XI37KZG24 | ES | lad:etype-BANK |  | RATINGS |
| lad:E1017 | Nisid Steel SA | 391200K600X7LWZTTM85 | FR | lad:etype-BANK |  | RATINGS |
| lad:E1018 | Tosem Mining Inc | 549300SEMGL6OXLWHQ59 | US | lad:etype-CORP |  | RATINGS |
| lad:E1019 | Losol Mining SA | 391200GSFO0F68KKUC67 | CV | lad:etype-CORP |  | RATINGS |
| lad:E1020 | Finel Media AG | 549300FCSHHELSCZX562 | DE | lad:etype-CORP |  | RATINGS |
| lad:E1021 | Niner Pharma plc | 391200KLG6G4KVIMIU52 | GB | lad:etype-CORP |  | RATINGS |
| lad:E1022 | NINER PHARMA | 391200KLG6G4KVIMIU52 | GB | lad:etype-CORP |  | RESEARCH |
| lad:E1023 | Heled Water plc | 3912006FHXTH5V6WNK07 | GB | lad:etype-CORP |  | RATINGS |
| lad:E1024 | Susin Shipping BV | 3912005J04HB7X0GTN24 | NL | lad:etype-CORP |  | RATINGS |
| lad:E1025 | Tulol Shipping SA | 2138007MIV2OS05PET94 | ES | lad:etype-BANK |  | RATINGS |
| lad:E1026 | Vunam Water BV | 969500C8XYHXZBFMUO41 | NL | lad:etype-CORP |  | RATINGS |
| lad:E1027 | Tesad Media Inc | 969500T86HNH5S920X18 | US | lad:etype-CORP |  | RATINGS |
| lad:E1028 | Mutir Retail SA | 213800TJ32NARU0BI982 | VD | lad:etype-CORP |  | RATINGS |
| lad:E1029 | Leson Telecom Inc | 8156008DPX4I9DNKWN26 | US | lad:etype-BANK |  | RATINGS |
| lad:E1030 | LESON TELECOM INC | 8156008DPX4I9DNKWN26 | US | lad:etype-BANK |  | RESEARCH |
| lad:E1031 | Kuvir Logistics SA | 969500GRHP48SQNEWH44 | ES | lad:etype-CORP |  | RATINGS |
| lad:E1032 | Helom Chemicals BV | 2138006H9XCYN2P1K228 | NL | lad:etype-BANK |  | RATINGS |
| lad:E1033 | Kunid Pharma SA | 213800Q84PS4FTJJB947 | ES | lad:etype-CORP | lad:E1004 | RATINGS |
| lad:E1034 | Tanad Capital SpA | 815600KLV84WAQGPSX27 | IT | lad:etype-CORP |  | RATINGS |
| lad:E1035 | Kavod Utilities AG | 724500YHN51API4SE179 | DE | lad:etype-CORP |  | RATINGS |
| lad:E1036 | Lilor Retail AG | 9695000N72OQ0Q07IW61 | DE | lad:etype-CORP |  | RATINGS |
| lad:E1037 | Natil Retail SA | 391200OBAXI8590VQN12 | FR | lad:etype-CORP |  | RATINGS |
| lad:E1038 | Lanon Telecom BV | 549300EZ4HXP0L5RAZ01 | NL | lad:etype-CORP |  | RATINGS |
| lad:E1039 | Pulor Airlines SA | 969500HA9D5I7F73PW83 | CV | lad:etype-BANK |  | RATINGS |
| lad:E1040 | Dorid Mining AG | 549300SPMD9MEMFWMR12 | DE | lad:etype-CORP |  | RATINGS |
| lad:E1041 | Hiral Steel SA | 549300JU1O5MP1HSKQ01 | ES | lad:etype-CORP |  | RATINGS |
| lad:E1042 | Rerod Steel BV | 391200LC6V921W096L49 | NL | lad:etype-CORP |  | RATINGS |
| lad:E1043 | Vitom Property plc | 5493007IVTPIWJZLFF29 | GB | lad:etype-CORP |  | RATINGS |
| lad:E1044 | Hesid Telecom Inc | 3912003Y7VZHUGN50755 | US | lad:etype-BANK |  | RATINGS |
| lad:E1045 | Nesid Logistics Inc | 96950029VB162U3K1976 | US | lad:etype-BANK |  | RATINGS |
| lad:E1046 | Ditin Shipping Inc | 549300ZM08IADSAK3L87 | US | lad:etype-BANK | lad:E1026 | RATINGS |
| lad:E1047 | Vaved Pharma plc | 391200WGA8OE30KZUD08 | GB | lad:etype-CORP | lad:E1020 | RATINGS |
| lad:E1048 | Lised Pharma AG | 9695000T21G05UQMGF10 | DE | lad:etype-CORP |  | RATINGS |
| lad:E1049 | Paser Utilities plc | 391200R2EH7FELZFOV27 | GB | lad:etype-CORP |  | RATINGS |
(480 more rows not shown)

Run more queries, or give the final answers.
The model
<parameter name="code">```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?e ?name ?lei ?country ?type ?parent ?src WHERE {
  ?e a lad:Entity .
  OPTIONAL{?e lad:name ?name} OPTIONAL{?e lad:lei ?lei} OPTIONAL{?e lad:country ?country}
  OPTIONAL{?e lad:entityType ?type} OPTIONAL{?e lad:parent ?parent} OPTIONAL{?e lad:sourceSystem ?src}
  FILTER(!regex(str(?e),"E1[0-9]{3}$") || regex(?name,"Cerid|Rotam|Wonod|Vesol|Belir|Orrin|Brindle|Halden|Corvenia|Marlow|Cross","i"))
} ORDER BY ?e
```</parameter>
</invoke>
Query results
Query 1:

| e | name | lei | country | type | parent | src |
|---|---|---|---|---|---|---|
| lad:CV | Republic of Corvenia |  | CV | lad:etype-SOV |  | RATINGS |
| lad:E01 | Kestrel Energy plc | 7245002OOPBG04092E43 | GB | lad:etype-CORP |  | RATINGS |
| lad:E02 | Northwind Holdings plc | 213800PHEIYNJMHTDV74 | GB | lad:etype-CORP |  | RATINGS |
| lad:E03 | NORTHWIND HLDGS | 213800PHEIYNJMHTDV74 | GB | lad:etype-CORP |  | RESEARCH |
| lad:E04 | Northwind Finance BV | 213800LA5RYJLGXV2T85 | NL | lad:etype-FINSUB | lad:E02 | RATINGS |
| lad:E05 | Valdoria Telecom SA | 391200LESH03LMOY2U61 | VD | lad:etype-CORP |  | RATINGS |
| lad:E06 | Orrin Bank AG | 549300AMVE3VRVG7HK43 | DE | lad:etype-BANK |  | RATINGS |
| lad:E07 | Pellam Retail Ltd | 969500B6IUACELPI2291 | GB | lad:etype-CORP |  | RATINGS |
| lad:E08 | Saxby Shipping SA | 969500KOTZ1JFIZSG796 | GR | lad:etype-CORP |  | RATINGS |
| lad:E09 | Halden Group plc | 815600ASM9EHDG931T89 | GB | lad:etype-CORP |  | RATINGS |
| lad:E10 | Halden Bank AG | 391200QYPVFF2O9K2039 | DE | lad:etype-BANK | lad:E09 | RATINGS |
| lad:E11 | Halden Leasing SA | 549300XBZH4ULO9MQV55 | FR | lad:etype-FINSUB | lad:E10 | RATINGS |
| lad:E12 | Halden Foods Ltd | 213800IJDL4OJ4DG5T19 | GB | lad:etype-CORP |  | RATINGS |
| lad:E13 | Orrin Bancorp Inc | 815600O8X8K2F154N214 | US | lad:etype-BANK |  | RATINGS |
| lad:E14 | Marlow Utilities plc | 3912005AH2C1I9YF8106 | GB | lad:etype-CORP |  | RATINGS |
| lad:E15 | Corvenia Power SA | 213800PBQVHVBBH6GV02 | CV | lad:etype-CORP |  | RATINGS |
| lad:E16 | Brindle Capital Ltd | 5493003Z3PXXR7KNFM81 | GB | lad:etype-CORP |  | QA |
| lad:E17 | HALDEN BANK | 391200QYPVFF2O9K2039 | LU | lad:etype-BANK |  | RESEARCH |
| lad:E5001 | Cerid Group plc | 815600F48PANJQE75352 | GB | lad:etype-CORP |  | RATINGS |
| lad:E5002 | Cerid Energy plc | 3912006ACANJUP8PLJ39 | GB | lad:etype-CORP | lad:E5001 | RATINGS |
| lad:E5003 | Cerid Media BV | 724500EXQA91TPK6WL60 | NL | lad:etype-CORP | lad:E5001 | RATINGS |
| lad:E5004 | Cerid Utilities plc | 969500SFWGRHVUTANY40 | GB | lad:etype-CORP | lad:E5001 | RATINGS |
| lad:E5005 | Cerid Chemicals SA | 391200B1GR4AGTV5WY99 | VD | lad:etype-CORP | lad:E5002 | RATINGS |
| lad:E5006 | Cerid Foods plc | 969500HZQBDFIIHLYK06 | GB | lad:etype-BANK | lad:E5002 | RATINGS |
| lad:E5007 | Cerid Holdings BV | 391200Q98UGZZQTV1C88 | NL | lad:etype-CORP | lad:E5003 | RATINGS |
| lad:E5008 | Cerid Airlines BV | 815600M8RE9386DDQB31 | NL | lad:etype-CORP | lad:E5003 | RATINGS |
| lad:E5009 | Cerid Leror Logistics plc | 96950033222B9BRCGP58 | GB | lad:etype-CORP | lad:E5004 | RATINGS |
| lad:E5010 | Cerid Gator Steel Inc | 724500E2OQMMMZVTBS53 | US | lad:etype-CORP | lad:E5004 | RATINGS |
| lad:E5011 | Cerid Guven Energy SA | 391200IX7WB68Q29NJ46 | VD | lad:etype-CORP | lad:E5167 | RATINGS |
| lad:E5012 | Cerid Gevin Pharma SA | 549300TPHB19IJU6VV67 | VD | lad:etype-CORP | lad:E5005 | RATINGS |
| lad:E5013 | Cerid Telecom SA | 724500EU84AMOZS7U244 | ES | lad:etype-BANK | lad:E5006 | RATINGS |
| lad:E5014 | Cerid Gusom Pharma SpA | 724500YWGS7BR1AKHD13 | IT | lad:etype-CORP | lad:E5006 | RATINGS |
| lad:E5015 | Cerid Logistics BV | 969500C1TQV008QIYL28 | NL | lad:etype-CORP | lad:E5007 | RATINGS |
| lad:E5016 | Cerid Rovem Industries BV | 549300WMHA09HQ7NGF72 | NL | lad:etype-CORP | lad:E5007 | RATINGS |
| lad:E5017 | Cerid Steel BV | 213800BAYNUVR2EE0Y41 | NL | lad:etype-CORP | lad:E5008 | RATINGS |
| lad:E5018 | Cerid Mining BV | 815600DDEIUOIMDS3N14 | NL | lad:etype-CORP | lad:E5008 | RATINGS |
| lad:E5019 | Cerid Buvom Mining plc | 2138002W9KTVILKQ8Q89 | GB | lad:etype-CORP | lad:E5009 | RATINGS |
| lad:E5020 | Cerid Tivim Retail SA | 9695003VHLA8O9WU7N54 | FR | lad:etype-BANK | lad:E5009 | RATINGS |
| lad:E5021 | Cerid Retail Inc | 724500S8Q4HUNT229Y84 | US | lad:etype-CORP | lad:E5010 | RATINGS |
| lad:E5022 | Cerid Industries Inc | 213800S7QJ9EVK96PK05 | US | lad:etype-CORP | lad:E5010 | RATINGS |
| lad:E5023 | Cerid Dilal Utilities SA | 549300MXQ7UU7852PG70 | VD | lad:etype-CORP | lad:E5011 | RATINGS |
| lad:E5024 | Cerid Fatal Shipping SA | 39120041ZCI02VDN2I18 | VD | lad:etype-CORP | lad:E5012 | RATINGS |
| lad:E5025 | Cerid Fater Media SA | 213800AXPZD5MSP2GW32 | ES | lad:etype-CORP | lad:E5013 | RATINGS |
| lad:E5026 | Cerid Hosad Retail Inc | 724500GF9ADSAA20FI77 | US | lad:etype-CORP | lad:E5014 | RATINGS |
| lad:E5027 | Cerid Hutem Water plc | 391200TO1KK187R1JQ78 | GB | lad:etype-CORP | lad:E5015 | RATINGS |
| lad:E5028 | Cerid Galon Chemicals BV | 724500EVQNRETR9CVD02 | NL | lad:etype-BANK | lad:E5016 | RATINGS |
| lad:E5029 | Cerid Walol Water BV | 21380057HMIY2LIM5A29 | NL | lad:etype-BANK | lad:E5017 | RATINGS |
| lad:E5030 | Cerid Tivor Holdings BV | 549300M13MMEINCT8W03 | NL | lad:etype-CORP | lad:E5018 | RATINGS |
| lad:E5031 | Cerid Velin Water plc | 815600Q07VLOKJE53L06 | GB | lad:etype-CORP | lad:E5019 | RATINGS |
| lad:E5032 | Cerid Meron Media SA | 213800CIZLWWL071KP85 | FR | lad:etype-CORP | lad:E5020 | RATINGS |
| lad:E5033 | Cerid Pitam Energy Inc | 969500799KP9QCVM7739 | US | lad:etype-CORP | lad:E5021 | RATINGS |
| lad:E5034 | Cerid Shipping BV | 7245008XDA202762F829 | NL | lad:etype-CORP | lad:E5022 | RATINGS |
| lad:E5035 | Cerid Water SA | 724500637K0GA6PFC081 | VD | lad:etype-BANK | lad:E5023 | RATINGS |
| lad:E5036 | Cerid Calin Energy SpA | 549300RJ7KMPDJVQY167 | IT | lad:etype-CORP | lad:E5024 | RATINGS |
| lad:E5037 | Cerid Holom Water SA | 2138003NRPV4IDSP9314 | ES | lad:etype-CORP | lad:E5025 | RATINGS |
| lad:E5038 | Cerid Holen Chemicals BV | 969500HETRKT6OQMNS48 | NL | lad:etype-CORP | lad:E5026 | RATINGS |
| lad:E5039 | Cerid Property SA | 549300DBENKHP53C1C31 | ES | lad:etype-CORP | lad:E5027 | RATINGS |
| lad:E5040 | Cerid Lovan Energy BV | 9695007VBLZNWG66LZ43 | NL | lad:etype-CORP | lad:E5028 | RATINGS |
| lad:E5041 | Cerid Dolem Mining AG | 391200FXD4CH3FVZ4165 | DE | lad:etype-BANK | lad:E5029 | RATINGS |
| lad:E5042 | Cerid Feral Property BV | 724500N6QZUJJJ1BJI79 | NL | lad:etype-BANK | lad:E5030 | RATINGS |
(129 more rows not shown)

Run more queries, or give the final answers.
The model
<parameter name="code">```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?a ?t ?date ?act ?rt ?basis ?r ?o ?w ?c WHERE {
  ?a a lad:RatingAction ; lad:ratedThing ?t ; lad:date ?date ; lad:action ?act ; lad:ratingType ?rt .
  OPTIONAL{?a lad:ccyBasis ?basis} OPTIONAL{?a lad:rating ?r} OPTIONAL{?a lad:outlook ?o} OPTIONAL{?a lad:watch ?w} OPTIONAL{?a lad:comment ?c}
  FILTER(regex(str(?t),"ladder/(E[0-9]{2}|CV|VD|[A-Z]+[0-9]{1,2})$"))
} ORDER BY ?t ?rt ?basis ?date
```

```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?i ?desc ?iss ?g ?sen ?ccy ?mat WHERE {
  ?i a lad:Instrument ; lad:issuer ?iss .
  OPTIONAL{?i lad:description ?desc} OPTIONAL{?i lad:guarantor ?g} OPTIONAL{?i lad:seniority ?sen} OPTIONAL{?i lad:currency ?ccy} OPTIONAL{?i lad:maturity ?mat}
  FILTER(regex(str(?iss),"ladder/(E[0-9]{2}|CV|VD)$") || bound(?g) && regex(str(?g),"ladder/(E[0-9]{2}|CV|VD)$") || regex(?desc,"Cross"))
} ORDER BY ?i
```</parameter>
Query results
Query 1:

| a | t | date | act | rt | basis | r | o | w | c |
|---|---|---|---|---|---|---|---|---|---|
| lad:A37 | lad:CV | 2024-01-01 | lad:action-AS | lad:type-CC |  | A |  |  |  |
| lad:A38 | lad:CV | 2024-01-01 | lad:action-AS | lad:type-LTIDR | lad:basis-FC | BBB+ | lad:outlook-STA |  |  |
| lad:A39 | lad:CV | 2024-01-01 | lad:action-AS | lad:type-LTIDR | lad:basis-LC | A- | lad:outlook-STA |  |  |
| lad:A01 | lad:E01 | 2024-03-12 | lad:action-AS | lad:type-LTIDR | lad:basis-FC | A- | lad:outlook-STA |  |  |
| lad:A02 | lad:E01 | 2025-06-20 | lad:action-DG | lad:type-LTIDR | lad:basis-FC | BBB | lad:outlook-STA |  | weaker cash flow after asset sale |
| lad:A03 | lad:E01 | 2026-02-10 | lad:action-AF | lad:type-LTIDR | lad:basis-FC | BBB | lad:outlook-NEG |  |  |
| lad:A04 | lad:E01 | 2026-02-10 | lad:action-AF | lad:type-STIDR | lad:basis-FC | F2 |  |  |  |
| lad:A08 | lad:E02 | 2023-11-01 | lad:action-AS | lad:type-LTIDR | lad:basis-FC | A | lad:outlook-STA |  |  |
| lad:A09 | lad:E03 | 2025-09-15 | lad:action-AF | lad:type-LTIDR | lad:basis-FC | A | lad:outlook-POS |  |  |
| lad:A14 | lad:E05 | 2025-04-01 | lad:action-AS | lad:type-LTIDR | lad:basis-FC | BB | lad:outlook-STA |  |  |
| lad:A13 | lad:E05 | 2025-04-01 | lad:action-AS | lad:type-LTIDR | lad:basis-LC | BBB- | lad:outlook-STA |  |  |
| lad:A16 | lad:E06 | 2024-05-01 | lad:action-AS | lad:type-LTIDR | lad:basis-FC | A- | lad:outlook-STA |  |  |
| lad:A17 | lad:E06 | 2026-09-03 | lad:action-RW | lad:type-LTIDR | lad:basis-FC | A- |  | lad:watch-RWN |  |
| lad:A18 | lad:E07 | 2024-01-10 | lad:action-AS | lad:type-LTIDR | lad:basis-FC | BB | lad:outlook-STA |  |  |
| lad:A19 | lad:E07 | 2026-05-12 | lad:action-WD | lad:type-LTIDR | lad:basis-FC | WD |  |  | commercial reasons |
| lad:A20 | lad:E08 | 2024-06-01 | lad:action-AS | lad:type-LTIDR | lad:basis-FC | B | lad:outlook-STA |  |  |
| lad:A21 | lad:E08 | 2026-01-20 | lad:action-DG | lad:type-LTIDR | lad:basis-FC | CCC |  |  |  |
| lad:A22 | lad:E08 | 2026-07-08 | lad:action-DG | lad:type-LTIDR | lad:basis-FC | RD |  |  | distressed debt exchange completed |
| lad:A24 | lad:E09 | 2023-05-01 | lad:action-AS | lad:type-LTIDR | lad:basis-FC | A | lad:outlook-STA |  |  |
| lad:A25 | lad:E09 | 2026-03-01 | lad:action-AF | lad:type-LTIDR | lad:basis-FC | A | lad:outlook-NEG |  |  |
| lad:A26 | lad:E10 | 2023-05-01 | lad:action-AS | lad:type-LTIDR | lad:basis-FC | A- | lad:outlook-STA |  | support from parent |
| lad:A27 | lad:E10 | 2026-04-15 | lad:action-DG | lad:type-LTIDR | lad:basis-FC | BBB+ | lad:outlook-STA |  |  |
| lad:A46 | lad:E11 | 2025-02-01 | lad:action-AS | lad:type-CO |  | BBB |  |  |  |
| lad:A30 | lad:E12 | 2024-02-01 | lad:action-AS | lad:type-LTIDR | lad:basis-FC | BB- | lad:outlook-STA |  |  |
| lad:A31 | lad:E12 | 2025-08-01 | lad:action-UG | lad:type-LTIDR | lad:basis-FC | BB | lad:outlook-STA |  |  |
| lad:A32 | lad:E13 | 2024-07-01 | lad:action-AS | lad:type-LTIDR | lad:basis-FC | BBB | lad:outlook-STA |  |  |
| lad:A34 | lad:E14 | 2023-01-15 | lad:action-AS | lad:type-LTIDR | lad:basis-FC | A- | lad:outlook-STA |  |  |
| lad:A36 | lad:E14 | 2024-09-30 | lad:action-DG | lad:type-LTIDR | lad:basis-FC | BBB+ | lad:outlook-STA |  |  |
| lad:A35 | lad:E14 | 2025-11-20 | lad:action-RW | lad:type-LTIDR | lad:basis-FC | BBB+ |  | lad:watch-RWN |  |
| lad:A33 | lad:E14 | 2026-05-01 | lad:action-AF | lad:type-LTIDR | lad:basis-FC | BBB+ | lad:outlook-STA |  |  |
| lad:A41 | lad:E15 | 2024-03-01 | lad:action-AS | lad:type-LTIDR | lad:basis-FC | A | lad:outlook-STA |  |  |
| lad:A40 | lad:E15 | 2024-03-01 | lad:action-AS | lad:type-LTIDR | lad:basis-LC | A+ | lad:outlook-STA |  |  |
| lad:A43 | lad:E16 | 2024-04-01 | lad:action-AS | lad:type-LTIDR | lad:basis-FC | BBB- | lad:outlook-STA |  |  |
| lad:A44 | lad:E16 | 2026-06-01 | lad:action-DG | lad:type-LTIDR | lad:basis-FC | BB+ | lad:outlook-STA |  |  |
| lad:A05 | lad:I01 | 2024-03-12 | lad:action-AS | lad:type-INST |  | A- |  |  |  |
| lad:A06 | lad:I01 | 2025-06-20 | lad:action-DG | lad:type-INST |  | BBB |  |  |  |
| lad:A23 | lad:I02 | 2024-03-12 | lad:action-AS | lad:type-INST |  | BBB |  |  |  |
| lad:A07 | lad:I02 | 2025-06-20 | lad:action-DG | lad:type-INST |  | BB+ |  |  |  |
| lad:A10 | lad:I03 | 2023-11-01 | lad:action-AS | lad:type-INST |  | A |  |  |  |
| lad:A11 | lad:I03 | 2025-09-15 | lad:action-AF | lad:type-INST |  | A |  |  |  |
| lad:A15 | lad:I04 | 2025-04-01 | lad:action-AS | lad:type-INST |  | BB |  |  |  |
| lad:A28 | lad:I05 | 2023-06-01 | lad:action-AS | lad:type-INST |  | A- |  |  |  |
| lad:A29 | lad:I05 | 2026-04-15 | lad:action-DG | lad:type-INST |  | BBB+ |  |  |  |
| lad:A42 | lad:I06 | 2024-03-01 | lad:action-AS | lad:type-INST |  | A- |  |  |  |
| lad:A45 | lad:I07 | 2025-04-01 | lad:action-AS | lad:type-INST |  | BBB- |  |  |  |
| lad:A47 | lad:I08 | 2026-09-01 | lad:action-EX | lad:type-INST |  | A |  |  |  |
| lad:A12 | lad:VD | 2025-04-01 | lad:action-AS | lad:type-CC |  | BB |  |  |  |

Query 2:

| i | desc | iss | 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:I5007 | Cross-group 4.75% notes due 2031 | lad:E5133 | lad:E5145 | lad:seniority-SU | USD | 2031-06-30 |

Run more queries, or give the final answers.
The model
<invoke name="none">
</invoke>
```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT (COUNT(*) AS ?n) (COUNT(DISTINCT ?t) AS ?things) WHERE { ?a a lad:RatingAction ; lad:ratedThing ?t }
```

```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?a ?t ?date ?act ?rt ?basis ?r ?o ?w WHERE {
  ?a a lad:RatingAction ; lad:ratedThing ?t ; lad:date ?date ; lad:action ?act ; lad:ratingType ?rt .
  OPTIONAL{?a lad:ccyBasis ?basis} OPTIONAL{?a lad:rating ?r} OPTIONAL{?a lad:outlook ?o} OPTIONAL{?a lad:watch ?w}
  FILTER(?rt != lad:type-INST)
  FILTER(?act IN (lad:action-DG, lad:action-WD, lad:action-RW) || ?r IN ("RD","D") || ?o = lad:outlook-NEG || bound(?w))
} ORDER BY ?t ?date
```
Query results
Query 1:

| n | things |
|---|---|
| 914 | 558 |

Query 2:

| a | t | date | act | rt | basis | r | o | w |
|---|---|---|---|---|---|---|---|---|
| lad:A02 | lad:E01 | 2025-06-20 | lad:action-DG | lad:type-LTIDR | lad:basis-FC | BBB | lad:outlook-STA |  |
| lad:A03 | lad:E01 | 2026-02-10 | lad:action-AF | lad:type-LTIDR | lad:basis-FC | BBB | lad:outlook-NEG |  |
| lad:A17 | lad:E06 | 2026-09-03 | lad:action-RW | lad:type-LTIDR | lad:basis-FC | A- |  | lad:watch-RWN |
| lad:A19 | lad:E07 | 2026-05-12 | lad:action-WD | lad:type-LTIDR | lad:basis-FC | WD |  |  |
| lad:A21 | lad:E08 | 2026-01-20 | lad:action-DG | lad:type-LTIDR | lad:basis-FC | CCC |  |  |
| lad:A22 | lad:E08 | 2026-07-08 | lad:action-DG | lad:type-LTIDR | lad:basis-FC | RD |  |  |
| lad:A25 | lad:E09 | 2026-03-01 | lad:action-AF | lad:type-LTIDR | lad:basis-FC | A | lad:outlook-NEG |  |
| lad:A27 | lad:E10 | 2026-04-15 | lad:action-DG | lad:type-LTIDR | lad:basis-FC | BBB+ | lad:outlook-STA |  |
| lad:A1002 | lad:E1002 | 2025-07-20 | lad:action-WD | lad:type-LTIDR | lad:basis-FC | WD |  |  |
| lad:A1006 | lad:E1005 | 2023-03-19 | lad:action-DG | lad:type-LTIDR | lad:basis-FC | BB+ | lad:outlook-POS |  |
| lad:A1007 | lad:E1005 | 2025-08-02 | lad:action-DG | lad:type-LTIDR | lad:basis-FC | BB | lad:outlook-NEG |  |
| lad:A1010 | lad:E1006 | 2026-06-17 | lad:action-RW | lad:type-LTIDR | lad:basis-FC | AA |  | lad:watch-RWN |
| lad:A1013 | lad:E1007 | 2026-06-27 | lad:action-WD | lad:type-LTIDR | lad:basis-FC | WD |  |  |
| lad:A1022 | lad:E1012 | 2025-04-03 | lad:action-RW | lad:type-LTIDR | lad:basis-FC | BB |  | lad:watch-RWN |
| lad:A1026 | lad:E1013 | 2025-07-09 | lad:action-RW | lad:type-LTIDR | lad:basis-FC | BB- |  | lad:watch-RWN |
| lad:A1041 | lad:E1019 | 2024-02-08 | lad:action-RW | lad:type-LTIDR | lad:basis-LC | BBB- |  | lad:watch-RWN |
| lad:A1042 | lad:E1019 | 2024-03-20 | lad:action-RW | lad:type-LTIDR | lad:basis-LC | BBB- |  | lad:watch-RWN |
| lad:A1046 | lad:E1021 | 2025-11-08 | lad:action-WD | lad:type-LTIDR | lad:basis-FC | WD |  |  |
| lad:A1049 | lad:E1023 | 2023-03-02 | lad:action-DG | lad:type-LTIDR | lad:basis-FC | BBB+ | lad:outlook-POS |  |
| lad:A1050 | lad:E1023 | 2023-03-24 | lad:action-DG | lad:type-LTIDR | lad:basis-FC | BBB | lad:outlook-STA |  |
| lad:A1057 | lad:E1028 | 2025-12-16 | lad:action-AF | lad:type-LTIDR | lad:basis-FC | BB | lad:outlook-NEG |  |
| lad:A1062 | lad:E1029 | 2025-08-08 | lad:action-UG | lad:type-LTIDR | lad:basis-FC | A- | lad:outlook-NEG |  |
| lad:A1067 | lad:E1032 | 2026-09-15 | lad:action-WD | lad:type-LTIDR | lad:basis-FC | WD |  |  |
| lad:A1070 | lad:E1034 | 2026-05-02 | lad:action-DG | lad:type-LTIDR | lad:basis-FC | BBB+ | lad:outlook-NEG |  |
| lad:A1076 | lad:E1037 | 2022-05-07 | lad:action-RW | lad:type-LTIDR | lad:basis-FC | A |  | lad:watch-RWN |
| lad:A1080 | lad:E1039 | 2025-12-09 | lad:action-RW | lad:type-LTIDR | lad:basis-FC | A |  | lad:watch-RWN |
| lad:A1084 | lad:E1041 | 2023-04-08 | lad:action-RW | lad:type-LTIDR | lad:basis-FC | A+ |  | lad:watch-RWN |
| lad:A1085 | lad:E1041 | 2024-04-09 | lad:action-WD | lad:type-LTIDR | lad:basis-FC | WD |  |  |
| lad:A1092 | lad:E1046 | 2025-05-28 | lad:action-UG | lad:type-LTIDR | lad:basis-FC | AA- | lad:outlook-NEG |  |
| lad:A1095 | lad:E1048 | 2023-04-15 | lad:action-WD | lad:type-LTIDR | lad:basis-FC | WD |  |  |
| lad:A1102 | lad:E1051 | 2026-04-05 | lad:action-DG | lad:type-LTIDR | lad:basis-FC | A+ | lad:outlook-NEG |  |
| lad:A1104 | lad:E1051 | 2026-06-01 | lad:action-DG | lad:type-LTIDR | lad:basis-FC | A+ | lad:outlook-POS |  |
| lad:A1106 | lad:E1052 | 2025-01-23 | lad:action-DG | lad:type-LTIDR | lad:basis-FC | BB | lad:outlook-POS |  |
| lad:A1109 | lad:E1053 | 2026-03-20 | lad:action-DG | lad:type-LTIDR | lad:basis-FC | BB | lad:outlook-NEG |  |
| lad:A1116 | lad:E1055 | 2024-01-01 | lad:action-DG | lad:type-LTIDR | lad:basis-FC | BB+ | lad:outlook-STA |  |
| lad:A1117 | lad:E1055 | 2024-12-04 | lad:action-UG | lad:type-LTIDR | lad:basis-FC | BBB- | lad:outlook-NEG |  |
| lad:A1119 | lad:E1056 | 2023-01-01 | lad:action-DG | lad:type-LTIDR | lad:basis-FC | A+ | lad:outlook-NEG |  |
| lad:A1122 | lad:E1057 | 2026-06-25 | lad:action-DG | lad:type-LTIDR | lad:basis-FC | BB | lad:outlook-STA |  |
| lad:A1123 | lad:E1057 | 2026-09-08 | lad:action-AF | lad:type-LTIDR | lad:basis-FC | BB | lad:outlook-NEG |  |
| lad:A1124 | lad:E1057 | 2026-09-19 | lad:action-WD | lad:type-LTIDR | lad:basis-FC | WD |  |  |
| lad:A1127 | lad:E1058 | 2026-07-14 | lad:action-DG | lad:type-LTIDR | lad:basis-FC | BBB- | lad:outlook-POS |  |
| lad:A1131 | lad:E1059 | 2025-07-07 | lad:action-DG | lad:type-LTIDR | lad:basis-LC | BB- | lad:outlook-STA |  |
| lad:A1132 | lad:E1059 | 2026-02-23 | lad:action-RW | lad:type-LTIDR | lad:basis-LC | BB- |  | lad:watch-RWN |
| lad:A1129 | lad:E1060 | 2025-02-16 | lad:action-AF | lad:type-LTIDR | lad:basis-FC | BB- | lad:outlook-NEG |  |
| lad:A1134 | lad:E1061 | 2025-06-06 | lad:action-RW | lad:type-LTIDR | lad:basis-FC | A |  | lad:watch-RWN |
| lad:A1136 | lad:E1062 | 2025-03-28 | lad:action-WD | lad:type-LTIDR | lad:basis-FC | WD |  |  |
| lad:A1138 | lad:E1063 | 2025-01-12 | lad:action-WD | lad:type-LTIDR | lad:basis-FC | WD |  |  |
| lad:A1141 | lad:E1064 | 2026-02-02 | lad:action-AF | lad:type-LTIDR | lad:basis-FC | BBB+ | lad:outlook-NEG |  |
| lad:A1140 | lad:E1064 | 2026-03-04 | lad:action-DG | lad:type-LTIDR | lad:basis-FC | BBB+ | lad:outlook-STA |  |
| lad:A1142 | lad:E1064 | 2026-06-03 | lad:action-UG | lad:type-LTIDR | lad:basis-FC | A- | lad:outlook-NEG |  |
| lad:A1145 | lad:E1066 | 2026-05-03 | lad:action-RW | lad:type-LTIDR | lad:basis-FC | A- |  | lad:watch-RWN |
| lad:A1156 | lad:E1072 | 2026-02-07 | lad:action-AF | lad:type-LTIDR | lad:basis-FC | BB- | lad:outlook-NEG |  |
| lad:A1161 | lad:E1076 | 2024-04-28 | lad:action-WD | lad:type-LTIDR | lad:basis-FC | WD |  |  |
| lad:A1163 | lad:E1077 | 2022-07-03 | lad:action-DG | lad:type-LTIDR | lad:basis-FC | BB- | lad:outlook-POS |  |
| lad:A1170 | lad:E1079 | 2023-07-25 | lad:action-AF | lad:type-LTIDR | lad:basis-FC | BB+ | lad:outlook-NEG |  |
| lad:A1171 | lad:E1079 | 2024-01-26 | lad:action-AF | lad:type-LTIDR | lad:basis-FC | BB+ | lad:outlook-NEG |  |
| lad:A1174 | lad:E1080 | 2026-02-14 | lad:action-DG | lad:type-LTIDR | lad:basis-FC | A- | lad:outlook-NEG |  |
| lad:A1180 | lad:E1084 | 2025-08-02 | lad:action-WD | lad:type-LTIDR | lad:basis-FC | WD |  |  |
| lad:A1187 | lad:E1087 | 2024-12-06 | lad:action-DG | lad:type-LTIDR | lad:basis-FC | BB+ | lad:outlook-STA |  |
| lad:A1190 | lad:E1088 | 2024-01-16 | lad:action-RW | lad:type-LTIDR | lad:basis-FC | B+ |  | lad:watch-RWN |
(172 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 ?parent ?src WHERE {
  ?e a lad:Entity ; lad:name ?name .
  OPTIONAL{?e lad:country ?country} OPTIONAL{?e lad:parent ?parent} OPTIONAL{?e lad:sourceSystem ?src}
  FILTER(regex(?name,"Rotam|Wonod|Vesol|Belir|Rosor|Cerid Group|Guven|Cerid Telecom","i"))
} ORDER BY ?e
```

```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?c ?p ?s WHERE {
  ?c lad:parent ?p . ?p lad:sourceSystem ?s . FILTER(?s != "RATINGS")
}
```

```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?start ?anc WHERE {
  ?start lad:parent+ ?anc . ?start lad:name ?n
  FILTER(?n IN ("Cerid Guven Energy SA","Cerid Telecom SA","Cerid Rosor Holdings SA","Belir Mining SA"))
} ORDER BY ?start
```

```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT DISTINCT ?t ?lei ?d ?r ?o WHERE {
  ?a a lad:RatingAction ; lad:ratedThing ?t ; lad:date ?d ; lad:action lad:action-DG ; lad:ratingType lad:type-LTIDR ; lad:rating ?r .
  OPTIONAL{?a lad:outlook ?o}
  ?t lad:sourceSystem ?s . OPTIONAL{?t lad:lei ?lei}
  FILTER(?s != "QA" && ?d >= "2026-01-01"^^xsd:date && ?d <= "2026-12-31"^^xsd:date)
} ORDER BY ?t
```
Query results
Query 1:

| e | name | country | parent | src |
|---|---|---|---|---|
| lad:E5001 | Cerid Group plc | GB |  | RATINGS |
| lad:E5011 | Cerid Guven Energy SA | VD | lad:E5167 | RATINGS |
| lad:E5013 | Cerid Telecom SA | ES | lad:E5006 | RATINGS |
| lad:E5047 | Cerid Rosor Holdings SA | VD | lad:E5035 | RATINGS |
| lad:E5059 | Belir Group AG | DE |  | RATINGS |
| lad:E5060 | Belir Retail AG | DE | lad:E5059 | RATINGS |
| lad:E5061 | Belir Steel Inc | US | lad:E5059 | RATINGS |
| lad:E5062 | Belir Mining SA | FR | lad:E5060 | RATINGS |
| lad:E5063 | Belir Harem Property AG | DE | lad:E5060 | RATINGS |
| lad:E5064 | Belir Holdings plc | GB | lad:E5061 | RATINGS |
| lad:E5065 | Belir Nelad Property AG | DE | lad:E5061 | RATINGS |
| lad:E5066 | Belir Shipping SA | FR | lad:E5062 | RATINGS |
| lad:E5067 | Belir Capital AG | DE | lad:E5063 | RATINGS |
| lad:E5068 | Belir Kator Energy plc | GB | lad:E5064 | RATINGS |
| lad:E5069 | Belir Water SA | FR | lad:E5065 | RATINGS |
| lad:E5070 | Belir Rusin Media SA | FR | lad:E5066 | RATINGS |
| lad:E5071 | Belir Chemicals SA | FR | lad:E5066 | RATINGS |
| lad:E5072 | Belir Katin Telecom AG | DE | lad:E5067 | RATINGS |
| lad:E5073 | Belir Puvir Mining plc | GB | lad:E5067 | RATINGS |
| lad:E5074 | Belir Industries plc | GB | lad:E5068 | RATINGS |
| lad:E5075 | Belir Gitid Industries plc | GB | lad:E5068 | RATINGS |
| lad:E5076 | Belir Property SA | FR | lad:E5069 | RATINGS |
| lad:E5077 | Belir Media SA | FR | lad:E5069 | RATINGS |
| lad:E5078 | Belir Vasin Water plc | GB | lad:E5070 | RATINGS |
| lad:E5079 | Belir Sitom Logistics SA | FR | lad:E5071 | RATINGS |
| lad:E5080 | Belir Foods AG | DE | lad:E5072 | RATINGS |
| lad:E5081 | Belir Vusad Telecom SA | VD | lad:E5073 | RATINGS |
| lad:E5082 | Belir Bovid Telecom plc | GB | lad:E5074 | RATINGS |
| lad:E5083 | Belir Airlines plc | GB | lad:E5075 | RATINGS |
| lad:E5084 | Belir Luton Media SA | FR | lad:E5076 | RATINGS |
| lad:E5085 | Belir Rutel Water SA | CV | lad:E5077 | RATINGS |
| lad:E5086 | Rotam Group Inc | US |  | RATINGS |
| lad:E5087 | Rotam Mining Inc | US | lad:E5086 | RATINGS |
| lad:E5088 | Rotam Industries Inc | US | lad:E5086 | RATINGS |
| lad:E5089 | Rotam Airlines Inc | US | lad:E5086 | RATINGS |
| lad:E5090 | Rotam Logistics Inc | US | lad:E5087 | RATINGS |
| lad:E5091 | Rotam Water SA | VD | lad:E5088 | RATINGS |
| lad:E5092 | Rotam Hison Holdings Inc | US | lad:E5089 | RATINGS |
| lad:E5093 | Rotam Telecom Inc | US | lad:E5090 | RATINGS |
| lad:E5094 | Rotam Holdings Inc | US | lad:E5090 | RATINGS |
| lad:E5095 | Rotam Energy BV | NL | lad:E5091 | RATINGS |
| lad:E5096 | Rotam Lulel Mining SA | ES | lad:E5091 | RATINGS |
| lad:E5097 | Rotam Chemicals Inc | US | lad:E5092 | RATINGS |
| lad:E5098 | Rotam Pharma SA | CV | lad:E5092 | RATINGS |
| lad:E5099 | Rotam Fived Water Inc | US | lad:E5093 | RATINGS |
| lad:E5100 | Rotam Property Inc | US | lad:E5094 | RATINGS |
| lad:E5101 | Rotam Foods BV | NL | lad:E5095 | RATINGS |
| lad:E5102 | Rotam Utilities SA | ES | lad:E5096 | RATINGS |
| lad:E5103 | Rotam Goson Energy Inc | US | lad:E5097 | RATINGS |
| lad:E5104 | Rotam Media SA | CV | lad:E5098 | RATINGS |
| lad:E5105 | Wonod Group SA | FR |  | RATINGS |
| lad:E5106 | Wonod Steel BV | NL | lad:E5105 | RATINGS |
| lad:E5107 | Wonod Retail BV | NL | lad:E5105 | RATINGS |
| lad:E5108 | Wonod Shipping BV | NL | lad:E5106 | RATINGS |
| lad:E5109 | Wonod Holdings SA | FR | lad:E5106 | RATINGS |
| lad:E5110 | Wonod Capital BV | NL | lad:E5106 | RATINGS |
| lad:E5111 | Wonod Airlines SA | CV | lad:E5107 | RATINGS |
| lad:E5112 | Wonod Telecom BV | NL | lad:E5107 | RATINGS |
| lad:E5113 | Wonod Wetid Foods BV | NL | lad:E5107 | RATINGS |
| lad:E5114 | Wonod Pharma Inc | US | lad:E5108 | RATINGS |
(32 more rows not shown)

Query 2:

| c | p | s |
|---|---|---|
| lad:E5011 | lad:E5167 | RESEARCH |

Query 3:

| start | anc |
|---|---|
| lad:E5011 | lad:E5167 |
| lad:E5013 | lad:E5006 |
| lad:E5013 | lad:E5002 |
| lad:E5013 | lad:E5001 |
| lad:E5047 | lad:E5035 |
| lad:E5047 | lad:E5023 |
| lad:E5047 | lad:E5011 |
| lad:E5047 | lad:E5167 |
| lad:E5062 | lad:E5060 |
| lad:E5062 | lad:E5059 |

Query 4:

| t | lei | d | r | o |
|---|---|---|---|---|
| lad:E08 | 969500KOTZ1JFIZSG796 | 2026-01-20 | CCC |  |
| lad:E08 | 969500KOTZ1JFIZSG796 | 2026-07-08 | RD |  |
| lad:E10 | 391200QYPVFF2O9K2039 | 2026-04-15 | BBB+ | lad:outlook-STA |
| lad:E1034 | 815600KLV84WAQGPSX27 | 2026-05-02 | BBB+ | lad:outlook-NEG |
| lad:E1051 | 724500WO4TZY2027IZ62 | 2026-06-01 | A+ | lad:outlook-POS |
| lad:E1051 | 724500WO4TZY2027IZ62 | 2026-04-05 | A+ | lad:outlook-NEG |
| lad:E1053 | 5493001E7O9QDD98PV36 | 2026-03-20 | BB | lad:outlook-NEG |
| lad:E1057 | 2138009BPHEDKSZHFF68 | 2026-06-25 | BB | lad:outlook-STA |
| lad:E1058 | 969500Y1Y66M1421WE10 | 2026-07-14 | BBB- | lad:outlook-POS |
| lad:E1064 | 213800YPXA4OJXD8EB91 | 2026-03-04 | BBB+ | lad:outlook-STA |
| lad:E1080 | 815600SERWD64UWU8808 | 2026-02-14 | A- | lad:outlook-NEG |
| lad:E1093 | 969500IYLWO8RRIOIL83 | 2026-07-25 | B | lad:outlook-STA |
| lad:E1112 | 969500QJ1AV6AZJSB088 | 2026-02-20 | BBB | lad:outlook-POS |
| lad:E1144 | 213800QV7J1EXLC4YX51 | 2026-06-06 | B+ | lad:outlook-POS |
| lad:E1151 | 549300XHVH0VBXX4D156 | 2026-01-26 | BBB | lad:outlook-POS |
| lad:E1159 | 213800VMJXKPLM9ZIL74 | 2026-06-16 | BBB+ | lad:outlook-POS |
| lad:E1161 | 969500PM41NS2PBZU440 | 2026-07-28 | B | lad:outlook-NEG |
| lad:E1163 | 549300SBMAQCEKT3IC98 | 2026-03-19 | BB+ | lad:outlook-POS |
| lad:E1167 | 5493000NGCMTDC4BZ653 | 2026-09-07 | BB | lad:outlook-STA |
| lad:E1170 | 549300XV49ES64RGNQ00 | 2026-08-16 | BB- | lad:outlook-STA |
| lad:E1186 | 549300OCOVKZOF4FO259 | 2026-01-04 | BBB+ | lad:outlook-STA |
| lad:E1213 | 549300A64I73OEIC4R87 | 2026-02-13 | A- | lad:outlook-STA |
| lad:E1213 | 549300A64I73OEIC4R87 | 2026-06-16 | BBB+ | lad:outlook-POS |
| lad:E1228 | 724500JFK718P3DNW233 | 2026-06-28 | BB+ | lad:outlook-NEG |
| lad:E1229 | 549300GJM0MMFEH84V77 | 2026-05-06 | BB | lad:outlook-STA |
| lad:E1229 | 549300GJM0MMFEH84V77 | 2026-06-02 | BB+ | lad:outlook-STA |
| lad:E1243 | 2138008SWUJK7JUSMR14 | 2026-01-13 | BB | lad:outlook-STA |
| lad:E1255 | 7245002EC45UEUXQJA30 | 2026-01-19 | BBB+ | lad:outlook-STA |
| lad:E1263 | 213800TWNH19JCPPPE80 | 2026-06-16 | BBB- | lad:outlook-NEG |
| lad:E1263 | 213800TWNH19JCPPPE80 | 2026-03-03 | BBB | lad:outlook-STA |
| lad:E1285 | 391200J1XGI3MNYV2584 | 2026-02-17 | A | lad:outlook-POS |
| lad:E1290 | 5493005YGBG4Z7ZGH950 | 2026-08-16 | B | lad:outlook-POS |
| lad:E1294 | 391200WPOJY9F1NTH725 | 2026-07-11 | A+ | lad:outlook-NEG |
| lad:E1299 | 815600RCZP0ISY44E024 | 2026-02-06 | BBB | lad:outlook-POS |
| lad:E1300 | 391200Z1OH1HXMHTW971 | 2026-05-06 | BBB | lad:outlook-NEG |
| lad:E1300 | 391200Z1OH1HXMHTW971 | 2026-04-09 | BBB+ | lad:outlook-STA |
| lad:E1307 | 969500CNC5SOCN5K2N29 | 2026-02-08 | BB- | lad:outlook-POS |
| lad:E5019 | 2138002W9KTVILKQ8Q89 | 2026-03-19 | BBB+ | lad:outlook-NEG |
| lad:E5033 | 969500799KP9QCVM7739 | 2026-11-06 | A | lad:outlook-NEG |
| lad:E5059 | 969500YPO4CFVEL1XX12 | 2026-05-25 | BB+ | lad:outlook-NEG |
| lad:E5097 | 3912008BZ54JQ8UNFG51 | 2026-08-16 | B- | lad:outlook-NEG |
| lad:E5113 | 391200F077WCSDTMTP77 | 2026-06-21 | BB- | lad:outlook-NEG |
| lad:E5116 | 724500I4E8HLVDTIKT27 | 2026-05-16 | A | lad:outlook-NEG |
| lad:E5156 | 549300FMGCHAUC6SYX63 | 2026-02-16 | B- | lad:outlook-NEG |

Run more queries, or give the final answers.
The model
<invoke name="none">
</invoke>
```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?e ?n ?lei ?c ?p ?s WHERE { lad:E5167 lad:lei ?lei . ?e lad:lei ?lei ; lad:sourceSystem ?s . OPTIONAL{?e lad:name ?n} OPTIONAL{?e lad:parent ?p} OPTIONAL{?e lad:country ?c} }
```

```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?root (COUNT(DISTINCT ?lei) AS ?n) (GROUP_CONCAT(DISTINCT STRAFTER(STR(?m),"ladder/");separator=",") AS ?ms) WHERE {
 VALUES ?root {lad:E09 lad:E02 lad:E5086 lad:E5105 lad:E5059}
 ?m lad:parent* ?root . ?m lad:lei ?lei } GROUP BY ?root
```

```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?m ?r ?d ?bn WHERE {
 ?root lad:name ?bn . FILTER(regex(?bn,"Vesol Group"))
 ?m lad:parent* ?root . ?m lad:lei ?k .
 ?t lad:lei ?k . ?a lad:ratedThing ?t ; lad:ratingType lad:type-LTIDR; lad:ccyBasis lad:basis-FC; lad:date ?d; lad:rating ?r .
 FILTER NOT EXISTS { ?t2 lad:lei ?k . ?a2 lad:ratedThing ?t2; lad:ratingType lad:type-LTIDR; lad:ccyBasis lad:basis-FC; lad:date ?d2 . FILTER(?d2>?d) }
}
```

```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT (GROUP_CONCAT(DISTINCT CONCAT(?id,"/",STRAFTER(STR(?basis),"basis-"),"/",?r);separator=", ") AS ?dflt) WHERE {
 { SELECT ?k ?basis (MAX(?d) AS ?md) WHERE {
    ?a lad:ratedThing ?t ; lad:date ?d ; lad:ratingType lad:type-LTIDR ; lad:ccyBasis ?basis .
    ?t a lad:Entity ; lad:sourceSystem ?s . FILTER(?s != "QA")
    OPTIONAL{?t lad:lei ?l} BIND(COALESCE(STR(?l),STR(?t)) AS ?k)
    FILTER(?d <= "2026-10-01"^^xsd:date) } GROUP BY ?k ?basis }
 ?a2 lad:ratedThing ?t2 ; lad:date ?md ; lad:ratingType lad:type-LTIDR ; lad:ccyBasis ?basis ; lad:rating ?r .
 ?t2 lad:sourceSystem ?s2 . OPTIONAL{?t2 lad:lei ?l2}
 FILTER(COALESCE(STR(?l2),STR(?t2)) = ?k && ?s2 != "QA" && ?r IN ("RD","D"))
 OPTIONAL{ ?e0 lad:lei ?lk ; lad:sourceSystem "RATINGS" . FILTER(STR(?lk)=?k) }
 BIND(COALESCE(STRAFTER(STR(?e0),"ladder/"),STRAFTER(?k,"ladder/")) AS ?id)
}
```

```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT (GROUP_CONCAT(DISTINCT CONCAT(?id,"/",STRAFTER(STR(?basis),"basis-"));separator=", ") AS ?rwn)
 (GROUP_CONCAT(DISTINCT IF(COALESCE(?o,lad:x)=lad:outlook-NEG,CONCAT(?id,"/",STRAFTER(STR(?basis),"basis-")),"");separator=",") AS ?neg)
 (GROUP_CONCAT(DISTINCT IF(!BOUND(?o) && ?r != "WD",CONCAT(?id,"/",STRAFTER(STR(?basis),"basis-")),"");separator=",") AS ?noOutlook) WHERE {
 { SELECT ?k ?basis (MAX(?d) AS ?md) WHERE {
    ?a lad:ratedThing ?t ; lad:date ?d ; lad:ratingType lad:type-LTIDR ; lad:ccyBasis ?basis .
    ?t a lad:Entity ; lad:sourceSystem ?s . FILTER(?s != "QA")
    OPTIONAL{?t lad:lei ?l} BIND(COALESCE(STR(?l),STR(?t)) AS ?k)
    FILTER(?d <= "2026-10-01"^^xsd:date) } GROUP BY ?k ?basis }
 ?a2 lad:ratedThing ?t2 ; lad:date ?md ; lad:ratingType lad:type-LTIDR ; lad:ccyBasis ?basis ; lad:rating ?r .
 ?t2 lad:sourceSystem ?s2 . OPTIONAL{?t2 lad:lei ?l2}
 FILTER(COALESCE(STR(?l2),STR(?t2)) = ?k && ?s2 != "QA")
 OPTIONAL{?a2 lad:outlook ?o} OPTIONAL{?a2 lad:watch ?w}
 OPTIONAL{ ?e0 lad:lei ?lk ; lad:sourceSystem "RATINGS" . FILTER(STR(?lk)=?k) }
 BIND(COALESCE(STRAFTER(STR(?e0),"ladder/"),STRAFTER(?k,"ladder/")) AS ?id)
 BIND(IF(COALESCE(?w,lad:x)=lad:watch-RWN,1,0) AS ?isw)
 FILTER(?isw=1 || ?r != "WD")
}
```

```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT (COUNT(?k) AS ?active) (SUM(IF(?cty="GB",1,0)) AS ?gb) (GROUP_CONCAT(DISTINCT ?wdid;separator=",") AS ?wdOnly) WHERE {
 { SELECT ?k ?cty (SUM(IF(?r="WD",0,1)) AS ?nonwd) (SAMPLE(?id) AS ?wdid) WHERE {
 { SELECT ?k ?basis (MAX(?d) AS ?md) WHERE {
    ?a lad:ratedThing ?t ; lad:date ?d ; lad:ratingType lad:type-LTIDR ; lad:ccyBasis ?basis .
    ?t a lad:Entity ; lad:sourceSystem ?s . FILTER(?s != "QA")
    OPTIONAL{?t lad:lei ?l} BIND(COALESCE(STR(?l),STR(?t)) AS ?k)
    FILTER(?d <= "2026-10-01"^^xsd:date) } GROUP BY ?k ?basis }
 ?a2 lad:ratedThing ?t2 ; lad:date ?md ; lad:ratingType lad:type-LTIDR ; lad:ccyBasis ?basis ; lad:rating ?r .
 ?t2 lad:sourceSystem ?s2 . OPTIONAL{?t2 lad:lei ?l2}
 FILTER(COALESCE(STR(?l2),STR(?t2)) = ?k && ?s2 != "QA")
 OPTIONAL{ ?e0 lad:lei ?lk ; lad:sourceSystem "RATINGS" ; lad:country ?cx . FILTER(STR(?lk)=?k) }
 OPTIONAL{ ?er lad:lei ?lk2 ; lad:sourceSystem "RESEARCH" ; lad:country ?cr . FILTER(STR(?lk2)=?k) }
 BIND(COALESCE(?cr,?cx) AS ?cty)
 BIND(COALESCE(STRAFTER(STR(?e0),"ladder/"),STRAFTER(?k,"ladder/")) AS ?id)
 } GROUP BY ?k ?cty }
 FILTER(?nonwd>0)
}
```

```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT (GROUP_CONCAT(?id;separator=",") AS ?wdOnly) WHERE {
 SELECT ?k (SAMPLE(?id0) AS ?id) WHERE {
 { SELECT ?k ?basis (MAX(?d) AS ?md) WHERE {
    ?a lad:ratedThing ?t ; lad:date ?d ; lad:ratingType lad:type-LTIDR ; lad:ccyBasis ?basis .
    ?t a lad:Entity ; lad:sourceSystem ?s . FILTER(?s != "QA")
    OPTIONAL{?t lad:lei ?l} BIND(COALESCE(STR(?l),STR(?t)) AS ?k)
    FILTER(?d <= "2026-10-01"^^xsd:date) } GROUP BY ?k ?basis }
 ?a2 lad:ratedThing ?t2 ; lad:date ?md ; lad:ratingType lad:type-LTIDR ; lad:ccyBasis ?basis ; lad:rating ?r .
 ?t2 lad:sourceSystem ?s2 . OPTIONAL{?t2 lad:lei ?l2}
 FILTER(COALESCE(STR(?l2),STR(?t2)) = ?k && ?s2 != "QA")
 OPTIONAL{ ?e0 lad:lei ?lk ; lad:sourceSystem "RATINGS" . FILTER(STR(?lk)=?k) }
 BIND(COALESCE(STRAFTER(STR(?e0),"ladder/"),STRAFTER(?k,"ladder/")) AS ?id0)
 } GROUP BY ?k HAVING(SUM(IF(?r="WD",0,1))=0)
}
```

```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?rt (GROUP_CONCAT(DISTINCT CONCAT(STRAFTER(STR(?t),"ladder/"),"/",?r,"/",STR(?d));separator=", ") AS ?x) WHERE {
 ?a lad:ratedThing ?t ; lad:ratingType ?rt ; lad:rating ?r ; lad:date ?d . ?t a lad:Entity ; lad:sourceSystem ?s . FILTER(?s!="QA" && ?r IN ("RD","D") && ?rt != lad:type-CO) } GROUP BY ?rt
```

```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT (COUNT(DISTINCT ?i) AS ?rated) (SUM(IF(?r IN ("AAA","AA+","AA","AA-","A+","A","A-","BBB+","BBB","BBB-"),1,0)) AS ?ig) WHERE {
 { SELECT ?i (MAX(?d) AS ?md) WHERE { ?a lad:ratedThing ?i; lad:ratingType lad:type-INST; lad:date ?d; lad:action ?ac. ?i a lad:Instrument; lad:issuer ?iss. ?iss lad:sourceSystem ?s FILTER(?s!="QA" && ?ac != lad:action-EX && ?d <= "2026-10-01"^^xsd:date)} GROUP BY ?i }
 ?a2 lad:ratedThing ?i; lad:date ?md; lad:ratingType lad:type-INST; lad:rating ?r; lad:action ?ac2. FILTER(?r != "WD" && ?ac2 != lad:action-EX) }
```

```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?sov ?cc ?cr ?cd WHERE { ?a lad:ratingType lad:type-CC; lad:ratedThing ?sov; lad:rating ?cr; lad:date ?cd . OPTIONAL{?sov lad:country ?cc} }
```

```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT (COUNT(DISTINCT COALESCE(STR(?lei),STR(?e))) AS ?distinctEntities) (COUNT(DISTINCT ?lu) AS ?luCount) WHERE {
 ?e a lad:Entity; lad:sourceSystem ?s . OPTIONAL{?e lad:lei ?lei} FILTER(?s!="QA")
 OPTIONAL{ ?e lad:sourceSystem "RATINGS"; lad:country ?cx .
   OPTIONAL{ ?er lad:lei ?lei ; lad:sourceSystem "RESEARCH" ; lad:country ?cr }
   BIND(COALESCE(?cr,?cx) AS ?cty) BIND(IF(?cty="LU",COALESCE(STR(?lei),STR(?e)),?nothing) AS ?lu) }
}
```

```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?i ?iss ?g ?ti ?tg WHERE {
 ?i a lad:Instrument; lad:issuer ?iss; lad:guarantor ?g .
 ?iss lad:parent* ?ti . FILTER NOT EXISTS {?ti lad:parent ?x}
 ?g lad:parent* ?tg . FILTER NOT EXISTS {?tg lad:parent ?y}
 FILTER(?ti != ?tg)
}
```
Query results
Query 1:

| e | n | lei | c | p | s |
|---|---|---|---|---|---|
| lad:E5005 | Cerid Chemicals SA | 391200B1GR4AGTV5WY99 | VD | lad:E5002 | RATINGS |
| lad:E5167 | CERID CHEMICALS SA | 391200B1GR4AGTV5WY99 | VD |  | RESEARCH |

Query 2:

| root | n | ms |
|---|---|---|
| lad:E09 | 3 | E09,E10,E11 |
| lad:E02 | 2 | E02,E04 |
| lad:E5086 | 20 | E5086,E5087,E5168,E5088,E5089,E5090,E5091,E5092,E5093,E5094,E5096,E5095,E5097,E5098,E5099,E5100,E5102,E5101,E5103,E5104 |
| lad:E5105 | 27 | E5105,E5106,E5107,E5110,E5108,E5109,E5112,E5113,E5111,E5116,E5114,E5115,E5118,E5119,E5117,E5122,E5120,E5121,E5124,E5125,E5123,E5128,E5126,E5127,E5130,E5131,E5129 |
| lad:E5059 | 27 | E5059,E5061,E5060,E5065,E5064,E5063,E5062,E5069,E5068,E5067,E5066,E5076,E5077,E5074,E5075,E5072,E5073,E5071,E5070,E5084,E5085,E5082,E5083,E5080,E5081,E5079,E5078 |

Query 3:

| m | r | d | bn |
|---|---|---|---|
| lad:E5143 | A | 2025-11-02 | Vesol Group BV |
| lad:E5140 | A+ | 2022-04-03 | Vesol Group BV |
| lad:E5132 | BB+ | 2023-12-02 | Vesol Group BV |
| lad:E5133 | BBB- | 2022-01-15 | Vesol Group BV |
| lad:E5141 | BB | 2024-08-13 | Vesol Group BV |
| lad:E5144 | BB- | 2023-11-05 | Vesol Group BV |
| lad:E5136 | BBB- | 2024-04-07 | Vesol Group BV |

Query 4:

| dflt |
|---|
| E08/FC/RD |

Query 5:

| rwn | neg | noOutlook |
|---|---|---|
| E1181/FC, E1147/FC, E1324/FC, E1287/FC, E1020/FC, E1109/FC, E1245/FC, E14/FC, E1285/FC, E1173/FC, E1143/FC, E1203/FC, E1221/FC, E1322/FC, E5007/FC, E1088/FC, E1144/LC, E15/LC, E1265/FC, E1208/FC, E1012/FC, E1312/FC, E1163/FC, E1054/FC, E1300/FC, E5099/FC, E1238/FC, E1064/FC, E5113/FC, E1304/FC, E5039/FC, E5041/FC, E1160/FC, E1229/FC, E1077/FC, E1151/FC, E5141/FC, E5117/FC, E1026/FC, E1167/FC, E1018/FC, E5016/FC, E1270/FC, E5123/FC, E1137/FC, E5105/FC, E1156/FC, E1314/FC, E1035/FC, E1256/FC, E1245/LC, E1080/FC, E5082/FC, E1105/FC, E5042/FC, E1142/FC, E1101/FC, E1194/FC, E5162/FC, E1092/FC, E1145/FC, E1072/FC, E5037/FC, E1131/FC, E1127/FC, E1209/FC, E1033/FC, E1051/FC, E1058/FC, E1099/FC, E10/FC, E1014/FC, E1125/FC, E5070/FC, E1150/FC, E1027/FC, E1091/FC, E1100/FC, E1103/FC, E1211/FC, E1005/FC, E1235/FC, E1307/FC, E1303/FC, E1178/FC, E1255/FC, E1034/FC, E1306/FC, E1222/FC, E1114/FC, E5030/FC, E1044/FC, E5129/FC, E1189/FC, E1025/FC, E1023/FC, E1177/FC, E1271/FC, E1207/FC, E1118/FC, E1260/FC, E5143/FC, E1279/LC, E5152/FC, E1297/FC, E1108/FC, E1290/FC, E1158/FC, E1056/FC, E1242/FC, E1248/FC, E1085/FC, E1006/FC, E1318/FC, E1133/FC, E1039/LC, E1042/FC, E5062/FC, E5140/FC, E1213/FC, E1269/FC, E1272/FC, E1110/FC, E1075/FC, E1174/FC, E5155/FC, E1146/FC, E1201/FC, E1096/LC, E1066/FC, E1296/FC, E1232/FC, E1119/FC, E1237/FC, E1195/FC, E1229/LC, E5057/FC, E1168/FC, E1295/FC, E1230/FC, E1217/FC, E1301/FC, E1043/FC, E1243/LC, E5010/FC, E1055/FC, E5097/FC, E1192/FC, E1028/FC, E1087/FC, E5132/FC, E1019/LC, E1231/FC, E5028/FC, E1046/FC, E1050/FC, E1276/FC, E15/FC, E1169/FC, E1003/FC, E1061/FC, E5059/FC, E5048/FC, E5115/FC, E1149/FC, E1141/FC, E5020/FC, E1045/FC, E1186/FC, E1017/FC, E08/FC, E5106/FC, E1305/FC, E1016/FC, E1191/FC, E5133/FC, E5018/FC, E1224/FC, E1078/FC, E5008/FC, E5067/FC, E1321/FC, E1116/FC, E1263/FC, E1132/FC, E1152/FC, E5066/FC, E5090/FC, E5073/FC, E1188/FC, E1038/FC, E1134/FC, E1282/FC, E01/FC, E1310/FC, E5102/FC, E06/FC, E1068/FC, E1098/FC, E1198/FC, E1302/FC, E1029/FC, E02/FC, E1243/FC, E1266/FC, E1199/FC, E5131/FC, E1112/FC, E1273/FC, E1004/FC, E5023/FC, E1126/FC, E1081/FC, E1196/FC, E1095/FC, E1284/FC, E12/FC, E5110/FC, E1216/FC, E5116/FC, E5036/FC, E1047/FC, E1223/FC, E09/FC, E1009/FC, E5031/FC, E1089/FC, E1292/FC, E5072/FC, E1154/FC, E1313/FC, E1274/FC, E1086/FC, E1069/FC, E1090/FC, E1193/FC, E1228/FC, E1267/FC, E1144/FC, E5101/FC, E1037/FC, E1059/FC, E5012/FC, E1079/FC, E5069/FC, E05/LC, E1070/FC, E1194/LC, E1101/LC, E1293/FC, E1283/LC, E1082/FC, E1013/FC, E1115/FC, E1008/FC, E1204/FC, E1053/FC, E1212/FC, E1220/FC, E1317/FC, E5164/FC, E5017/FC, E1126/LC, E5104/FC, E1184/FC, E1185/FC, E5075/FC, E1298/FC, E5019/FC, E1122/FC, E1130/FC, E1281/FC, E5050/FC, E5025/FC, E5022/FC, E1135/FC, E1283/FC, E1067/FC, E1162/FC, E5053/FC, E1187/FC, E5144/FC, E5126/FC, E1040/FC, E1113/FC, E1309/FC, E1015/FC, E1257/FC, E1323/FC, E1128/FC, E1093/FC, E1031/FC, E5087/FC, E1261/FC, E1291/FC, E1176/FC, E5061/FC, E1236/FC, E1059/LC, E1202/FC, E5013/FC, E5002/FC, E1065/FC, E1094/FC, E1240/FC, E5047/FC, E1175/FC, E1190/FC, E5027/FC, E5151/FC, E1028/LC, E1226/FC, E5049/FC, E1049/FC, E1247/FC, E1052/FC, E5109/FC, E1286/FC, E1074/FC, E5119/FC, E5124/FC, E1197/FC, E1071/FC, E5163/FC, E1136/FC, E1249/FC, E1165/FC, E5160/FC, E1106/FC, E1289/FC, E1123/FC, E1252/FC, E1251/FC, E5149/FC, E1315/FC, E5127/FC, E13/FC, E1288/FC, E5071/FC, E1171/FC, E5098/FC, E1179/FC, E5154/FC, E1227/FC, E1102/FC, E5029/FC, E1258/FC, E1275/FC, E1241/FC, E1024/FC, E5157/FC, E1120/FC, E1215/FC, E1278/FC, CV/FC, E1039/FC, E5159/FC, E1264/FC, E5091/FC, E1294/FC, E1019/FC, E1036/FC, E5130/FC, E1250/FC, E5112/FC, E1010/FC, E1280/FC, E5083/FC, E5021/FC, E1096/FC, E5076/FC, E1164/FC, E1268/FC, E1083/FC, E1073/FC, E5032/FC, E5024/FC, E5158/FC, E1182/FC, E5156/FC, E1011/FC, E1111/FC, E5033/FC, CV/LC, E5108/FC, E5114/FC, E1129/FC, E1183/FC, E5084/FC, E05/FC, E5136/FC, E5166/FC, E1313/LC, E5092/FC | ,E1300/FC,E5099/FC,E1064/FC,E5113/FC,E5039/FC,E1160/FC,E5141/FC,E1080/FC,E1105/FC,E1072/FC,E1211/FC,E1005/FC,E1034/FC,E1271/FC,E1118/FC,E1158/FC,E1056/FC,E1248/FC,E5062/FC,E5057/FC,E1055/FC,E5097/FC,E1046/FC,E5059/FC,E5020/FC,E1263/FC,E5073/FC,E1188/FC,E1282/FC,E01/FC,E5102/FC,E1029/FC,E5131/FC,E5023/FC,E5116/FC,E09/FC,E1228/FC,E1059/FC,E1079/FC,E5019/FC,E5050/FC,E1261/FC,E5013/FC,E1190/FC,E5119/FC,E1294/FC,E5156/FC | E1181/FC,,E1109/FC,E1203/FC,E1088/FC,E1238/FC,E1314/FC,E1194/FC,E1209/FC,E1099/FC,E1260/FC,E1297/FC,E1242/FC,E1006/FC,E1133/FC,E1146/FC,E1066/FC,E1168/FC,E1019/LC,E1061/FC,E08/FC,E1132/FC,E06/FC,E1098/FC,E1266/FC,E1126/FC,E1267/FC,E1037/FC,E1013/FC,E1317/FC,E1323/FC,E1059/LC,E1039/FC,E1264/FC |

Query 6:

| active | gb | wdOnly |
|---|---|---|
| 377 | 79 | E1181,E1147,E1324,E1287,E1020,E1109,E1245,E14,E1285,E1173,E1143,E1203,E1221,E1322,E5007,E1088,E1144,E15,E1265,E1208,E1012,E1312,E1163,E1054,E1300,E5099,E1238,E1064,E1106,E5113,E1304,E5039,E5041,E1160,E1229,E1077,E1151,E5141,E5117,E1026,E1167,E1018,E5016,E1270,E5123,E1137,E5105,E1156,E1314,E1035,E1256,E1080,E5082,E1105,E5042,E1142,E1101,E1194,E5162,E1092,E1145,E1072,E5037,E1131,E1127,E1209,E1033,E1051,E1058,E1099,E10,E1014,E1125,E5070,E1150,E1027,E1091,E1100,E1103,E1211,E1005,E1235,E1307,E1303,E1178,E1255,E1034,E1306,E1222,E1114,E5030,E1044,E5129,E1189,E1025,E1023,E1177,E1271,E1207,E1118,E1260,E5143,E1279,E5152,E1297,E1108,E1290,E1158,E1056,E1242,E1248,E1085,E1006,E1318,E1133,E1039,E1042,E5062,E5140,E1213,E1269,E1272,E1110,E1075,E1174,E5155,E1146,E1201,E1096,E1066,E1296,E1232,E1119,E1237,E1195,E5057,E1168,E1295,E1230,E1217,E1301,E1043,E1243,E5010,E1055,E5097,E1192,E1028,E1087,E5132,E1019,E1231,E5028,E1046,E1050,E1276,E1169,E1003,E1061,E5059,E5048,E5115,E1149,E1141,E5020,E1045,E1186,E1017,E08,E5106,E1305,E1016,E1191,E5133,E5018,E1224,E1078,E5008,E5067,E1321,E1116,E1263,E1132,E1152,E5066,E5090,E5073,E1188,E1038,E1134,E1282,E01,E1310,E5102,E06,E1068,E1098,E1198,E1302,E1029,E02,E1266,E1199,E5131,E1112,E1273,E1004,E5023,E1126,E1081,E1196,E1095,E1284,E12,E5110,E1216,E5116,E5036,E1047,E1223,E09,E1009,E5031,E1089,E1292,E5072,E1154,E1313,E1274,E1086,E1069,E1090,E1193,E1228,E1267,E5101,E1037,E1059,E5012,E1079,E5069,E05,E1070,E1293,E1283,E1082,E1013,E1115,E1008,E1204,E1053,E1212,E1220,E1317,E5164,E5017,E5104,E1184,E1185,E5075,E1298,E5019,E1122,E1130,E1281,E5050,E5025,E5022,E1135,E1067,E1162,E5053,E1187,E5144,E5126,E1040,E1113,E1309,E1015,E1257,E1323,E1128,E1093,E1031,E5087,E1261,E1291,E1176,E5061,E1236,E1202,E5013,E5002,E1065,E1094,E1240,E5047,E1175,E1190,E5027,E5151,E1226,E5049,E1049,E1247,E1052,E5109,E1286,E1074,E5119,E5124,E1197,E1071,E5163,E1136,E1249,E1165,E5160,E1289,E1123,E1252,E1251,E5149,E1315,E5127,E13,E1288,E5071,E1171,E5098,E1179,E5154,E1227,E1102,E5029,E1258,E1275,E1241,E1024,E5157,E1120,E1215,E1278,CV,E5159,E1264,E5091,E1294,E1036,E5130,E1250,E5112,E1010,E1280,E5083,E5021,E5076,E1164,E1268,E1083,E1073,E5032,E5024,E5158,E1182,E5156,E1011,E1111,E5033,E5108,E5114,E1129,E1183,E5084,E5136,E5166,E5092 |

Query 7:

| wdOnly |
|---|
| E1001,E1084,E1032,E1234,E1219,E1206,E1107,E1244,E1172,E1159,E1057,E1041,E07,E1062,E1277,E1155,E1253,E1121,E1063,E1166,E1021,E1200,E1048,E1124,E1076,E1138,E1140,E1316,E1308,E1007,E1218,E1225,E1205,E1320,E1233 |

Query 8:

| rt | x |
|---|---|
| lad:type-LTIDR | E08/RD/2026-07-08 |

Query 9:

| rated | ig |
|---|---|
| 113 | 72 |

Query 10:

| sov | cc | cr | cd |
|---|---|---|---|
| lad:VD | VD | BB | 2025-04-01 |
| lad:CV | CV | A | 2024-01-01 |

Query 11:

| distinctEntities | luCount |
|---|---|
| 495 | 1 |

Query 12:

| i | iss | g | ti | tg |
|---|---|---|---|---|
| lad:I5007 | lad:E5133 | lad:E5145 | lad:E5132 | lad:E5145 |

Run more queries, or give the final answers.
The model
```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT (GROUP_CONCAT(DISTINCT ?id;separator=",") AS ?rwn) WHERE {
 { SELECT ?l ?basis (MAX(?d) AS ?md) WHERE {
    ?a lad:ratedThing ?t; lad:date ?d; lad:ratingType lad:type-LTIDR; lad:ccyBasis ?basis.
    ?t lad:sourceSystem ?s; lad:lei ?l. FILTER(?s!="QA" && ?d<="2026-10-01"^^xsd:date) } GROUP BY ?l ?basis }
 ?a2 lad:ratedThing ?t2; lad:date ?md; lad:ratingType lad:type-LTIDR; lad:ccyBasis ?basis; lad:watch lad:watch-RWN.
 ?t2 lad:lei ?l; lad:sourceSystem ?s2. FILTER(?s2!="QA")
 ?e0 lad:lei ?l; lad:sourceSystem "RATINGS".
 BIND(STRAFTER(STR(?e0),"ladder/") AS ?id)
}
```

```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?id ?cty ?r WHERE {
 { SELECT ?l (MAX(?d) AS ?md) WHERE {
    ?a lad:ratedThing ?t; lad:date ?d; lad:ratingType lad:type-LTIDR; lad:ccyBasis lad:basis-FC.
    ?t lad:sourceSystem ?s; lad:lei ?l. FILTER(?s!="QA" && ?d<="2026-10-01"^^xsd:date) } GROUP BY ?l }
 ?a2 lad:ratedThing ?t2; lad:date ?md; lad:ratingType lad:type-LTIDR; lad:ccyBasis lad:basis-FC; lad:rating ?r.
 ?t2 lad:lei ?l; lad:sourceSystem ?s2. FILTER(?s2!="QA")
 { SELECT DISTINCT ?l ?cty WHERE { ?e lad:lei ?l; lad:sourceSystem ?s; lad:country ?cty.
    FILTER(?s="RESEARCH" || (?s="RATINGS" && NOT EXISTS { ?e2 lad:lei ?l; lad:sourceSystem "RESEARCH" })) } }
 FILTER(?cty IN ("VD","CV"))
 ?e0 lad:lei ?l; lad:sourceSystem "RATINGS".
 BIND(STRAFTER(STR(?e0),"ladder/") AS ?id)
} ORDER BY ?cty ?id
```

```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?root (COUNT(DISTINCT ?l) AS ?n) WHERE {
 VALUES ?root {lad:E09 lad:E02 lad:E5086 lad:E5001 lad:E5105}
 ?m (lad:parent/lad:lei/^lad:lei)* ?root. ?m lad:lei ?l.
} GROUP BY ?root
```

```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?l ?cty (GROUP_CONCAT(DISTINCT STRAFTER(STR(?m),"ladder/");separator=",") AS ?recs) WHERE {
 ?m (lad:parent/lad:lei/^lad:lei)* lad:E5105. ?m lad:lei ?l.
 { SELECT DISTINCT ?l ?cty WHERE { ?e lad:lei ?l; lad:sourceSystem ?s; lad:country ?cty.
    FILTER(?s="RESEARCH" || (?s="RATINGS" && NOT EXISTS { ?e2 lad:lei ?l; lad:sourceSystem "RESEARCH" })) } }
 FILTER(?cty="VD")
} GROUP BY ?l ?cty
```

```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT (COUNT(DISTINCT ?l) AS ?n) WHERE {
 { SELECT ?l ?basis (MAX(?d) AS ?md) WHERE {
    ?a lad:ratedThing ?t; lad:date ?d; lad:ratingType lad:type-LTIDR; lad:ccyBasis ?basis.
    ?t lad:sourceSystem ?s; lad:lei ?l. FILTER(?s!="QA" && ?d<="2026-11-05"^^xsd:date) } GROUP BY ?l ?basis }
 ?a2 lad:ratedThing ?t2; lad:date ?md; lad:ratingType lad:type-LTIDR; lad:ccyBasis ?basis; lad:rating ?r.
 ?t2 lad:lei ?l; lad:sourceSystem ?s2. FILTER(?s2!="QA" && ?r!="WD")
 ?m lad:lei ?l. ?m (lad:parent/lad:lei/^lad:lei)+ ?anc. ?anc lad:lei ?al.
 { SELECT DISTINCT ?al ?acty WHERE { ?e lad:lei ?al; lad:sourceSystem ?s; lad:country ?acty.
    FILTER(?s="RESEARCH" || (?s="RATINGS" && NOT EXISTS { ?e2 lad:lei ?al; lad:sourceSystem "RESEARCH" })) } }
 FILTER(?acty="VD")
}
```

```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT (COUNT(DISTINCT ?l) AS ?three) WHERE {
 ?m lad:parent/lad:lei/^lad:lei/lad:parent/lad:lei/^lad:lei/lad:parent/lad:lei/^lad:lei lad:E5001. ?m lad:lei ?l.
}
```

```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?l ?r WHERE {
 { SELECT ?l (MAX(?d) AS ?md) WHERE {
    ?a lad:ratedThing ?t; lad:date ?d; lad:ratingType lad:type-LTIDR; lad:ccyBasis lad:basis-FC.
    ?t lad:sourceSystem ?s; lad:lei ?l. FILTER(?s!="QA" && ?d<="2026-11-05"^^xsd:date) } GROUP BY ?l }
 ?a2 lad:ratedThing ?t2; lad:date ?md; lad:ratingType lad:type-LTIDR; lad:ccyBasis lad:basis-FC; lad:rating ?r.
 ?t2 lad:lei ?l; lad:sourceSystem ?s2. FILTER(?s2!="QA")
 FILTER(?r IN ("BB+","BB","BB-","B+","B","B-","CCC","CC","C","RD","D"))
 FILTER EXISTS { ?m lad:lei ?l. ?m (lad:parent/lad:lei/^lad:lei)* lad:E5001 }
}
```
Query results
Query 1:

| rwn |
|---|
| E1181,E1109,E1203,E1088,E1238,E1314,E1194,E1209,E1099,E1260,E1297,E1242,E1006,E1133,E1146,E1066,E1168,E1019,E1061,E1132,E06,E1098,E1266,E1126,E1267,E1037,E1013,E1317,E1323,E1059,E1039,E1264 |

Query 2:

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

Query 3:

| root | n |
|---|---|
| lad:E09 | 3 |
| lad:E02 | 2 |
| lad:E5086 | 25 |
| lad:E5001 | 59 |
| lad:E5105 | 27 |

Query 4:

| l | cty | recs |
|---|---|---|
| 969500W1342GHBTOGH81 | VD | E5106 |
| 213800CPQNCG46SCSV94 | VD | E5124 |
| 391200WLN00ZH5R20305 | VD | E5130 |

Query 5:

| n |
|---|
| 31 |

Query 6:

| three |
|---|
| 12 |

Query 7:

| l | r |
|---|---|
| 391200Q98UGZZQTV1C88 | B |
| 549300DBENKHP53C1C31 | BB- |
| 391200FXD4CH3FVZ4165 | B- |
| 549300WMHA09HQ7NGF72 | BB |
| 724500N6QZUJJJ1BJI79 | BB |
| 2138003NRPV4IDSP9314 | B+ |
| 549300M13MMEINCT8W03 | B |
| 724500E2OQMMMZVTBS53 | BB- |
| 724500EVQNRETR9CVD02 | B- |
| 969500Z6AXSJ33YYZX35 | B- |
| 549300MXQ7UU7852PG70 | B- |
| 549300TPHB19IJU6VV67 | BB |
| 213800AXPZD5MSP2GW32 | BB |
| 213800S7QJ9EVK96PK05 | BB- |
| 724500EU84AMOZS7U244 | B- |
| 8156004CDHFBVRR3LT54 | BB |
| 21380057HMIY2LIM5A29 | BB+ |
| 724500S8Q4HUNT229Y84 | B |
| 39120041ZCI02VDN2I18 | B- |

Run more queries, or give the final answers.
The model
**Q1.** A-. E01's last action before 1 Jan 2025 was the assignment A12 (A-); the downgrade to BBB came later, on 2025-06-20.
**Q2.** No. E01's only 2026 actions (A03, A04) are affirmations.
**Q3.** No, BB+. I02 is subordinated and was downgraded to BB+ by A07.
**Q4.** Positive. E02 and E03 share one LEI, so they are the same entity, and the latest action is A09 (POS).
**Q5.** A holder takes the credit risk of E02, the guarantor of I03. I03 is rated A.
**Q6.** The foreign-currency rating is BB and the local-currency rating is BBB-. E05 is domiciled in VD, where the Country Ceiling is BB (A12) and caps foreign-currency ratings but not local-currency ones.
**Q7.** The 2026 downgrades are listed in the JSON. E5033's downgrade is dated 2026-11-06, which is after today, so I excluded it. QA record E16 is also excluded.
**Q8.** E08, which went to RD on 2026-07-08 (A22).
**Q9.** 377, counting distinct LEIs with a non-withdrawn issuer rating on 1 Oct 2026.
**Q10.** Depends. E05 is BB on the foreign-currency basis and BBB- on the local-currency basis.
**Q11.** BBB+. A36 downgraded E14 on 2024-09-30.
**Q12.** A-, from A34.
**Q13.** One downgrade (A36). The later RW and AF actions are not downgrades.
**Q14.** None. E12 was first rated on 2024-02-01.
**Q15.** A-. E10 was downgraded to BBB+ only on 2026-04-15.
**Q16.** No. E14 was BBB+ on 1 Jan 2025 and is still BBB+ after the 2026 affirmation.
**Q17.** No. E06 only went on Rating Watch Negative (A17).
**Q18.** Listed in the JSON.
**Q19.** Listed in the JSON.
**Q20.** No. E07's rating was withdrawn for commercial reasons (A19), which is not a default.
**Q21.** Listed in the JSON.
**Q22.** Only E08, which reached RD in A22.
**Q23.** F2, from A04.
**Q24.** Yes. E01 is BBB.
**Q25.** 72 instruments, excluding EX actions.
**Q26.** A+, from A40.
**Q27.** A-. I06 is subordinated and rated by A42.
**Q28.** BBB+, from A38. The A in A37 is the Country Ceiling, not the sovereign's rating.
**Q29.** None. VD has only a Country Ceiling (A12).
**Q30.** Listed in the JSON, against a CV ceiling of A and a VD ceiling of BB.
**Q31.** No. No foreign-currency rating exceeds its ceiling.
**Q32.** E09. The chain is E11 → E10 → E09.
**Q33.** The holder takes the credit risk of E10, the guarantor of I05. I05 is rated BBB+ (A29).
**Q34.** No. E12 has no parent and is outside the E09 group.
**Q35.** 3 (E09, E10, E11).
**Q36.** 2. E02 and E03 are one entity, and the other member is E04.
**Q37.** 495 distinct entities, grouping by LEI and excluding QA records.
**Q38.** No. They have different LEIs.
**Q39.** A.
**Q40.** 79.
**Q41.** None. E16 is a QA record and is ignored.
**Q42.** LU. The RESEARCH record E17 holds for domicile, overriding DE on E10.
**Q43.** 1.
**Q44.** Yes. I07 is in XVD, VD's domestic currency.
**Q45.** No. It is a local-currency obligation, which the ceiling does not cap.
**Q46.** No. E11 has only a credit opinion (A46).
**Q47.** None. I08 has only an Expected rating (A47), which is not a rating.
**Q48.** 113.
**Q49.** E5001. The chain runs E5047 → E5035 → E5023 → E5011 → E5167 (the same entity as E5005) → E5002 → E5001.
**Q50.** 6 levels.
**Q51.** 59.
**Q52.** 25.
**Q53.** No. They are in different groups.
**Q54.** E5106, E5124 and E5130.
**Q55.** 31.
**Q56.** BB-, held by E5144.
**Q57.** E5002.
**Q58.** E5145, guarantor of I5007, whose issuer E5133 is in a different group.
**Q59.** 12.
**Q60.** A holder takes E5145's credit risk, and it is not in the issuer's group.
**Q61.** 19. The top, E5001, is investment grade and is not counted.

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