Standards and validation

Versioned profile

The machine-readable standards applicability register distinguishes normative, projection, source-native, conditional, reference-only and not-applicable use. The core pins are:

The repository-controlled namespace is https://chris-page-gov.github.io/okf-uk-legislation/profile/whole-law/v1#. It is intentionally versioned and does not claim an unregistered w3id.org identifier. A later permanent government-domain migration is a separate, documented compatibility decision.

Authored and generated representations

okf-bundle.yamlld is the authored semantic control publication. The builder emits okf-bundle.jsonld and canonical N-Triples-compatible okf-bundle.ttl from the same governed values. Validation exercises YAML-LD expansion, JSON-LD compaction, flattening and framing, RDF conversion, RDF-to-JSON-LD-to-RDF round-trip, three-way graph isomorphism and canonical dataset-digest equivalence. SHACL validates all three complete semantic descriptor graphs and the example/entity contract. The bounded descriptor contains the Federation, its hash-bound SourceRegister contract node and a link to the relationship-authoritative YAML-LD manifest. Separate bounded JSON-LD shards materialise matching direct triples and evidence-bearing rdf:Statement/okf:RelationshipAssertion nodes without forcing all 365,786 works into the startup descriptor graph. A separately generated runtime manifest lists active default planes, opt-in historical planes, local-route assertion arrays and a hash-bucket route locator for bounded Reader hydration. The deterministic conformance receipt separately records exhaustive source-row validation and direct/reified reconciliation for every active and historical semantic assertion shard.

These checks establish conformance of this publication to its declared basic profile. They do not claim that the selected third-party processor passes every upstream processor test. The upstream YAML-LD, JSON-LD API and Framing test suites remain processor-level dependencies; their exact revisions and the subset exercised here are retained as release evidence.

Legal and catalogue projections

ELI, ELI-DL/ELI-I, ECLI, Akoma Ntoso/LegalDocML, CLML, LRM/WEMI, PROV-O, Dublin Core Terms, DCAT 3/DCAT-AP, SKOS, OWL-Time, Web Annotation, CiTO, ODRL, DQV and Schema.org Legislation are applied only in the roles declared by the register. Conditional mappings are not emitted when source evidence does not support them. LegalRuleML is conditional on reviewed rule extraction and LKIF remains reference-only.

Known transport exception

GitHub Pages currently serves .yamlld as application/octet-stream, not application/ld+yaml. The document remains semantically conformant, but this deployment is not described as transport-conformant. JSON-LD and release downloads are universal fallbacks; Explorer may safely content-sniff a declared .yamlld route. The exception remains open until a permanent host can set the registered media type.