Hi,

I have a bunch of properties which constraints that look like:

rf:topic-description *a sh:PropertyShape* ;
  *sh:path rf:description ;*
  sh:minCount 1 ; sh:maxCount 1 ; sh:nodeKind sh:Literal ;
  sh:or ( [ sh:datatype xsd:string ] [ sh:datatype rdf:langString ] [ 
sh:datatype rf:fishx ] ) ;
.

rf:topic-header *a sh:PropertyShape ;*
  *sh:path rf:header ; *
  sh:maxCount 1 ; sh:nodeKind sh:Literal ;
  sh:or ( [ sh:datatype xsd:string ] [ sh:datatype rdf:langString ] [ 
sh:datatype rf:fishx ] ) ;
.

If you notice, the shapes differ only in sh:path. I was wondering if 
there's some mechanism I'm missing to specify that a property shape 
inherits from some other property shape, and adds some other specifics (for 
instance, that the *sh:path* is something in particular, but I think I 
could potentially have other properties like diff min and max counts, etc).

I was thinking of modeling this through SPARQL CONSTRUCT queries, but if 
the SHACL spec provides a solution already I'd prefer to use that!

Thank you,

E.




-- 
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/f2b73447-40e5-46fc-a005-a3f04127f8a6n%40googlegroups.com.

Reply via email to