W3C home > Mailing lists > Public > public-data-shapes-wg@w3.org > March 2016

Re: ACTION: ericP to send proposal for sh:Stem in response to ISSUE-80

From: Karen Coyle <kcoyle@kcoyle.net>
Date: Thu, 31 Mar 2016 08:27:12 -0700
To: public-data-shapes-wg@w3.org
Message-ID: <56FD41D0.1000700@kcoyle.net>


On 3/30/16 3:03 PM, Eric Prud'hommeaux wrote:
> PROPOSAL: write stems in shacl like:
>
> <http://a.example/S1>  a sh:Shape;
>     sh:propValues (
>       <http://a.example/p1>  [
>         sh:values [
>           a sh:StemRange;
>           shex:stem<http://a.example/v>
>         ]
>       ]
>     ).

This matches the use case that I'm aware of. Could someone propose how 
this would work when the rule is "stemA or stemB or stemC"? That's 
another fairly common case for us.

kc

-- 
Karen Coyle
kcoyle@kcoyle.net http://kcoyle.net
m: 1-510-435-8234
skype: kcoylenet/+1-510-984-3600
Received on Thursday, 31 March 2016 15:26:58 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:30:30 UTC