To establish a global range-like property constraint, you could do

ex:hasUnitShape
    a sh:NodeShape ;
    sh:targetObjectsOf ex:hasUnit ;
    sh:class qudt:Unit .

Holger


On 2021-07-27 9:17 pm, 'Bohms, H.M. (Michel)' via TopBraid Suite Users wrote:

I have in rdfs:

x:hasUnit a rdf:Property ;

rdfs:range qudt:Unit .

Can my corresponding shacl with implicit targets simply be?:

x:hasUnit a sh:NodeShape ;

sh:class qudt:Unit .

or do I need some sh:targetObjectsOf?

nen2660:hasUnit

  a sh:NodeShape ;

sh:class qudt:Unit ;

sh:targetObjectsOf nen2660:hasUnit ;

.

        

Dr. ir. H.M. (Michel) Bohms
Scientist Specialist
Structural Reliability

        

T +31 (0)88 866 31 07
M +31 (0)63 038 12 20
E [email protected] <mailto:[email protected]>

        

Location <http://www.tno.nl/locations/DTS>

<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/0c8c9645c45245d7aff5adafbff2c8a6%40tno.nl <https://groups.google.com/d/msgid/topbraid-users/0c8c9645c45245d7aff5adafbff2c8a6%40tno.nl?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/938dd4d1-a468-74c8-d926-542179fed3f9%40topquadrant.com.

Reply via email to