pub fn validate_local_shacl(_node: u64, shape_uri: u64) -> Result<bool, String>Expand description
Validates a node against a SHACL shape within the local graph.
HONESTY / fail-closed: there is no shape registry yet that resolves a
shape_uri to real SHACL constraints. The former implementation built a
shape with constraint_count: 0 and validated against it — an empty
constraint set trivially “conforms”, so this returned Ok(true) for ANY
node and graph, lighting up the UI’s “Graph Valid” unconditionally (a
false green light). Until shape resolution exists we refuse rather than
fabricate a conformance verdict. The real ShaclValidator /
sparql_shacl::run engine is genuine — the missing piece is the
shape_uri → constraints lookup that would feed it.