Skip to content

Pillar 4 — Validation (SHACL Core)

pgrdf.validate(data_graph_id BIGINT, shapes_graph_id BIGINT) → JSONB validates the data graph against the shapes graph and returns a W3C sh:ValidationReport-shape JSONB document.

Backed by the shacl 0.3.x crate from the rudof project.

Topics in this pillar

At a glance

sql
SELECT pgrdf.validate(1, 2);
--  → { "conforms": false, "results": [ {...}, {...} ] }

Next — Mental model →

Apache-2.0 licensed. Documentation for pgRDF — built with VitePress, served via GitHub Pages.