W3C home > Mailing lists > Public > public-rdf-shapes@w3.org > February 2017

Re: editorial problem in example in 6.1

From: Holger Knublauch <holger@topquadrant.com>
Date: Wed, 8 Feb 2017 13:49:03 +1000
To: public-rdf-shapes@w3.org
Message-ID: <8d38b0cc-1075-952d-f005-597f236154fc@topquadrant.com>
This parses OK for me. Are we talking about the same query:

sh:PatternConstraintComponent
     a sh:ConstraintComponent ;
     sh:parameter [
         sh:path sh:pattern ;
     ] ;
     sh:parameter [
         sh:path sh:flags ;
         sh:optional true ;
     ] ;
     sh:validator shimpl:hasPattern .

shimpl:hasPattern
     a sh:SPARQLAskValidator ;
     sh:message "Value does not match pattern {$pattern}" ;
     sh:ask "ASK { FILTER (!isBlank($value) && IF(bound($flags), 
regex(str($value), $pattern, $flags), regex(str($value), $pattern))) }" .

Thanks,
Holger


On 8/02/2017 12:58, Peter F. Patel-Schneider wrote:
> The example in 6.1 has what appears to be an incorrectly delimited multi-line
> literal.
>
> Peter F. Patel-Schneider
> Nuance Communications
>
Received on Wednesday, 8 February 2017 03:49:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:02:48 UTC