One technique to avoid the multiple sh:or lists is to reuse them.
For example, the dash namespace includes
dash:HTMLOrStringOrLangString
rdf:type rdf:List ;
rdf:first [
sh:datatype rdf:HTML ;
] ;
rdf:rest (
[
sh:datatype xsd:string ;
]
[
sh:datatype rdf:langString ;
]
) ;
rdfs:comment "An rdf:List that can be used in property
constraints as value for sh:or to indicate that all values of a
property must be either rdf:HTML, xsd:string or rdf:langString (in
that order of preference)." ;
rdfs:label "HTML or string or langString" ;
.
which allows users to say sh:or dash:HTMLOrStringOrLangString.
You can also bundle similar constraints into a node shape and then use sh:node:
--
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 topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/f2b73447-40e5-46fc-a005-a3f04127f8a6n%40googlegroups.com.