metadata-qa-api
metadata-qa-api copied to clipboard
MinInclusive
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.