OPDA Knowledge base
Physical — ontology

Diagnostic exemplars

15 IC-only diagnostic exemplars per ODR-0004 §8a, each paired with an expected-report.ttl SHACL validation report. The pair drives a CI regression test (semantic-equivalence comparison via tests/baspi5_round_trip/compare_reports.py).

What an exemplar is

Per ODR-0004 §8a, an exemplar is the smallest TTL that exposes one IC-bearing surface for a named hard case. It is IC-only — no SHACL shape, no overlay, no decorative metadata. The filename is the documentation (FIBO test-case-naming discipline).

The paired expected-report.ttl records the sh:ValidationReport the exemplar should produce when validated against the ratified shapes graph. The exemplar becomes a CI regression test, not just documentation (DASH dash:GraphValidationTestCase pattern; BioPortal SHACL-Test framework precedent).

Catalogue

Input to S005 — Property and land identity crux

ExemplarHard casesh:conforms
registered-freehold-houseBaseline easy case (UPRN present, title registered, single proprietor)true
unregistered-pre-first-registration-houseLegalEstate-without-RegisteredTitle cardinality testtrue
flat-with-split-uprnUPRN succession via re-numberingtrue

Input to S015 — Address and geography

ExemplarHard casesh:conforms
flat-no-uprn-newly-convertedAddress exists without UPRN (post-subdivision lag)true
listed-building-divergent-addressesThree divergent address surfaces (title / marketing / INSPIRE)true
rural-plot-inspire-no-uprnUndeveloped land with INSPIRE Identifier but no UPRNtrue

Input to S006 — Agents and roles

ExemplarHard casesh:conforms
person-with-name-changePerson IC over deed-poll name changetrue
organisation-with-mergerOrganisation IC over entity merger (predecessors → successor)true
proprietorship-relator-multi-proprietorProprietorship as UFO Relator with multiple Proprietor Role instancestrue

Input to S009 — Claims, evidence and provenance

ExemplarHard casesh:conforms
claim-with-document-evidencePR claim supported by grant of probate (eIDAS Substantial)false (Violation: claim missing prov:wasDerivedFrom)
claim-with-electronic-record-evidenceIdentity claim supported by HMRC API tax-record (eIDAS Substantial)false (same Violation)
claim-with-vouch-evidenceResidency claim supported by SRA-solicitor vouch (eIDAS Low)false (same Violation)

The three claim exemplars deliberately omit the prov:wasDerivedFrom triple to demonstrate opda:UnprovenancedClaimShape (Cat 2 Violation) firing. Production claim instances would carry the predicate; the exemplars exercise the validation gate.

Input to S007 — Transactions and lifecycle

ExemplarHard casesh:conforms
simple-transaction-with-milestonesFive canonical milestones with PROV-O Plan-vs-Activity variance reificationtrue
chain-of-transactionsThree-link chain via buyer-also-seller participantstrue
lease-extension-transactionStatutory lease extension under LRHUDA 1993true

Pairing discipline

Per ODR-0004 §8a:

  • Each exemplar TTL MUST be paired with an <name>-expected-report.ttl recording the sh:ValidationReport the exemplar produces when validated against the ratified shapes graph.
  • The pair drives a CI regression test (compare_reports.py performs semantic-equivalence comparison on focusNode / resultPath / severity / constraint / message).

Namespace conventions

  • Class graph: https://opda.org.uk/pdtf/ (WG-ratified 2026-05-27 per Session 003b + ADR-0006)
  • Per-exemplar instance prefix: https://opda.org.uk/pdtf/harness/data/exemplar/<name>/

Source ODR + ADR

Comments

Loading comments…