Skip to content

Instantly share code, notes, and snippets.

@afs
afs / rules-spec.md
Last active July 8, 2025 04:56
Sketch of SHACL Rules doc

SHACL Rules

SHACL rules infer new triples. The input is a data graph and a shape graph with rules, the output is a graph of inferred triples that do not occur in the data graph.

Whether, and how, the output graph is added back into the data graph is a separate decision.

Notes

@@Datalog-ish then a collection of "run once rules easy for defaulting"