Playground¶
The whole engine compiles to WebAssembly, so validation and inference run inside the browser tab. There is no server component, which also means nothing you paste in is uploaded anywhere.
Paste Turtle into the editor, upload a file, or load the built-in sample.
Open Playground ↗What it does¶
Validate — supply a shapes graph and a data graph and press Validate. Results are grouped by severity, with expandable rows showing the focus node, the failing property path, and the offending value.
Infer — run sh:rule entries to a fixed point. You get a count of derived
triples and can download a Turtle file containing the original graph plus
everything derived.
Advanced options — the same knobs as the other frontends:
Run inference — apply rules before validating (on by default).
Graph mode —
data,union, orunion-all; see Shapes graphs and data graphs.Minimum severity — which severities make the run non-conforming.
Sort results — deterministic ordering by severity, focus node, and constraint.
Files — uploads are kept in the browser’s IndexedDB, so you can switch between graphs without re-uploading. The Files button in the toolbar manages the cache.
The playground is the fastest way to check a hypothesis about SHACL semantics without touching your local environment, and a reasonable way to hand someone a reproducible example: the input is small enough to paste.
Limits¶
The module contains the full engine, which increases the initial download. It also runs in the tab’s memory, so a shapes closure of a few hundred thousand triples against a large data graph reaches browser memory limits before the native engine. The browser build is intended for interactive-sized inputs.
To run the same build on your own machine or embed it in your own page, see Build and embed the WebAssembly module.