shapetrees / specification

Specification for Shape Trees
https://shapetrees.org
Other
12 stars 5 forks source link

Feat: added shape tree discrimination through Resource class #76

Open Giacomo-Papaluca opened 1 year ago

Giacomo-Papaluca commented 1 year ago

As I explained in this issue and this issue, I think that a little addition to shape tree semantics is needed in order to fully distinguish this shape tree

<#TaskTree>
  a st:ShapeTree ;
  st:expectsType st:Resource ;
  st:shape pm-shex:TaskShape .

from this one

<#ProjectTree>
  a st:ShapeTree ;
  st:expectsType st:Resource ;
  st:shape pm-shex:ProjectShape ;
  st:references [
    st:hasShapeTree <#TaskTree> ;
    st:viaPredicate pm:hasTask
  ] .