Re: sh:in vs. sh:value

On 26/10/2016 19:54, Eric Prud'hommeaux wrote:
> is
>    S sh:property [ sh:predicate P ; sh:in (
>        I1
>        I2
>        In
>      ) ].
> always equal to
>    S sh:property [ sh:predicate P ; sh:or (
>        [ sh:value I1 ]
>        [ sh:value I2 ]
>        [ sh:value In ]
>      ) ].
> ?

Yes, I think so.

BTW sh:value does not exist. I assume you mean sh:hasValue?

>
> is
>    S sh:property [ sh:predicate P ; sh:in (I1) ]. # single element
> always equal to
>    S sh:property [ sh:predicate P ; sh:value I1 ].

No, because sh:in means "all values from" while sh:hasValue means "some 
values from".

Is there anything stopping you from finding the answers to these 
questions in the spec?

Holger

Received on Wednesday, 26 October 2016 11:39:15 UTC