Re: Question on "Test of path sequence with duplicate 001" test

Are you referring to this test

https://github.com/w3c/data-shapes/blob/gh-pages/data-shapes-test-suite/tests/core/path/path-sequence-duplicate-001.ttl

- it only contains the sh:nodeKind violation.

What implementation have you tried that delivers the maxCount violation?

Holger


On 30/01/2019 2:21 am, gwking - metabang wrote:
> The focus node :A is
>
> ex:A
>    ex:p1 [
>        ex:p2 "value" ;
>      ] ;
>    ex:p1 [
>        ex:p2 "value" ;
>      ] ;
>
> This has two paths from :p1/:p2 to the literal “value”.
>
> The shape :SP is
>
>
> ex:SP
>    rdf:type sh:PropertyShape ;
>    sh:path (
>        ex:p1
>        ex:p2
>      ) ;
>    sh:maxCount 1 ;
>    sh:nodeKind sh:IRI ;
>
> which says that :A should:
>
> 1. have at most one path :p1/:p2, and
> 2. that the value at the end of the path should be an IRI.
>
> However, the validation report only contains the single result for maxCount. What does it not also contains results for the nodeKind constraint?
>
> thanks,

Received on Tuesday, 29 January 2019 23:02:31 UTC