Typically, you would define a property shape for each of the properties.
 It would not be sh:node xsd:string, but rather sh:datatype xsd:string.

Values of sh:path are specified here: 
https://www.w3.org/TR/shacl/#property-paths 
<https://www.w3.org/TR/shacl/#property-paths>

> On Aug 27, 2020, at 11:12 AM, Angelo Frozza <[email protected]> wrote:
> 
> Hi all,
> 
> I want to know if SHACL allows defining a pattern for values in the  sh:path 
> element, for example, something like:
> 
>   sh:property [
>        sh:path ex:name??? ;
>        sh:node xsd:string;
>     ].
> Where the part "???"  is dynamic.
> 
> This property could validate data graphs as:
> 
> ex:name01 "John"; #OK
> ex:name02 "Mary; #OK
> ex:name03 120;    #ERR
> 
> Hugs,
> 
> Angelo
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/b1635683-c6f5-4991-a69e-9e1c1d56203dn%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/b1635683-c6f5-4991-a69e-9e1c1d56203dn%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/73A38222-5BDE-43BE-A653-911FA788920A%40topquadrant.com.

Reply via email to