metadata-qa-api icon indicating copy to clipboard operation
metadata-qa-api copied to clipboard

MinInclusive

Open pkiraly opened this issue 9 years ago • 0 comments

MinInclusive := ref:RDFLiteral

sh:minInclusive: Testing a MinInclusive parameter against a value node returns fail if the evaluation of (value node >= ref) in SPARQL1.1 Operator Mapping returns false or results in a type error. (Only in PathConstraint)

example

<IssueShape> sh:property [ sh:predicate ex:confirmations; sh:minInclusive 1 ] .
<issue1> ex:confirmations 1 .
<issue2> ex:confirmations 0 .
<issue3> ex:confirmations "ii"^^ex:romanNumeral .
<IssueShape>  <issue1>  pass
<IssueShape>  <issue2>  fail  0 is less than 1.
<IssueShape>  <issue3>  fail  ex:romanNumeral is not a numeric datatype.

pkiraly avatar Sep 29 '16 06:09 pkiraly