Summary

  • W3C's Data Shapes Working Group published the First Public Working Draft SHACL 1.2 Inference Rules on 17 September 2026; its sibling SHACL 1.2 Rules first draft landed on 9 December 2025.
  • The draft separates asserted input from inferred triples and lets an engine attach sh:sourceRule to a derived triple — but that provenance link is a MAY, not a requirement.
  • A First Public Working Draft on the Recommendation track is not a W3C Recommendation; its own text warns that test-suite success covers only tested behavior and that rule execution can exhaust computation or memory.

Two RDF triples sit in the same store, identical down to the last character. One was typed in from a source document. The other was manufactured seconds ago by a rule chewing on a graph that has since changed. Same subject, same predicate, same object. Different grounds. Store only the triple and the difference evaporates — and with it, the only evidence that a machine, not a person, put the fact there.

That is the consequential edge of the Data Shapes Working Group's 17 September 2026 publication. SHACL 1.2 Inference Rules specifies how rules derive new RDF triples from existing data — SHACL Core handles shapes and validation, this document handles inference. It is not the birth of SHACL rules: W3C published a SHACL 1.2 Rules First Public Working Draft on 9 December 2025. What this draft does is give the named inference-rules text its own visible working-draft stage, and in doing so, put a spotlight on a quiet design choice.

Base graph, inference graph, and the gap between them

The execution model draws clean lines. Supplied data form the base graph. New statements form an inference graph. The evaluation graph joins the two while rules run. Rule sets can be layered and ordered. Intermediate triples can be flagged temporary and swept away once the final result is computed. All of this makes the engine's behavior describable. None of it guarantees that an exported result carries its history with it.

Section 9: a permitted trace, not a promised one

Section 9 puts the gap in plain sight. A rule engine may offer an option that generates extra triples linking a derived triple to the rule that produced it, via sh:sourceRule, with the rule identifier ideally an IRI. If those tracking triples are generated, they must stay invisible to executing rules — a genuinely smart touch, since it stops metadata from rewriting the inference it describes. But it is not a promise that every conforming engine emits a provenance trail. And a rule name alone tells you nothing about which version of the input it ran against, or whether the decision built on top of it deserves the authority it inherits.

Picture an organisation enriching a registry or a policy knowledge base. A rule adds a classification or a link that an analyst later sees in a consolidated view. That is a plausible application, not an accusation about any named deployment. The real question is whether the analyst can still tell which statements were asserted, which were derived, which rule set ran, and whether the run finished inside its limits. A timestamp on the final graph is not a substitute for any of those distinctions.

Failure is a boundary, not a footnote

The draft also draws failure lines. If an engine cannot execute any supported type for a rule it meets, it reports failure. It may be configured to fail when iteration or inferred-triple limits are exceeded. The security section warns that rule sets can burn significant computation and memory, or manufacture arbitrary application data. A truncated run must not be quietly promoted to a complete result — that is an operational conclusion drawn from the stated failure model, not a fresh W3C conformance clause.

Status deserves the same restraint as the data

The text is a First Public Working Draft on the Recommendation track. W3C says that status implies neither its own nor its members' endorsement, and the text may change. Passing the test suite covers the tested aspects, not every specification requirement. Lu Heng's running-code principle is a useful editorial discipline here: distinguish a published procedure from behavior another operator can actually reproduce. It does not, of course, make Lu Heng an authority over W3C's draft — it makes him right about the difference between paper and running code.

Sources