So in the end:
ex:somepropertyShape1 a sh:PropertyShape ; sh:path ex:someproperty ; sh:targetSubjectsOf ex:someproperty ; sh:class ex:somedomainclass . ex:somepropertyShape2 a sh:PropertyShape ; sh:path ex:someproperty ; sh:targetObjectsOf ex:someproperty ; sh:class ex:somerangeclass . the path and target subjectsof feel a bit double... 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> [cid:[email protected]]<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. Van: [email protected] <[email protected]> Namens dprice Verzonden: Thursday, April 2, 2020 4:29 PM Aan: [email protected] Onderwerp: Re: [topbraid-users] shacl mapping question for domain/ranges 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]<mailto:[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]<mailto:[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<https://groups.google.com/d/msgid/topbraid-users/7A2451BE-9F50-4794-B063-6EE443F202A6%40topquadrant.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/feeb11ed39f24ab48502b96bd376592a%40tno.nl.
