- From: Karen Coyle <kcoyle@kcoyle.net>
- Date: Tue, 21 Jun 2016 11:57:28 -0700
- To: public-data-shapes-wg@w3.org
OK, let me persist here. We have the suggested code example of: ex:MyShape a sh:Shape ; sh:scopeNode schema:FlightReservation ; sh:constraint [ sh:minInstanceCount 1 ; sh:maxInstanceCount 1 ; ] . I'm going to abstract this as: ex:MyShape a sh:Shape ; sh:scopeNode ex:A ; sh:constraint [ sh:minInstanceCount 1 ; sh:maxInstanceCount 1 ; ] . Given the examples below, which of these are in scope for "sh:scopeNode ex:A" ex:A ex:B ex:C . ex:B ex:A ex:C . ex:B ex:C ex:A . kc On 6/17/16 4:43 PM, Irene Polikoff wrote: > Also, I donšt think the below is right. I thought that the scope > identifies nodes. Not subject or objects, just nodes. > > Then, constraints specify conditions or patterns to be specified. Focus > nodes can be either an object or a subject in these patterns. For example, > when a PropertyConstraint is used focus nodes are subjects, but an > InverseProperty constraint specifically allows specifying patterns where > focus nodes are objects. > > > > > > On 6/17/16, 1:10 PM, "Karen Coyle" <kcoyle@kcoyle.net> wrote: > >> nd scopeNode binds to the subject of a >> triple, AFAI can determine. > > > -- Karen Coyle kcoyle@kcoyle.net http://kcoyle.net m: 1-510-435-8234 skype: kcoylenet/+1-510-984-3600
Received on Tuesday, 21 June 2016 18:58:00 UTC