Re: Validation of SHOULD NOT property

Hi Alasdair,
  I think that the behavior of "SHOULD NOT" is that it should pass,
but also generate a warning message. something stronger, like "MUST
NOT", should not pass.

m.

Michel Dumontier
Associate Professor of Medicine (Biomedical Informatics), Stanford University
Chair, W3C Semantic Web for Health Care and the Life Sciences Interest Group
http://dumontierlab.com


On Tue, Nov 4, 2014 at 11:05 PM, Gray, Alasdair <A.J.G.Gray@hw.ac.uk> wrote:
> Hi All,
>
> I would like to know what is the expected behaviour of the validator for a
> SHOULD NOT property. The options are either to not validate as the property
> is present or validate because it is permissible for the property to be
> present.
>
> The specific example at hand is the void:sparqlEndpoint property on an RDF
> distribution level description. We have stated that this is a SHOULD NOT
> property since there is a requirement to maintain the SPARQL endpoint at the
> specified location with the specific distribution file. However the
> validator code does not permit the generation of warnings (although this
> would be a nice feature in the future). So currently we either have to
> accept a void:sparqlEndpoint statement on a distribution level description
> as valid or invalid.
>
> With SHOULD properties we accept a description as valid if the statement is
> there in the correct form or not present.
>
> With MUST NOT properties we do not accept a description which contains them.
>
> This is captured in the GitHub issue tracker for the validator
> https://github.com/AlasdairGray/HCLSValidator/issues/13
>
> Thoughts please,
>
> Alasdair
>
> Alasdair J G Gray
> Lecturer in Computer Science, Heriot-Watt University, UK.
> Email: A.J.G.Gray@hw.ac.uk
> Web: http://www.alasdairjggray.co.uk
> ORCID: http://orcid.org/0000-0002-5711-4872
> Telephone: +44 131 451 3429
> Twitter: @gray_alasdair
>
>
>
>
>
>
>
>
>
> We invite research leaders and ambitious early career researchers to join us
> in leading and driving research in key inter-disciplinary themes. Please see
> www.hw.ac.uk/researchleaders for further information and how to apply.
>
> Heriot-Watt University is a Scottish charity registered under charity number
> SC000278.

Received on Friday, 7 November 2014 14:01:49 UTC