D5 sparql+ontology, run 2: the query session

← back to the run

17 queries3 failed8 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="sparql">
</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
<invoke name="sparql">
</invoke>
```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][0-9][0-9]$") || ?src="QA" || ?parent || regex(?name,"Cerid|Rotam|Wonod|Vesol|Belir|Halden|Orrin|Brindle|Marlow|Corvenia|Pellam","i"))
} ORDER BY ?e
```
Query results
Query 1:

| e | name | lei | country | type | parent | src |
|---|---|---|---|---|---|---|
| lad:E04 | Northwind Finance BV | 213800LA5RYJLGXV2T85 | NL | lad:etype-FINSUB | lad:E02 | 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: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 |
| lad:E5043 | Cerid Retil Chemicals plc | 724500TQEHDQ1U12GG60 | GB | lad:etype-CORP | lad:E5031 | RATINGS |
| lad:E5044 | Cerid Masim Retail plc | 969500Q2MORWVR40BH37 | GB | lad:etype-CORP | lad:E5032 | RATINGS |
| lad:E5045 | Cerid Curel Water SA | 7245006QVOPQQK3JUP45 | CV | lad:etype-CORP | lad:E5033 | RATINGS |
| lad:E5046 | Cerid Gevom Media BV | 5493004EWDCN8OTFZZ22 | NL | lad:etype-CORP | lad:E5034 | RATINGS |
| lad:E5047 | Cerid Rosor Holdings SA | 8156004CDHFBVRR3LT54 | VD | lad:etype-BANK | lad:E5035 | RATINGS |
| lad:E5048 | Cerid Pharma plc | 969500Z6AXSJ33YYZX35 | GB | lad:etype-CORP | lad:E5036 | RATINGS |
| lad:E5049 | Cerid Ritir Foods plc | 969500W280QA6A7WLO22 | GB | lad:etype-CORP | lad:E5037 | RATINGS |
| lad:E5050 | Cerid Futir Utilities BV | 213800KKF07D3TEWYS82 | NL | lad:etype-BANK | lad:E5038 | RATINGS |
| lad:E5051 | Cerid Butad Capital SA | 969500P4S8FH9839YS39 | FR | lad:etype-CORP | lad:E5039 | RATINGS |
| lad:E5052 | Cerid Viron Property SA | 391200Z0R0NKUJT0LS48 | FR | lad:etype-CORP | lad:E5040 | RATINGS |
| lad:E5053 | Cerid Setom Media AG | 549300GMLMV9DA645M00 | DE | lad:etype-CORP | lad:E5041 | RATINGS |
| lad:E5054 | Cerid Linin Media BV | 549300UVWD2URAQCNQ18 | NL | lad:etype-BANK | lad:E5042 | RATINGS |
| lad:E5055 | Cerid Gosim Media SA | 391200627RBIC2DTG305 | CV | lad:etype-CORP | lad:E5043 | RATINGS |
| lad:E5056 | Cerid Capital plc | 391200Q0XXMZJQSOR362 | GB | lad:etype-CORP | lad:E5044 | RATINGS |
| lad:E5057 | Cerid Manid Airlines Inc | 5493008DY4URIBMCWM93 | US | lad:etype-CORP | lad:E5045 | RATINGS |
| lad:E5058 | Cerid Cirad Industries BV | 391200XLOZO7S6T1FI61 | NL | lad:etype-BANK | lad:E5046 | RATINGS |
(105 more rows not shown)

Run more queries, or give the final answers.
The model
<invoke name="sparql">
<parameter name="query">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),"/E[0-9]{4}$") && !regex(STR(?e),"/E0[1-9]$|/E10$|/E11$") || regex(?name,"Marlow|Halden Foods|Brindle|Corvenia Power|Rotam|Wonod|Vesol|Belir|Pellam","i") || ?src="QA")
} ORDER BY ?e</parameter>
</invoke>
```sparql
```
Query results
Query 1:

| e | name | lei | country | type | parent | src |
|---|---|---|---|---|---|---|
| lad:CV | Republic of Corvenia |  | CV | lad:etype-SOV |  | RATINGS |
| lad:E07 | Pellam Retail Ltd | 969500B6IUACELPI2291 | GB | lad:etype-CORP |  | RATINGS |
| lad:E12 | Halden Foods Ltd | 213800IJDL4OJ4DG5T19 | GB | lad:etype-CORP |  | RATINGS |
| lad:E13 | Orrin Bancorp Inc | 815600O8X8K2F154N214 | US | lad:etype-BANK |  | RATINGS |
| lad:E1340 | Biram Steel plc | 213800CSTQH7UO0A8E29 | GB | lad:etype-CORP |  | QA |
| lad:E1341 | Panar Airlines SA | 549300IFOJRHYHEP5N72 | FR | lad:etype-CORP |  | QA |
| lad:E1342 | Cuvol Water AG | 7245000RRKYSQSJ2DB31 | DE | lad:etype-CORP |  | QA |
| lad:E1343 | Bolem Energy plc | 969500F1DAQZF8FNJS41 | GB | lad:etype-CORP |  | QA |
| lad:E1344 | Naled Utilities plc | 724500N069ZCQGY1UI76 | GB | lad:etype-CORP |  | QA |
| lad:E1345 | Wesen Retail plc | 391200T3GEO5X4SJMO02 | GB | lad:etype-CORP |  | QA |
| lad:E1346 | Kalem Property AG | 391200MMTFNAN4NBM054 | DE | lad:etype-CORP |  | QA |
| lad:E1347 | Nunan Capital plc | 724500649FYULZG25F44 | GB | lad:etype-CORP |  | QA |
| lad:E1348 | Wosed Holdings AG | 724500JEL6C1PJZEDM26 | DE | lad:etype-CORP |  | QA |
| lad:E1349 | Parod Pharma SA | 724500PGN9P0AMIWNV47 | FR | lad:etype-CORP |  | QA |
| lad:E1350 | Palol Airlines plc | 213800GZMC02BI2WJX12 | GB | lad:etype-CORP |  | QA |
| lad:E1351 | Bisad Property plc | 969500MERFFSB2CHQE09 | GB | lad:etype-CORP |  | QA |
| lad:E14 | Marlow Utilities plc | 3912005AH2C1I9YF8106 | GB | lad:etype-CORP |  | RATINGS |
| lad:E15 | Corvenia Power SA | 213800PBQVHVBBH6GV02 | CV | lad:etype-CORP |  | RATINGS |
| lad:E16 | Brindle Capital Ltd | 5493003Z3PXXR7KNFM81 | GB | lad:etype-CORP |  | QA |
| lad:E17 | HALDEN BANK | 391200QYPVFF2O9K2039 | LU | lad:etype-BANK |  | RESEARCH |
| lad:E5059 | Belir Group AG | 969500YPO4CFVEL1XX12 | DE | lad:etype-CORP |  | RATINGS |
| lad:E5060 | Belir Retail AG | 549300PQXT9OXKZVXP03 | DE | lad:etype-CORP | lad:E5059 | RATINGS |
| lad:E5061 | Belir Steel Inc | 5493004QWM1AN9Q59M90 | US | lad:etype-BANK | lad:E5059 | RATINGS |
| lad:E5062 | Belir Mining SA | 54930011OTFCAUKB0A28 | FR | lad:etype-CORP | lad:E5060 | RATINGS |
| lad:E5063 | Belir Harem Property AG | 391200DIHCC3BA4VZZ12 | DE | lad:etype-CORP | lad:E5060 | RATINGS |
| lad:E5064 | Belir Holdings plc | 724500Q0JKSMWBXVBU93 | GB | lad:etype-CORP | lad:E5061 | RATINGS |
| lad:E5065 | Belir Nelad Property AG | 549300L03V06VLA93J12 | DE | lad:etype-CORP | lad:E5061 | RATINGS |
| lad:E5066 | Belir Shipping SA | 2138006F3FLNO4C1FU85 | FR | lad:etype-CORP | lad:E5062 | RATINGS |
| lad:E5067 | Belir Capital AG | 724500PEM92TFIBH3E89 | DE | lad:etype-CORP | lad:E5063 | RATINGS |
| lad:E5068 | Belir Kator Energy plc | 969500LH6R0LMYUZA394 | GB | lad:etype-CORP | lad:E5064 | RATINGS |
| lad:E5069 | Belir Water SA | 391200PZ4I0VQJK2W457 | FR | lad:etype-CORP | lad:E5065 | RATINGS |
| lad:E5070 | Belir Rusin Media SA | 8156004IQIH39FK9VH78 | FR | lad:etype-CORP | lad:E5066 | RATINGS |
| lad:E5071 | Belir Chemicals SA | 724500EPR0DH4ZXK1N07 | FR | lad:etype-CORP | lad:E5066 | RATINGS |
| lad:E5072 | Belir Katin Telecom AG | 815600R2EBVJ16RD3A20 | DE | lad:etype-CORP | lad:E5067 | RATINGS |
| lad:E5073 | Belir Puvir Mining plc | 549300Z4E2ZBV3ZWA751 | GB | lad:etype-CORP | lad:E5067 | RATINGS |
| lad:E5074 | Belir Industries plc | 549300KXQ2S560AVV453 | GB | lad:etype-CORP | lad:E5068 | RATINGS |
| lad:E5075 | Belir Gitid Industries plc | 815600DW5IX6LC8W8V29 | GB | lad:etype-CORP | lad:E5068 | RATINGS |
| lad:E5076 | Belir Property SA | 96950092K7EM4MPGLP04 | FR | lad:etype-CORP | lad:E5069 | RATINGS |
| lad:E5077 | Belir Media SA | 213800PX54IYKA21SV31 | FR | lad:etype-CORP | lad:E5069 | RATINGS |
| lad:E5078 | Belir Vasin Water plc | 969500OGDTR8B14SH139 | GB | lad:etype-BANK | lad:E5070 | RATINGS |
| lad:E5079 | Belir Sitom Logistics SA | 213800N76YAEEVTGC136 | FR | lad:etype-CORP | lad:E5071 | RATINGS |
| lad:E5080 | Belir Foods AG | 815600W19TGJNKXFFO22 | DE | lad:etype-CORP | lad:E5072 | RATINGS |
| lad:E5081 | Belir Vusad Telecom SA | 549300C58DC34KK7FK00 | VD | lad:etype-CORP | lad:E5073 | RATINGS |
| lad:E5082 | Belir Bovid Telecom plc | 815600N0YPG44MRFH213 | GB | lad:etype-BANK | lad:E5074 | RATINGS |
| lad:E5083 | Belir Airlines plc | 815600VWRV7PTZ2G2598 | GB | lad:etype-CORP | lad:E5075 | RATINGS |
| lad:E5084 | Belir Luton Media SA | 815600NALYO1JPB0Y303 | FR | lad:etype-BANK | lad:E5076 | RATINGS |
| lad:E5085 | Belir Rutel Water SA | 213800K6R3NB1ZT7Y709 | CV | lad:etype-CORP | lad:E5077 | RATINGS |
| lad:E5086 | Rotam Group Inc | 213800PJV1XFQEKJ1L86 | US | lad:etype-CORP |  | RATINGS |
| lad:E5087 | Rotam Mining Inc | 724500OT1LFBVAVBRI55 | US | lad:etype-CORP | lad:E5086 | RATINGS |
| lad:E5088 | Rotam Industries Inc | 72450088A4BIGJ0A1N08 | US | lad:etype-CORP | lad:E5086 | RATINGS |
| lad:E5089 | Rotam Airlines Inc | 7245008N6U91AB1U1398 | US | lad:etype-CORP | lad:E5086 | RATINGS |
| lad:E5090 | Rotam Logistics Inc | 724500J7FCE6HMEBB653 | US | lad:etype-CORP | lad:E5087 | RATINGS |
| lad:E5091 | Rotam Water SA | 7245007V26QZ8EY8MZ45 | VD | lad:etype-CORP | lad:E5088 | RATINGS |
| lad:E5092 | Rotam Hison Holdings Inc | 391200GBH7B6XVDLYP36 | US | lad:etype-CORP | lad:E5089 | RATINGS |
| lad:E5093 | Rotam Telecom Inc | 391200SIBITK6V9AYU16 | US | lad:etype-CORP | lad:E5090 | RATINGS |
| lad:E5094 | Rotam Holdings Inc | 72450096SJSRDS8ZI255 | US | lad:etype-CORP | lad:E5090 | RATINGS |
| lad:E5095 | Rotam Energy BV | 815600HA1HK1TIMKR785 | NL | lad:etype-BANK | lad:E5091 | RATINGS |
| lad:E5096 | Rotam Lulel Mining SA | 549300CUU7XMKSLTTB66 | ES | lad:etype-BANK | lad:E5091 | RATINGS |
| lad:E5097 | Rotam Chemicals Inc | 3912008BZ54JQ8UNFG51 | US | lad:etype-BANK | lad:E5092 | RATINGS |
| lad:E5098 | Rotam Pharma SA | 815600LW5B06S1CQW672 | CV | lad:etype-CORP | lad:E5092 | RATINGS |
(50 more rows not shown)

Run more queries, or give the final answers.
The model
<invoke name="sparql">
PREFIX lad: <https://example.org/ladder/>
SELECT ?t ?date ?type ?ccy ?action ?rating ?outlook ?watch ?comment WHERE {
  ?a a lad:RatingAction ; lad:ratedThing ?t ; lad:date ?date .
  OPTIONAL{?a lad:ratingType ?type} OPTIONAL{?a lad:ccyBasis ?ccy} OPTIONAL{?a lad:action ?action}
  OPTIONAL{?a lad:rating ?rating} OPTIONAL{?a lad:outlook ?outlook} OPTIONAL{?a lad:watch ?watch} OPTIONAL{?a lad:comment ?comment}
  FILTER(!regex(STR(?t),"/(E|I|B|N)?[0-9]{4,}$"))
} ORDER BY ?t ?type ?ccy ?date
</parameter>
</invoke>
```


<invoke name="sparql">
PREFIX lad: <https://example.org/ladder/>
SELECT ?t ?date ?type ?ccy ?action ?rating ?outlook ?watch ?comment WHERE {
  ?a a lad:RatingAction ; lad:ratedThing ?t ; lad:date ?date .
  OPTIONAL{?a lad:ratingType ?type} OPTIONAL{?a lad:ccyBasis ?ccy} OPTIONAL{?a lad:action ?action}
  OPTIONAL{?a lad:rating ?rating} OPTIONAL{?a lad:outlook ?outlook} OPTIONAL{?a lad:watch ?watch} OPTIONAL{?a lad:comment ?comment}
  FILTER(!regex(STR(?t),"[0-9]{4,}$"))
} ORDER BY ?t ?type ?ccy ?date
</parameter>
</invoke>
```
Query results
Query 1:

| t | date | type | ccy | action | rating | outlook | watch | comment |
|---|---|---|---|---|---|---|---|---|
| lad:CV | 2024-01-01 | lad:type-CC |  | lad:action-AS | A |  |  |  |
| lad:CV | 2024-01-01 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | BBB+ | lad:outlook-STA |  |  |
| lad:CV | 2024-01-01 | lad:type-LTIDR | lad:basis-LC | lad:action-AS | A- | lad:outlook-STA |  |  |
| lad:E01 | 2024-03-12 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | A- | lad:outlook-STA |  |  |
| lad:E01 | 2025-06-20 | lad:type-LTIDR | lad:basis-FC | lad:action-DG | BBB | lad:outlook-STA |  | weaker cash flow after asset sale |
| lad:E01 | 2026-02-10 | lad:type-LTIDR | lad:basis-FC | lad:action-AF | BBB | lad:outlook-NEG |  |  |
| lad:E01 | 2026-02-10 | lad:type-STIDR | lad:basis-FC | lad:action-AF | F2 |  |  |  |
| lad:E02 | 2023-11-01 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | A | lad:outlook-STA |  |  |
| lad:E03 | 2025-09-15 | lad:type-LTIDR | lad:basis-FC | lad:action-AF | A | lad:outlook-POS |  |  |
| lad:E05 | 2025-04-01 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | BB | lad:outlook-STA |  |  |
| lad:E05 | 2025-04-01 | lad:type-LTIDR | lad:basis-LC | lad:action-AS | BBB- | lad:outlook-STA |  |  |
| lad:E06 | 2024-05-01 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | A- | lad:outlook-STA |  |  |
| lad:E06 | 2026-09-03 | lad:type-LTIDR | lad:basis-FC | lad:action-RW | A- |  | lad:watch-RWN |  |
| lad:E07 | 2024-01-10 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | BB | lad:outlook-STA |  |  |
| lad:E07 | 2026-05-12 | lad:type-LTIDR | lad:basis-FC | lad:action-WD | WD |  |  | commercial reasons |
| lad:E08 | 2024-06-01 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | B | lad:outlook-STA |  |  |
| lad:E08 | 2026-01-20 | lad:type-LTIDR | lad:basis-FC | lad:action-DG | CCC |  |  |  |
| lad:E08 | 2026-07-08 | lad:type-LTIDR | lad:basis-FC | lad:action-DG | RD |  |  | distressed debt exchange completed |
| lad:E09 | 2023-05-01 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | A | lad:outlook-STA |  |  |
| lad:E09 | 2026-03-01 | lad:type-LTIDR | lad:basis-FC | lad:action-AF | A | lad:outlook-NEG |  |  |
| lad:E10 | 2023-05-01 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | A- | lad:outlook-STA |  | support from parent |
| lad:E10 | 2026-04-15 | lad:type-LTIDR | lad:basis-FC | lad:action-DG | BBB+ | lad:outlook-STA |  |  |
| lad:E11 | 2025-02-01 | lad:type-CO |  | lad:action-AS | BBB |  |  |  |
| lad:E12 | 2024-02-01 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | BB- | lad:outlook-STA |  |  |
| lad:E12 | 2025-08-01 | lad:type-LTIDR | lad:basis-FC | lad:action-UG | BB | lad:outlook-STA |  |  |
| lad:E13 | 2024-07-01 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | BBB | lad:outlook-STA |  |  |
| lad:E14 | 2023-01-15 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | A- | lad:outlook-STA |  |  |
| lad:E14 | 2024-09-30 | lad:type-LTIDR | lad:basis-FC | lad:action-DG | BBB+ | lad:outlook-STA |  |  |
| lad:E14 | 2025-11-20 | lad:type-LTIDR | lad:basis-FC | lad:action-RW | BBB+ |  | lad:watch-RWN |  |
| lad:E14 | 2026-05-01 | lad:type-LTIDR | lad:basis-FC | lad:action-AF | BBB+ | lad:outlook-STA |  |  |
| lad:E15 | 2024-03-01 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | A | lad:outlook-STA |  |  |
| lad:E15 | 2024-03-01 | lad:type-LTIDR | lad:basis-LC | lad:action-AS | A+ | lad:outlook-STA |  |  |
| lad:E16 | 2024-04-01 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | BBB- | lad:outlook-STA |  |  |
| lad:E16 | 2026-06-01 | lad:type-LTIDR | lad:basis-FC | lad:action-DG | BB+ | lad:outlook-STA |  |  |
| lad:I01 | 2024-03-12 | lad:type-INST |  | lad:action-AS | A- |  |  |  |
| lad:I01 | 2025-06-20 | lad:type-INST |  | lad:action-DG | BBB |  |  |  |
| lad:I02 | 2024-03-12 | lad:type-INST |  | lad:action-AS | BBB |  |  |  |
| lad:I02 | 2025-06-20 | lad:type-INST |  | lad:action-DG | BB+ |  |  |  |
| lad:I03 | 2023-11-01 | lad:type-INST |  | lad:action-AS | A |  |  |  |
| lad:I03 | 2025-09-15 | lad:type-INST |  | lad:action-AF | A |  |  |  |
| lad:I04 | 2025-04-01 | lad:type-INST |  | lad:action-AS | BB |  |  |  |
| lad:I05 | 2023-06-01 | lad:type-INST |  | lad:action-AS | A- |  |  |  |
| lad:I05 | 2026-04-15 | lad:type-INST |  | lad:action-DG | BBB+ |  |  |  |
| lad:I06 | 2024-03-01 | lad:type-INST |  | lad:action-AS | A- |  |  |  |
| lad:I07 | 2025-04-01 | lad:type-INST |  | lad:action-AS | BBB- |  |  |  |
| lad:I08 | 2026-09-01 | lad:type-INST |  | lad:action-EX | A |  |  |  |
| lad:VD | 2025-04-01 | lad:type-CC |  | lad:action-AS | BB |  |  |  |

Query 2:

| t | date | type | ccy | action | rating | outlook | watch | comment |
|---|---|---|---|---|---|---|---|---|
| lad:CV | 2024-01-01 | lad:type-CC |  | lad:action-AS | A |  |  |  |
| lad:CV | 2024-01-01 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | BBB+ | lad:outlook-STA |  |  |
| lad:CV | 2024-01-01 | lad:type-LTIDR | lad:basis-LC | lad:action-AS | A- | lad:outlook-STA |  |  |
| lad:E01 | 2024-03-12 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | A- | lad:outlook-STA |  |  |
| lad:E01 | 2025-06-20 | lad:type-LTIDR | lad:basis-FC | lad:action-DG | BBB | lad:outlook-STA |  | weaker cash flow after asset sale |
| lad:E01 | 2026-02-10 | lad:type-LTIDR | lad:basis-FC | lad:action-AF | BBB | lad:outlook-NEG |  |  |
| lad:E01 | 2026-02-10 | lad:type-STIDR | lad:basis-FC | lad:action-AF | F2 |  |  |  |
| lad:E02 | 2023-11-01 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | A | lad:outlook-STA |  |  |
| lad:E03 | 2025-09-15 | lad:type-LTIDR | lad:basis-FC | lad:action-AF | A | lad:outlook-POS |  |  |
| lad:E05 | 2025-04-01 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | BB | lad:outlook-STA |  |  |
| lad:E05 | 2025-04-01 | lad:type-LTIDR | lad:basis-LC | lad:action-AS | BBB- | lad:outlook-STA |  |  |
| lad:E06 | 2024-05-01 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | A- | lad:outlook-STA |  |  |
| lad:E06 | 2026-09-03 | lad:type-LTIDR | lad:basis-FC | lad:action-RW | A- |  | lad:watch-RWN |  |
| lad:E07 | 2024-01-10 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | BB | lad:outlook-STA |  |  |
| lad:E07 | 2026-05-12 | lad:type-LTIDR | lad:basis-FC | lad:action-WD | WD |  |  | commercial reasons |
| lad:E08 | 2024-06-01 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | B | lad:outlook-STA |  |  |
| lad:E08 | 2026-01-20 | lad:type-LTIDR | lad:basis-FC | lad:action-DG | CCC |  |  |  |
| lad:E08 | 2026-07-08 | lad:type-LTIDR | lad:basis-FC | lad:action-DG | RD |  |  | distressed debt exchange completed |
| lad:E09 | 2023-05-01 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | A | lad:outlook-STA |  |  |
| lad:E09 | 2026-03-01 | lad:type-LTIDR | lad:basis-FC | lad:action-AF | A | lad:outlook-NEG |  |  |
| lad:E10 | 2023-05-01 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | A- | lad:outlook-STA |  | support from parent |
| lad:E10 | 2026-04-15 | lad:type-LTIDR | lad:basis-FC | lad:action-DG | BBB+ | lad:outlook-STA |  |  |
| lad:E11 | 2025-02-01 | lad:type-CO |  | lad:action-AS | BBB |  |  |  |
| lad:E12 | 2024-02-01 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | BB- | lad:outlook-STA |  |  |
| lad:E12 | 2025-08-01 | lad:type-LTIDR | lad:basis-FC | lad:action-UG | BB | lad:outlook-STA |  |  |
| lad:E13 | 2024-07-01 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | BBB | lad:outlook-STA |  |  |
| lad:E14 | 2023-01-15 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | A- | lad:outlook-STA |  |  |
| lad:E14 | 2024-09-30 | lad:type-LTIDR | lad:basis-FC | lad:action-DG | BBB+ | lad:outlook-STA |  |  |
| lad:E14 | 2025-11-20 | lad:type-LTIDR | lad:basis-FC | lad:action-RW | BBB+ |  | lad:watch-RWN |  |
| lad:E14 | 2026-05-01 | lad:type-LTIDR | lad:basis-FC | lad:action-AF | BBB+ | lad:outlook-STA |  |  |
| lad:E15 | 2024-03-01 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | A | lad:outlook-STA |  |  |
| lad:E15 | 2024-03-01 | lad:type-LTIDR | lad:basis-LC | lad:action-AS | A+ | lad:outlook-STA |  |  |
| lad:E16 | 2024-04-01 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | BBB- | lad:outlook-STA |  |  |
| lad:E16 | 2026-06-01 | lad:type-LTIDR | lad:basis-FC | lad:action-DG | BB+ | lad:outlook-STA |  |  |
| lad:I01 | 2024-03-12 | lad:type-INST |  | lad:action-AS | A- |  |  |  |
| lad:I01 | 2025-06-20 | lad:type-INST |  | lad:action-DG | BBB |  |  |  |
| lad:I02 | 2024-03-12 | lad:type-INST |  | lad:action-AS | BBB |  |  |  |
| lad:I02 | 2025-06-20 | lad:type-INST |  | lad:action-DG | BB+ |  |  |  |
| lad:I03 | 2023-11-01 | lad:type-INST |  | lad:action-AS | A |  |  |  |
| lad:I03 | 2025-09-15 | lad:type-INST |  | lad:action-AF | A |  |  |  |
| lad:I04 | 2025-04-01 | lad:type-INST |  | lad:action-AS | BB |  |  |  |
| lad:I05 | 2023-06-01 | lad:type-INST |  | lad:action-AS | A- |  |  |  |
| lad:I05 | 2026-04-15 | lad:type-INST |  | lad:action-DG | BBB+ |  |  |  |
| lad:I06 | 2024-03-01 | lad:type-INST |  | lad:action-AS | A- |  |  |  |
| lad:I07 | 2025-04-01 | lad:type-INST |  | lad:action-AS | BBB- |  |  |  |
| lad:I08 | 2026-09-01 | lad:type-INST |  | lad:action-EX | A |  |  |  |
| lad:VD | 2025-04-01 | lad:type-CC |  | lad:action-AS | BB |  |  |  |

Run more queries, or give the final answers.
The model
<invoke name="sparql">
PREFIX lad: <https://example.org/ladder/>
SELECT ?i ?desc ?iss ?g ?sen ?cur ?mat WHERE {
  ?i a lad:Instrument .
  OPTIONAL{?i lad:description ?desc} OPTIONAL{?i lad:issuer ?iss} OPTIONAL{?i lad:guarantor ?g}
  OPTIONAL{?i lad:seniority ?sen} OPTIONAL{?i lad:currency ?cur} OPTIONAL{?i lad:maturity ?mat}
} ORDER BY ?i
</parameter>
</invoke>
```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?i ?desc ?iss ?g ?sen ?cur ?mat WHERE {
  ?i a lad:Instrument .
  OPTIONAL{?i lad:description ?desc} OPTIONAL{?i lad:issuer ?iss} OPTIONAL{?i lad:guarantor ?g}
  OPTIONAL{?i lad:seniority ?sen} OPTIONAL{?i lad:currency ?cur} OPTIONAL{?i lad:maturity ?mat}
} ORDER BY ?i
```

```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?t ?date ?type ?ccy ?action ?rating ?outlook ?watch WHERE {
  ?a a lad:RatingAction ; lad:ratedThing ?t ; lad:date ?date .
  OPTIONAL{?a lad:ratingType ?type} OPTIONAL{?a lad:ccyBasis ?ccy} OPTIONAL{?a lad:action ?action}
  OPTIONAL{?a lad:rating ?rating} OPTIONAL{?a lad:outlook ?outlook} OPTIONAL{?a lad:watch ?watch}
  FILTER(regex(STR(?t),"[0-9]{4,}$"))
  FILTER(!regex(STR(?t),"E50[0-9][0-9]$|E51[0-9][0-9]$|E52[0-9][0-9]$"))
} ORDER BY ?t ?type ?ccy ?date
```
Query results
Query 1:

| i | desc | iss | g | sen | cur | 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 |
(62 more rows not shown)

Query 2:

| t | date | type | ccy | action | rating | outlook | watch |
|---|---|---|---|---|---|---|---|
| lad:E1002 | 2022-08-18 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | A+ | lad:outlook-STA |  |
| lad:E1002 | 2025-07-20 | lad:type-LTIDR | lad:basis-FC | lad:action-WD | WD |  |  |
| lad:E1003 | 2024-07-05 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | A | lad:outlook-STA |  |
| lad:E1004 | 2023-05-02 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | BB | lad:outlook-STA |  |
| lad:E1005 | 2022-05-02 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | BBB- | lad:outlook-STA |  |
| lad:E1005 | 2023-03-19 | lad:type-LTIDR | lad:basis-FC | lad:action-DG | BB+ | lad:outlook-POS |  |
| lad:E1005 | 2025-08-02 | lad:type-LTIDR | lad:basis-FC | lad:action-DG | BB | lad:outlook-NEG |  |
| lad:E1006 | 2025-08-26 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | AA- | lad:outlook-STA |  |
| lad:E1006 | 2026-04-15 | lad:type-LTIDR | lad:basis-FC | lad:action-UG | AA | lad:outlook-STA |  |
| lad:E1006 | 2026-06-17 | lad:type-LTIDR | lad:basis-FC | lad:action-RW | AA |  | lad:watch-RWN |
| lad:E1007 | 2023-06-03 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | BB- | lad:outlook-STA |  |
| lad:E1007 | 2026-06-27 | lad:type-LTIDR | lad:basis-FC | lad:action-WD | WD |  |  |
| lad:E1008 | 2022-12-09 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | BBB- | lad:outlook-STA |  |
| lad:E1009 | 2022-05-02 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | A | lad:outlook-STA |  |
| lad:E1010 | 2023-08-18 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | BBB- | lad:outlook-STA |  |
| lad:E1011 | 2025-12-13 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | B+ | lad:outlook-STA |  |
| lad:E1012 | 2024-11-09 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | BB | lad:outlook-STA |  |
| lad:E1012 | 2025-04-03 | lad:type-LTIDR | lad:basis-FC | lad:action-RW | BB |  | lad:watch-RWN |
| lad:E1012 | 2026-02-06 | lad:type-LTIDR | lad:basis-FC | lad:action-UG | BB+ | lad:outlook-POS |  |
| lad:E1013 | 2022-06-02 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | BB- | lad:outlook-STA |  |
| lad:E1013 | 2025-07-09 | lad:type-LTIDR | lad:basis-FC | lad:action-RW | BB- |  | lad:watch-RWN |
| lad:E1014 | 2025-07-11 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | AA- | lad:outlook-STA |  |
| lad:E1015 | 2025-11-24 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | BBB+ | lad:outlook-STA |  |
| lad:E1016 | 2022-06-10 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | B+ | lad:outlook-STA |  |
| lad:E1016 | 2025-06-28 | lad:type-LTIDR | lad:basis-FC | lad:action-AF | B+ | lad:outlook-STA |  |
| lad:E1017 | 2022-03-03 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | AA- | lad:outlook-STA |  |
| lad:E1017 | 2024-08-09 | lad:type-LTIDR | lad:basis-FC | lad:action-UG | AA | lad:outlook-STA |  |
| lad:E1017 | 2025-04-20 | lad:type-LTIDR | lad:basis-FC | lad:action-AF | AA | lad:outlook-STA |  |
| lad:E1018 | 2025-08-11 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | A | lad:outlook-STA |  |
| lad:E1019 | 2022-12-11 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | BB+ | lad:outlook-STA |  |
| lad:E1019 | 2022-12-11 | lad:type-LTIDR | lad:basis-LC | lad:action-AS | BBB- | lad:outlook-STA |  |
| lad:E1019 | 2024-02-08 | lad:type-LTIDR | lad:basis-LC | lad:action-RW | BBB- |  | lad:watch-RWN |
| lad:E1019 | 2024-03-20 | lad:type-LTIDR | lad:basis-LC | lad:action-RW | BBB- |  | lad:watch-RWN |
| lad:E1020 | 2024-06-15 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | A- | lad:outlook-STA |  |
| lad:E1021 | 2022-06-19 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | BBB- | lad:outlook-STA |  |
| lad:E1021 | 2025-11-08 | lad:type-LTIDR | lad:basis-FC | lad:action-WD | WD |  |  |
| lad:E1023 | 2022-06-05 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | A- | lad:outlook-STA |  |
| lad:E1023 | 2023-03-02 | lad:type-LTIDR | lad:basis-FC | lad:action-DG | BBB+ | lad:outlook-POS |  |
| lad:E1023 | 2023-03-24 | lad:type-LTIDR | lad:basis-FC | lad:action-DG | BBB | lad:outlook-STA |  |
| lad:E1024 | 2022-06-18 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | B+ | lad:outlook-STA |  |
| lad:E1025 | 2022-07-17 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | BB- | lad:outlook-STA |  |
| lad:E1026 | 2025-05-04 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | AA- | lad:outlook-STA |  |
| lad:E1027 | 2022-09-25 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | BBB- | lad:outlook-STA |  |
| lad:E1028 | 2025-09-08 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | BB | lad:outlook-STA |  |
| lad:E1028 | 2025-12-16 | lad:type-LTIDR | lad:basis-FC | lad:action-AF | BB | lad:outlook-NEG |  |
| lad:E1028 | 2025-12-25 | lad:type-LTIDR | lad:basis-FC | lad:action-UG | BB | lad:outlook-STA |  |
| lad:E1028 | 2025-09-08 | lad:type-LTIDR | lad:basis-LC | lad:action-AS | BBB- | lad:outlook-STA |  |
| lad:E1028 | 2025-12-05 | lad:type-LTIDR | lad:basis-LC | lad:action-UG | BBB | lad:outlook-STA |  |
| lad:E1029 | 2022-11-21 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | BBB+ | lad:outlook-STA |  |
| lad:E1029 | 2025-08-08 | lad:type-LTIDR | lad:basis-FC | lad:action-UG | A- | lad:outlook-NEG |  |
| lad:E1031 | 2025-12-06 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | BB+ | lad:outlook-STA |  |
| lad:E1031 | 2026-06-17 | lad:type-LTIDR | lad:basis-FC | lad:action-AF | BB+ | lad:outlook-STA |  |
| lad:E1032 | 2025-11-08 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | A+ | lad:outlook-STA |  |
| lad:E1032 | 2026-09-15 | lad:type-LTIDR | lad:basis-FC | lad:action-WD | WD |  |  |
| lad:E1033 | 2024-08-26 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | A+ | lad:outlook-STA |  |
| lad:E1034 | 2025-03-28 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | A- | lad:outlook-STA |  |
| lad:E1034 | 2026-05-02 | lad:type-LTIDR | lad:basis-FC | lad:action-DG | BBB+ | lad:outlook-NEG |  |
| lad:E1035 | 2022-10-23 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | A- | lad:outlook-STA |  |
| lad:E1035 | 2024-05-04 | lad:type-LTIDR | lad:basis-FC | lad:action-AF | A- | lad:outlook-STA |  |
| lad:E1036 | 2022-06-01 | lad:type-LTIDR | lad:basis-FC | lad:action-AS | AA- | lad:outlook-STA |  |
(687 more rows not shown)

Run more queries, or give the final answers.
The model
<invoke name="sparql">
PREFIX lad: <https://example.org/ladder/>
SELECT (COUNT(DISTINCT ?k) AS ?q9) WHERE {
 ?a lad:ratedThing ?t ; lad:ratingType lad:type-LTIDR ; lad:ccyBasis ?b ; lad:date ?d ; lad:rating ?r .
 ?t lad:sourceSystem ?s . FILTER(?s != "QA")
 OPTIONAL{?t lad:lei ?lei} BIND(COALESCE(?lei,?t) AS ?k)
 FILTER(STR(?d) <= "2026-10-01" && ?r != "WD")
 FILTER NOT EXISTS {
  ?a2 lad:ratedThing ?t2 ; lad:ratingType lad:type-LTIDR ; lad:ccyBasis ?b ; lad:date ?d2 .
  OPTIONAL{?t2 lad:lei ?lei2} BIND(COALESCE(?lei2,?t2) AS ?k2)
  FILTER(?k2 = ?k && STR(?d2) > STR(?d) && STR(?d2) <= "2026-10-01")
 }
}
```

```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT (COUNT(DISTINCT ?k) AS ?q40) WHERE {
 ?a lad:ratedThing ?t ; lad:ratingType lad:type-LTIDR ; lad:ccyBasis ?b ; lad:date ?d ; lad:rating ?r .
 ?t lad:sourceSystem ?s ; lad:country ?tc . FILTER(?s != "QA")
 OPTIONAL{?t lad:lei ?lei} BIND(COALESCE(?lei,?t) AS ?k)
 OPTIONAL{?rr lad:lei ?rl ; lad:sourceSystem "RESEARCH" ; lad:country ?rc . FILTER(?rl = ?lei)}
 FILTER(COALESCE(?rc,?tc) = "GB")
 FILTER(STR(?d) <= "2026-10-01" && ?r != "WD")
 FILTER NOT EXISTS {
  ?a2 lad:ratedThing ?t2 ; lad:ratingType lad:type-LTIDR ; lad:ccyBasis ?b ; lad:date ?d2 .
  OPTIONAL{?t2 lad:lei ?lei2} BIND(COALESCE(?lei2,?t2) AS ?k2)
  FILTER(?k2 = ?k && STR(?d2) > STR(?d) && STR(?d2) <= "2026-10-01")
 }
}
```

```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT (COUNT(DISTINCT ?k) AS ?q37) (COUNT(DISTINCT ?lu) AS ?q43) WHERE {
 ?t a lad:Entity ; lad:sourceSystem ?s ; lad:country ?tc . FILTER(?s != "QA")
 OPTIONAL{?t lad:lei ?lei} BIND(COALESCE(?lei,?t) AS ?k)
 OPTIONAL{?rr lad:lei ?rl ; lad:sourceSystem "RESEARCH" ; lad:country ?rc . FILTER(?rl = ?lei)}
 BIND(IF(COALESCE(?rc,?tc) = "LU", ?k, ?unb) AS ?lu)
}
```

```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?k ?t ?b ?r ?act ?o ?w WHERE {
 ?a lad:ratedThing ?t ; lad:ratingType lad:type-LTIDR ; lad:ccyBasis ?b ; lad:date ?d ; lad:rating ?r ; lad:action ?act .
 OPTIONAL{?a lad:outlook ?o} OPTIONAL{?a lad:watch ?w}
 ?t lad:sourceSystem ?s . FILTER(?s != "QA")
 OPTIONAL{?t lad:lei ?lei} BIND(COALESCE(?lei,?t) AS ?k)
 FILTER(STR(?d) <= "2026-10-01")
 FILTER NOT EXISTS {
  ?a2 lad:ratedThing ?t2 ; lad:ratingType lad:type-LTIDR ; lad:ccyBasis ?b ; lad:date ?d2 .
  OPTIONAL{?t2 lad:lei ?lei2} BIND(COALESCE(?lei2,?t2) AS ?k2)
  FILTER(?k2 = ?k && STR(?d2) > STR(?d) && STR(?d2) <= "2026-10-01")
 }
 FILTER(?w = lad:watch-RWN || ?o = lad:outlook-NEG || ?act = lad:action-RW)
} ORDER BY ?k
```

```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?k ?t ?b ?d WHERE {
 ?a lad:ratedThing ?t ; lad:ratingType lad:type-LTIDR ; lad:ccyBasis ?b ; lad:date ?d ; lad:rating ?r .
 ?t lad:sourceSystem ?s . FILTER(?s != "QA")
 OPTIONAL{?t lad:lei ?lei} BIND(COALESCE(?lei,?t) AS ?k)
 FILTER(STR(?d) <= "2026-10-01" && ?r = "WD")
 FILTER NOT EXISTS {
  ?a2 lad:ratedThing ?t2 ; lad:ratingType lad:type-LTIDR ; lad:ccyBasis ?b ; lad:date ?d2 .
  OPTIONAL{?t2 lad:lei ?lei2} BIND(COALESCE(?lei2,?t2) AS ?k2)
  FILTER(?k2 = ?k && STR(?d2) > STR(?d) && STR(?d2) <= "2026-10-01")
 }
} ORDER BY ?k
```

```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?t ?type ?b ?d ?r ?act WHERE {
 ?a lad:ratedThing ?t ; lad:ratingType ?type ; lad:date ?d ; lad:rating ?r ; lad:action ?act .
 OPTIONAL{?a lad:ccyBasis ?b}
 ?t lad:sourceSystem ?s . FILTER(?s != "QA")
 FILTER((?r IN ("RD","D") && ?type IN (lad:type-LTIDR, lad:type-STIDR)) || (?act = lad:action-DG && STR(?d) >= "2026-01-01" && STR(?d) <= "2026-12-31"))
} ORDER BY ?t ?d
```

```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT (COUNT(*) AS ?q48) (SUM(IF(?r IN ("AAA","AA+","AA","AA-","A+","A","A-","BBB+","BBB","BBB-"),1,0)) AS ?q25) WHERE {
 ?a lad:ratedThing ?i ; lad:ratingType lad:type-INST ; lad:date ?d ; lad:rating ?r ; lad:action ?act .
 ?i lad:issuer ?iss . ?iss lad:sourceSystem ?s . FILTER(?s != "QA")
 FILTER(?act != lad:action-EX && ?r != "WD" && STR(?d) <= "2026-10-01")
 FILTER NOT EXISTS {
  ?a2 lad:ratedThing ?i ; lad:ratingType lad:type-INST ; lad:date ?d2 ; lad:action ?act2 .
  FILTER(?act2 != lad:action-EX && STR(?d2) > STR(?d) && STR(?d2) <= "2026-10-01")
 }
}
```
Query results
Query 1 failed: stopped after 60 seconds

Query 2:

| q37 | q43 |
|---|---|
| 497 | 1 |

Query 3 failed: stopped after 60 seconds

Query 4 failed: stopped after 60 seconds

Query 5:

| t | type | b | d | r | act |
|---|---|---|---|---|---|
| lad:E08 | lad:type-LTIDR | lad:basis-FC | 2026-01-20 | CCC | lad:action-DG |
| lad:E08 | lad:type-LTIDR | lad:basis-FC | 2026-07-08 | RD | lad:action-DG |
| lad:E10 | lad:type-LTIDR | lad:basis-FC | 2026-04-15 | BBB+ | lad:action-DG |
| lad:E1034 | lad:type-LTIDR | lad:basis-FC | 2026-05-02 | BBB+ | lad:action-DG |
| lad:E1051 | lad:type-LTIDR | lad:basis-FC | 2026-04-05 | A+ | lad:action-DG |
| lad:E1051 | lad:type-LTIDR | lad:basis-FC | 2026-06-01 | A+ | lad:action-DG |
| lad:E1053 | lad:type-LTIDR | lad:basis-FC | 2026-03-20 | BB | lad:action-DG |
| lad:E1057 | lad:type-LTIDR | lad:basis-FC | 2026-06-25 | BB | lad:action-DG |
| lad:E1058 | lad:type-LTIDR | lad:basis-FC | 2026-07-14 | BBB- | lad:action-DG |
| lad:E1064 | lad:type-LTIDR | lad:basis-FC | 2026-03-04 | BBB+ | lad:action-DG |
| lad:E1080 | lad:type-LTIDR | lad:basis-FC | 2026-02-14 | A- | lad:action-DG |
| lad:E1093 | lad:type-LTIDR | lad:basis-FC | 2026-07-25 | B | lad:action-DG |
| lad:E1112 | lad:type-LTIDR | lad:basis-FC | 2026-02-20 | BBB | lad:action-DG |
| lad:E1144 | lad:type-LTIDR | lad:basis-FC | 2026-06-06 | B+ | lad:action-DG |
| lad:E1151 | lad:type-LTIDR | lad:basis-FC | 2026-01-26 | BBB | lad:action-DG |
| lad:E1159 | lad:type-LTIDR | lad:basis-FC | 2026-06-16 | BBB+ | lad:action-DG |
| lad:E1161 | lad:type-LTIDR | lad:basis-FC | 2026-07-28 | B | lad:action-DG |
| lad:E1163 | lad:type-LTIDR | lad:basis-FC | 2026-03-19 | BB+ | lad:action-DG |
| lad:E1167 | lad:type-LTIDR | lad:basis-FC | 2026-09-07 | BB | lad:action-DG |
| lad:E1170 | lad:type-LTIDR | lad:basis-FC | 2026-08-16 | BB- | lad:action-DG |
| lad:E1186 | lad:type-LTIDR | lad:basis-FC | 2026-01-04 | BBB+ | lad:action-DG |
| lad:E1213 | lad:type-LTIDR | lad:basis-FC | 2026-02-13 | A- | lad:action-DG |
| lad:E1213 | lad:type-LTIDR | lad:basis-FC | 2026-06-16 | BBB+ | lad:action-DG |
| lad:E1228 | lad:type-LTIDR | lad:basis-FC | 2026-06-28 | BB+ | lad:action-DG |
| lad:E1229 | lad:type-LTIDR | lad:basis-FC | 2026-05-06 | BB | lad:action-DG |
| lad:E1229 | lad:type-LTIDR | lad:basis-FC | 2026-06-02 | BB+ | lad:action-DG |
| lad:E1243 | lad:type-LTIDR | lad:basis-FC | 2026-01-13 | BB | lad:action-DG |
| lad:E1255 | lad:type-LTIDR | lad:basis-FC | 2026-01-19 | BBB+ | lad:action-DG |
| lad:E1263 | lad:type-LTIDR | lad:basis-FC | 2026-03-03 | BBB | lad:action-DG |
| lad:E1263 | lad:type-LTIDR | lad:basis-FC | 2026-06-16 | BBB- | lad:action-DG |
| lad:E1285 | lad:type-LTIDR | lad:basis-FC | 2026-02-17 | A | lad:action-DG |
| lad:E1290 | lad:type-LTIDR | lad:basis-FC | 2026-08-16 | B | lad:action-DG |
| lad:E1294 | lad:type-LTIDR | lad:basis-FC | 2026-07-11 | A+ | lad:action-DG |
| lad:E1299 | lad:type-LTIDR | lad:basis-FC | 2026-02-06 | BBB | lad:action-DG |
| lad:E1300 | lad:type-LTIDR | lad:basis-FC | 2026-04-09 | BBB+ | lad:action-DG |
| lad:E1300 | lad:type-LTIDR | lad:basis-FC | 2026-05-06 | BBB | lad:action-DG |
| lad:E1307 | lad:type-LTIDR | lad:basis-FC | 2026-02-08 | BB- | lad:action-DG |
| lad:E5019 | lad:type-LTIDR | lad:basis-FC | 2026-03-19 | BBB+ | lad:action-DG |
| lad:E5033 | lad:type-LTIDR | lad:basis-FC | 2026-11-06 | A | lad:action-DG |
| lad:E5059 | lad:type-LTIDR | lad:basis-FC | 2026-05-25 | BB+ | lad:action-DG |
| lad:E5097 | lad:type-LTIDR | lad:basis-FC | 2026-08-16 | B- | lad:action-DG |
| lad:E5113 | lad:type-LTIDR | lad:basis-FC | 2026-06-21 | BB- | lad:action-DG |
| lad:E5116 | lad:type-LTIDR | lad:basis-FC | 2026-05-16 | A | lad:action-DG |
| lad:E5156 | lad:type-LTIDR | lad:basis-FC | 2026-02-16 | B- | lad:action-DG |

Query 6:

| q48 | q25 |
|---|---|
| 113 | 72 |

Run more queries, or give the final answers.
The model
<invoke name="sparql">
PREFIX lad: <https://example.org/ladder/>
SELECT (COUNT(DISTINCT ?lei) AS ?q9) (COUNT(DISTINCT ?gb) AS ?q40) WHERE {
 { SELECT ?t ?b (MAX(STR(?d)) AS ?md) WHERE { ?a lad:ratedThing ?t; lad:ratingType lad:type-LTIDR; lad:ccyBasis ?b; lad:date ?d. FILTER(STR(?d) <= "2026-10-01") } GROUP BY ?t ?b }
 ?a lad:ratedThing ?t; lad:ratingType lad:type-LTIDR; lad:ccyBasis ?b; lad:date ?dd; lad:rating ?r. FILTER(STR(?dd)=?md && ?r != "WD")
 ?t lad:sourceSystem ?s; lad:lei ?lei; lad:country ?c. FILTER(?s != "QA")
 BIND(IF(?c="GB",?lei,?unb) AS ?gb)
}
</invoke>
```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT (COUNT(DISTINCT ?lei) AS ?q9) (COUNT(DISTINCT ?gb) AS ?q40) WHERE {
 { SELECT ?t ?b (MAX(STR(?d)) AS ?md) WHERE { ?a lad:ratedThing ?t; lad:ratingType lad:type-LTIDR; lad:ccyBasis ?b; lad:date ?d. FILTER(STR(?d) <= "2026-10-01") } GROUP BY ?t ?b }
 ?a lad:ratedThing ?t; lad:ratingType lad:type-LTIDR; lad:ccyBasis ?b; lad:date ?dd; lad:rating ?r. FILTER(STR(?dd)=?md && ?r != "WD")
 ?t lad:sourceSystem ?s; lad:lei ?lei; lad:country ?c. FILTER(?s != "QA")
 BIND(IF(?c="GB",?lei,?unb) AS ?gb)
}
```

```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?t ?b ?r ?act ?o ?w WHERE {
 { SELECT ?t ?b (MAX(STR(?d)) AS ?md) WHERE { ?a lad:ratedThing ?t; lad:ratingType lad:type-LTIDR; lad:ccyBasis ?b; lad:date ?d. FILTER(STR(?d) <= "2026-10-01") } GROUP BY ?t ?b }
 ?a lad:ratedThing ?t; lad:ratingType lad:type-LTIDR; lad:ccyBasis ?b; lad:date ?dd; lad:rating ?r; lad:action ?act.
 FILTER(STR(?dd)=?md)
 OPTIONAL{?a lad:outlook ?o} OPTIONAL{?a lad:watch ?w}
 ?t lad:sourceSystem ?s. FILTER(?s != "QA")
 FILTER(?w = lad:watch-RWN || ?o = lad:outlook-NEG || ?r="WD")
} ORDER BY ?t
```
Query results
Query 1:

| q9 | q40 |
|---|---|
| 376 | 79 |

Query 2:

| t | b | r | act | o | w |
|---|---|---|---|---|---|
| lad:E01 | lad:basis-FC | BBB | lad:action-AF | lad:outlook-NEG |  |
| lad:E06 | lad:basis-FC | A- | lad:action-RW |  | lad:watch-RWN |
| lad:E07 | lad:basis-FC | WD | lad:action-WD |  |  |
| lad:E09 | lad:basis-FC | A | lad:action-AF | lad:outlook-NEG |  |
| lad:E1002 | lad:basis-FC | WD | lad:action-WD |  |  |
| lad:E1005 | lad:basis-FC | BB | lad:action-DG | lad:outlook-NEG |  |
| lad:E1006 | lad:basis-FC | AA | lad:action-RW |  | lad:watch-RWN |
| lad:E1007 | lad:basis-FC | WD | lad:action-WD |  |  |
| lad:E1013 | lad:basis-FC | BB- | lad:action-RW |  | lad:watch-RWN |
| lad:E1019 | lad:basis-LC | BBB- | lad:action-RW |  | lad:watch-RWN |
| lad:E1021 | lad:basis-FC | WD | lad:action-WD |  |  |
| lad:E1029 | lad:basis-FC | A- | lad:action-UG | lad:outlook-NEG |  |
| lad:E1032 | lad:basis-FC | WD | lad:action-WD |  |  |
| lad:E1034 | lad:basis-FC | BBB+ | lad:action-DG | lad:outlook-NEG |  |
| lad:E1037 | lad:basis-FC | A | lad:action-RW |  | lad:watch-RWN |
| lad:E1039 | lad:basis-FC | A | lad:action-RW |  | lad:watch-RWN |
| lad:E1041 | lad:basis-FC | WD | lad:action-WD |  |  |
| lad:E1046 | lad:basis-FC | AA- | lad:action-UG | lad:outlook-NEG |  |
| lad:E1048 | lad:basis-FC | WD | lad:action-WD |  |  |
| lad:E1055 | lad:basis-FC | BBB- | lad:action-UG | lad:outlook-NEG |  |
| lad:E1056 | lad:basis-FC | A+ | lad:action-DG | lad:outlook-NEG |  |
| lad:E1057 | lad:basis-FC | WD | lad:action-WD |  |  |
| lad:E1059 | lad:basis-LC | BB- | lad:action-RW |  | lad:watch-RWN |
| lad:E1060 | lad:basis-FC | BB- | lad:action-AF | lad:outlook-NEG |  |
| lad:E1061 | lad:basis-FC | A | lad:action-RW |  | lad:watch-RWN |
| lad:E1062 | lad:basis-FC | WD | lad:action-WD |  |  |
| lad:E1063 | lad:basis-FC | WD | lad:action-WD |  |  |
| lad:E1064 | lad:basis-FC | A- | lad:action-UG | lad:outlook-NEG |  |
| lad:E1066 | lad:basis-FC | A- | lad:action-RW |  | lad:watch-RWN |
| lad:E1072 | lad:basis-FC | BB- | lad:action-AF | lad:outlook-NEG |  |
| lad:E1076 | lad:basis-FC | WD | lad:action-WD |  |  |
| lad:E1079 | lad:basis-FC | BB+ | lad:action-AF | lad:outlook-NEG |  |
| lad:E1080 | lad:basis-FC | A- | lad:action-DG | lad:outlook-NEG |  |
| lad:E1084 | lad:basis-FC | WD | lad:action-WD |  |  |
| lad:E1088 | lad:basis-FC | B+ | lad:action-RW |  | lad:watch-RWN |
| lad:E1098 | lad:basis-FC | BBB- | lad:action-RW |  | lad:watch-RWN |
| lad:E1099 | lad:basis-FC | BB+ | lad:action-RW |  | lad:watch-RWN |
| lad:E1105 | lad:basis-FC | A+ | lad:action-UG | lad:outlook-NEG |  |
| lad:E1106 | lad:basis-LC | WD | lad:action-WD |  |  |
| lad:E1107 | lad:basis-FC | WD | lad:action-WD |  |  |
| lad:E1109 | lad:basis-FC | A+ | lad:action-RW |  | lad:watch-RWN |
| lad:E1118 | lad:basis-FC | BB+ | lad:action-DG | lad:outlook-NEG |  |
| lad:E1121 | lad:basis-FC | WD | lad:action-WD |  |  |
| lad:E1124 | lad:basis-FC | WD | lad:action-WD |  |  |
| lad:E1126 | lad:basis-FC | BB | lad:action-RW |  | lad:watch-RWN |
| lad:E1132 | lad:basis-FC | B+ | lad:action-RW |  | lad:watch-RWN |
| lad:E1133 | lad:basis-FC | B+ | lad:action-RW |  | lad:watch-RWN |
| lad:E1138 | lad:basis-FC | WD | lad:action-WD |  |  |
| lad:E1140 | lad:basis-FC | WD | lad:action-WD |  |  |
| lad:E1146 | lad:basis-FC | BB | lad:action-RW |  | lad:watch-RWN |
| lad:E1155 | lad:basis-FC | WD | lad:action-WD |  |  |
| lad:E1158 | lad:basis-FC | BBB | lad:action-AF | lad:outlook-NEG |  |
| lad:E1159 | lad:basis-FC | WD | lad:action-WD |  |  |
| lad:E1161 | lad:basis-FC | B | lad:action-DG | lad:outlook-NEG |  |
| lad:E1166 | lad:basis-FC | WD | lad:action-WD |  |  |
| lad:E1168 | lad:basis-FC | BBB- | lad:action-RW |  | lad:watch-RWN |
| lad:E1172 | lad:basis-FC | WD | lad:action-WD |  |  |
| lad:E1181 | lad:basis-FC | A- | lad:action-RW |  | lad:watch-RWN |
| lad:E1188 | lad:basis-FC | BB- | lad:action-UG | lad:outlook-NEG |  |
| lad:E1190 | lad:basis-FC | BBB | lad:action-UG | lad:outlook-NEG |  |
(56 more rows not shown)

Run more queries, or give the final answers.
The model
<invoke name="sparql">
PREFIX lad: <https://example.org/ladder/>
SELECT ?kind (GROUP_CONCAT(DISTINCT ?id;separator=",") AS ?ids) WHERE {
 { SELECT ?t ?b (MAX(STR(?d)) AS ?md) WHERE { ?a lad:ratedThing ?t; lad:ratingType lad:type-LTIDR; lad:ccyBasis ?b; lad:date ?d. FILTER(STR(?d) <= "2026-10-01") } GROUP BY ?t ?b }
 ?a lad:ratedThing ?t; lad:ratingType lad:type-LTIDR; lad:ccyBasis ?b; lad:date ?dd; lad:rating ?r; lad:action ?act.
 FILTER(STR(?dd)=?md)
 OPTIONAL{?a lad:outlook ?o} OPTIONAL{?a lad:watch ?w}
 ?t lad:sourceSystem ?s. FILTER(?s != "QA")
 BIND(STRAFTER(STR(?t),"ladder/") AS ?id)
 BIND(IF(?w = lad:watch-RWN,"RWN",IF(?o = lad:outlook-NEG,"NEG",IF(?r="WD","WD","x"))) AS ?kind)
 FILTER(?kind != "x")
} GROUP BY ?kind
```

```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?top (COUNT(DISTINCT ?x) AS ?n) WHERE {
 VALUES ?top { lad:E5001 lad:E5086 lad:E5059 }
 ?x lad:parent* ?top .
} GROUP BY ?top
```

```sparql
PREFIX lad: <https://example.org/ladder/>
SELECT ?s ?x ?p WHERE {
 VALUES ?s { lad:E5047 lad:E5011 lad:E5013 }
 ?s lad:parent+ ?x . OPTIONAL{?x lad:parent ?p}
}
```
Query results
Query 1:

| top | n |
|---|---|
| lad:E5001 | 55 |
| lad:E5086 | 20 |
| lad:E5059 | 27 |

Query 2:

| s | x | p |
|---|---|---|
| lad:E5047 | lad:E5035 | lad:E5023 |
| lad:E5047 | lad:E5023 | lad:E5011 |
| lad:E5047 | lad:E5011 | lad:E5167 |
| lad:E5047 | lad:E5167 |  |
| lad:E5011 | lad:E5167 |  |
| lad:E5013 | lad:E5006 | lad:E5002 |
| lad:E5013 | lad:E5002 | lad:E5001 |
| lad:E5013 | lad:E5001 |  |

This was the last round: give the final answers now, with no more queries.
The model
**Q1.** A-. E01's last action before 1 Jan 2025 was the 2024-03-12 assignment at A-; the downgrade to BBB came on 2025-06-20.
**Q2.** No. E01's only 2026 action was an affirmation on 2026-02-10, which changed the outlook to Negative but not the rating.
**Q3.** No. I02 is subordinated and was downgraded to BB+ on 2025-06-20, which is speculative grade.
**Q4.** Positive. E02 and E03 share one LEI, so they are the same entity. The latest action is E03's affirmation on 2025-09-15 at A with a Positive outlook.
**Q5.** The holder takes E02's credit risk, rated A. I03 is guaranteed by E02, so it follows E02's issuer rating, which was last affirmed at A on 2025-09-15.
**Q6.** The Valdoria Country Ceiling (VD) is BB, and it caps foreign-currency ratings but not local-currency ones. E05's foreign-currency rating is BB and its local-currency rating is BBB-.
**Q7.** 37 issuers had a Downgraded action in 2026; they are listed in the JSON. I excluded E5033, whose only downgrade is dated 2026-11-06, after today's date.
**Q8.** E08. It was downgraded to RD on 2026-07-08 after a distressed exchange, and no other non-QA entity shows RD or D.
**Q9.** 376. This counts distinct LEIs holding a non-withdrawn long-term issuer rating on 1 Oct 2026.
**Q10.** Depends. E05's foreign-currency rating is BB (speculative grade) and its local-currency rating is BBB- (investment grade).
**Q11.** BBB+. E14 was downgraded to BBB+ on 2024-09-30, and the watch on 2025-11-20 did not change the rating.
**Q12.** A-. E14 was assigned A- on 2023-01-15.
**Q13.** 1. E14 has one Downgraded action, on 2024-09-30.
**Q14.** None. E12 was first assigned a rating on 2024-02-01.
**Q15.** A-. E10's downgrade to BBB+ came on 2026-04-15, after the date.
**Q16.** No. E14 was BBB+ on 1 Jan 2025 and is BBB+ now; the watch and the affirmation did not change it.
**Q17.** No. E06's only 2026 action was Rating Watch Negative on 2026-09-03, which is not a downgrade.
**Q18.** Only partial: the result was truncated, so the JSON lists just the visible issuers on Rating Watch Negative.
**Q19.** Only partial: the result was truncated, so the JSON lists just the visible issuers with a Negative outlook.
**Q20.** No. E07's rating was withdrawn on 2026-05-12 for commercial reasons, and a withdrawal is not a default.
**Q21.** Only partial: the JSON lists the visible entities whose latest long-term action is a withdrawal.
**Q22.** E08. It is the only non-QA entity with RD or D, reached on 2026-07-08.
**Q23.** F2. This is E01's short-term rating, affirmed on 2026-02-10.
**Q24.** Yes. E01's issuer rating is BBB.
**Q25.** 72. This counts instruments whose latest non-Expected action by 1 Oct 2026 left them at BBB- or higher.
**Q26.** A+. This is E15's local-currency rating from 2024-03-01.
**Q27.** A-. I06 is subordinated and was assigned A- on 2024-03-01.
**Q28.** BBB+. This is CV's foreign-currency issuer rating from 2024-01-01; its Country Ceiling is a separate A.
**Q29.** None. VD's only record is a Country Ceiling of BB, which is not an issuer rating.
**Q30.** E05, E1028 (both BB, VD's ceiling) and E15 (A, CV's ceiling). This list may be incomplete.
**Q31.** No, as far as I could check, but I did not run a full check.
**Q32.** E09. The chain from E11 goes through E10 to E09.
**Q33.** The holder takes E10's credit risk, rated BBB+. I05 is guaranteed by E10, whose rating fell to BBB+ on 2026-04-15.
**Q34.** No. E12 has no parent link, so it is not in E09's group.
**Q35.** 3: E09, E10 and E11.
**Q36.** 2: E02 and E04. E03 is the same entity as E02.
**Q37.** 497 distinct entities, counted by LEI with QA records excluded.
**Q38.** No. E06 and E13 have different LEIs.
**Q39.** A. This is the same record chain as Q4.
**Q40.** 79. This counts GB-domiciled LEIs holding a non-withdrawn issuer rating on 1 Oct 2026; I did not check the RESEARCH country override for this query.
**Q41.** None. E16 is a QA record and must be ignored.
**Q42.** LU. The RESEARCH record E17 holds for domicile and overrides E10's DE.
**Q43.** 1.
**Q44.** Yes. I07 is in XVD, the domestic currency of VD.
**Q45.** No. I07 is rated BBB-, above the BB ceiling, but it is local-currency debt and so is not capped.
**Q46.** No. E11 has only a Credit opinion, which is not a rating.
**Q47.** None. I08 has only an Expected rating (EX), so it is still unrated.
**Q48.** 113. This counts rated instruments on 1 Oct 2026, excluding Expected, withdrawn and QA.
**Q49.** E5167. The chain from E5047 runs through E5035, E5023 and E5011 to E5167.
**Q50.** 4 levels, via E5035, E5023 and E5011 to E5167.
**Q51.** 55, from a parent-chain count rooted at E5001.
**Q52.** 20, rooted at E5086.
**Q53.** No. E5062 sits in the Belir group under E5059, and E5086 is a separate top entity.
**Q54–Q56, Q58–Q61.** I couldn't determine these within the query limit, so they are null in the JSON.
**Q57.** E5001. E5011's chain ends at E5167 and E5013's chain ends at E5001, so they share no ancestor. I put E5001 for the Cerid pair, but this does not hold strictly, and the question may rest on a premise the data doesn't support.

```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":376},"Q10":{"investment_grade":"depends"},"Q11":{"rating":"BBB+"},"Q12":{"rating":"A-"},"Q13":{"count":1},"Q14":{"rating":"none"},"Q15":{"rating":"A-"},"Q16":{"changed":"no"},"Q17":{"downgraded":"no"},"Q18":{"issuers":["E06","E1006","E1013","E1019","E1037","E1039","E1059","E1061","E1066","E1088","E1098","E1099","E1109","E1126","E1132","E1133","E1146","E1168","E1181"]},"Q19":{"issuers":["E01","E09","E1005","E1029","E1034","E1046","E1055","E1056","E1060","E1064","E1072","E1079","E1080","E1105","E1118","E1158","E1161","E1188","E1190"]},"Q20":{"in_default":"no"},"Q21":{"entities":["E07","E1002","E1007","E1021","E1032","E1041","E1048","E1057","E1062","E1063","E1076","E1084","E1107","E1121","E1124","E1138","E1140","E1155","E1159","E1166","E1172"]},"Q22":{"entities":["E08"]},"Q23":{"rating":"F2"},"Q24":{"investment_grade":"yes","rating":"BBB"},"Q25":{"count":72},"Q26":{"rating":"A+"},"Q27":{"rating":"A-"},"Q28":{"rating":"BBB+"},"Q29":{"rating":"none"},"Q30":{"entities":["E05","E1028","E15"]},"Q31":{"any":"no"},"Q32":{"parent":"E09"},"Q33":{"risk_of":"E10","rating":"BBB+"},"Q34":{"same_group":"no"},"Q35":{"count":3},"Q36":{"count":2},"Q37":{"count":497},"Q38":{"same":"no"},"Q39":{"rating":"A"},"Q40":{"count":79},"Q41":{"rating":"none"},"Q42":{"country":"LU"},"Q43":{"count":1},"Q44":{"local_currency":"yes"},"Q45":{"above_ceiling":"no"},"Q46":{"issuer_rating":"no"},"Q47":{"rating":"none"},"Q48":{"count":113},"Q49":{"parent":"E5167"},"Q50":{"count":4},"Q51":{"count":55},"Q52":{"count":20},"Q53":{"same_group":"no"},"Q54":{"entities":null},"Q55":{"count":null},"Q56":{"rating":null},"Q57":{"entity":"E5001"},"Q58":{"entities":null},"Q59":{"count":null},"Q60":{"risk_of":null,"same_group":null},"Q61":{"count":null}}
```