- From: Holger Knublauch <holger@topquadrant.com>
- Date: Fri, 06 Feb 2015 09:13:33 +1000
- To: public-data-shapes-wg@w3.org
- Message-ID: <54D3F91D.3020700@topquadrant.com>
On 2/5/2015 9:41, Eric Prud'hommeaux wrote:
> Last week, we discussed a version of LDOM which separates shapes from
> classes:
>
> http://w3c.github.io/data-shapes/data-shapes-primer/no-class-templates
Could you explain why one would use
sh:IssueShape aldom:Shape ;
ldom:property [
a ldom:PropertyConstraint ;# This type declaration is optional
rdfs:label "state" ;
rdfs:comment "whether this shape has been assigned to someone." ;
ldom:predicate ex:state ;
ldom:allowedValue ex:unassigned ,ex:assigned ;
ldom:minCount 1 ;ldom:maxCount 1
] ;
and not
sh:IssueShape ldom:shapeldom:Shape ;
ldom:property [
ldom:shape ldom:PropertyConstraint ;# This type declaration is optional
rdfs:label "state" ;
rdfs:comment "whether this shape has been assigned to someone." ;
ldom:predicate ex:state ;
ldom:allowedValue ex:unassigned ,ex:assigned ;
ldom:minCount 1 ;ldom:maxCount 1
] ;
(i.e. when to use rdf:type and not ldom:shape/instanceShape)? How would
users decide?
Thanks
Holger
Received on Thursday, 5 February 2015 23:14:13 UTC