I am using TBCME 6.2.1 and hoping to add rdf:List types for sh:in rules for
shacl constraints but found the editor would not let me enter these values
-- the error given is that rdf:List types must be contained within square
brackets.

I have my lists defined to this sort of pattern:

hmshape:EnumerationDayOfWeek
  a rdf:List ;
  rdf:first schema:Monday ;
  rdf:rest (
      schema:Friday
      schema:PublicHolidays
      schema:Saturday
      schema:Sunday
      schema:Thursday
      schema:Tuesday
      schema:Wednesday
    ) ;
.
and if I hand-edit my ttl file to insert this in directly

hmapp:TestShape
a sh:NodeShape ;
  sh:property [
      sh:path schema:dayOfWeek ;
      hmapp:formGroup hmapp:FieldSetRecommended ;
      sh:group hmapp:FieldSetRecommended ;
      sh:in schema:EnumerationListDayOfWeek ;
  ] ;
.

the editor will load this and displays the sh:in without errors or
cautions, however if I edit the field, for example, backspace over the
tail, press Ctrl-space and click the completion, the box turns red and an
error is thrown.

Is this a valid way to use sh:in with enumeration lists?
-- 
Gary Lawrence Murphy <[email protected]> - Hunch Manifest, 15 Wyndham N
'C', Guelph

-- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/CADnyxpuaRMFCLPWcfJ_TBFrnzvJRSHeo3ttx4DZ0fdW80TpcyQ%40mail.gmail.com.

Reply via email to