Stem difference between ShEx and SHACL

Stem in SHACL is a node constraint, e.g.
  <FollupUp> [
    ex:property ex:status;
    sh:shape [ sh:or (
      [ sh:in ( ex:skipped ex:lost ) ]
      [ sh:stem ex:clinical ]
      [ sh:stem ex:admin ] ) ] ]



In ShEx it's used in a value set a la:

ShEx:
  <FollupUp> {
    ex:status [ ex:skipped ex:lost ex:clinical~ ex:admin~ ]
  }

which would be nice in SHACL like this:

SHACL:
  <FollowUp> [
    ex:property ex:status;
    sh:shape [ sh:in (
      ex:skipped ex:lost [ sh:stem ex:clinical~ ] [ sh:stem ex:admin~ ]
    ) ] ]

-- 
-ericP

office: +1.617.599.3509
mobile: +33.6.80.80.35.59

(eric@w3.org)
Feel free to forward this message to any list for any purpose other than
email address distribution.

There are subtle nuances encoded in font variation and clever layout
which can only be seen by printing this message on high-clay paper.

Received on Tuesday, 25 October 2016 22:50:40 UTC