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

On 5/22/2015 16:41, Dimitris Kontokostas wrote:
> I suggest we turn sh:Error, sh:Warn, ... to owl individuals and 
> connect them to the result with a property like sh:severity

I have not yet understood why you prefer them to be instances. Let's try 
again. I believe classes would be cleaner because then we can more 
transparently add different properties that may only be relevant for 
that subclass. Why would it be better to have

[
     rdf:type sh:Result ;
     sh:severity sh:Error ;
]

This feels redundant to me - there can only be one value for severity 
anyway, so we would save one triple and get the inheritance relationship 
for free. Furthermore sh:Error may have sh:fix while sh:Info may not, 
and this is best expressed via classes IMHO.

Thanks,
Holger

Received on Friday, 22 May 2015 06:51:13 UTC