SHACL spec says: > 2.3 Property Shapes > > A property shape is a shape <https://www.w3.org/TR/shacl/#dfn-shape> in the > shapes graph <https://www.w3.org/TR/shacl/#dfn-shapes-graph> that is the > subject <https://www.w3.org/TR/shacl/#dfn-subject> of a triple > <https://www.w3.org/TR/shacl/#dfn-rdf-triple> that has sh:path as its > predicate <https://www.w3.org/TR/shacl/#dfn-predicate>. >
See https://www.w3.org/TR/shacl/#property-shapes Make a separate property shape and in it use sh:path to refer to the property. Something like: ex:someproperty_shape a sh:PropertyShape ; sh:path ex:someproperty ; ... sh:path can have more complex structures, but that’s a basic starting point. See https://www.w3.org/TR/shacl/#dfn-shacl-property-path Cheers, David > On 2 Apr 2020, at 15:06, 'Bohms, H.M. (Michel)' via TopBraid Suite Users > <[email protected]> wrote: > > > In RDFS: > > ex:someproperty > a rdf:Property ; > rdfs:domain ex:somedomainclass ; > rdfs:range ex:somerangeclass ; > > In SHACL: > > ex:someproperty > a rdf:Property, sh:PropertyShape ; > ….? > > Or not possible and need for: > > ex:somepropertyShape1 > a sh:PropertyShape ; > sh:targetSubjectsOf ex:someproperty ; > sh:class ex:somedomainclass . > > ex:somepropertyShape1 > a sh:PropertyShape ; > sh:targetObjectsOf ex:someproperty ; > sh:class ex:somerangeclass . > > > > > > Dr. ir. H.M. (Michel) Böhms > Senior Data Scientist > > T +31888663107 > M +31630381220 > E [email protected] <mailto:[email protected]> > Location > <https://www.google.com/maps/place/TNO+-+Locatie+Delft+-+Stieltjesweg/@52.000788,4.3745183,17z/data=!3m1!4b1!4m5!3m4!1s0x47c5b58c52869997:0x56681566be3b8c88!8m2!3d52.000788!4d4.376707> > > > <image001.gif> <http://www.tno.nl/> > This message may contain information that is not intended for you. If you are > not the addressee or if this message was sent to you by mistake, you are > requested to inform the sender and delete the message. TNO accepts no > liability for the content of this e-mail, for the manner in which you use it > and for damage of any kind resulting from the risks inherent to the > electronic transmission of messages. > > > > > > -- > 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/ce25c5df596b4406a7311e9f27dfcb34%40tno.nl > > <https://groups.google.com/d/msgid/topbraid-users/ce25c5df596b4406a7311e9f27dfcb34%40tno.nl?utm_medium=email&utm_source=footer>. UK +44 (0) 7788 561308 US +1 (336) 283-0808 -- 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/7A2451BE-9F50-4794-B063-6EE443F202A6%40topquadrant.com.
