shapes-ISSUE-51 (Results Vocabulary): What types of validation results should be returned [SHACL Spec]

shapes-ISSUE-51 (Results Vocabulary): What types of validation results should be returned [SHACL Spec]

http://www.w3.org/2014/data-shapes/track/issues/51

Raised by: Holger Knublauch
On product: SHACL Spec

The current draft has vocabulary terms to create Warnings, Errors and FatalErrors and a base class sh:ConstraintViolation. I would like to generalize this so that we are more flexible.  Specific suggestions:

- Rename sh:ConstraintViolation to sh:Result (or sh:ValidationResult)?
- Add sh:Info rdfs:subClassOf sh:Result

This would allow users to invoke the engine for non-error/warning checks, e.g. to collect general information about the state of the data. Some people may introduce ex:Debug rdfs:subClassOf sh:Info, but I don't see that as a requirement for the core - as long as the data structure is open, anyone can add such subclasses themselves.

Received on Friday, 22 May 2015 04:59:14 UTC