So I can do also the second option here?
( the ‘ex:height a rdfs:Property’ this time is again in an imported graph)



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>



[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 
Irene Polikoff
Verzonden: woensdag 23 juni 2021 09:32
Aan: [email protected]
Onderwerp: Re: [topbraid-users] simple shacl question

You need a target - either explicitly by using one the SHACL target statements 
or implicitly by saying that it is a class as well as a node shape


On Jun 23, 2021, at 3:27 AM, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
<[email protected]<mailto:[email protected]>> wrote:

And then similar question for:

ex:heightShape
  a sh:NodeShape ;
  sh:targetObjectsOf ex:height ;
  sh:class sml:QuantityValue ;
.

Can it be:

ex:height
  a sh:NodeShape ;
  sh:class sml:QuantityValue ;


The first shape targets all resources that are objects in the ?s ex:height ?o 
triples.

The second one does not target anything. If you make it a class, it will target 
all resources of the ex:height.

.



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>



<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.




Van: Bohms, H.M. (Michel)
Verzonden: woensdag 23 juni 2021 09:25
Aan: [email protected]<mailto:[email protected]>
Onderwerp: simple shacl question

Just checking…

Instead of:

ex:BridgeShape
  a sh:NodeShape ;
  sh:targetClass ex:Bridge ;
  sh:property [
    sh:path ex:height ;
    sh:minCount 1 ;
    ] ;
  sh:property [
    sh:path sml:hasPart ;
    sh:minCount 1 ;
    sh:maxCount 1 ;
    sh:class ex:Deck ;
    ] ;
.

I can say:

ex:Bridge
  a sh:NodeShape ;
  sh:property [
    sh:path ex:height ;
    sh:minCount 1 ;
    ] ;
  sh:property [
    sh:path sml:hasPart ;
    sh:minCount 1 ;
    sh:maxCount 1 ;
    sh:class ex:Deck ;
    ] ;
.

Right?
Thx michel



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>



<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/e9de0317a39a47fd822f2b35b3a6d25c%40tno.nl<https://groups.google.com/d/msgid/topbraid-users/e9de0317a39a47fd822f2b35b3a6d25c%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]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/869413D0-8A62-4A49-8D9C-7121B25C01C8%40topquadrant.com<https://groups.google.com/d/msgid/topbraid-users/869413D0-8A62-4A49-8D9C-7121B25C01C8%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/5f419b68009c4e498e4760a859f7a681%40tno.nl.

Reply via email to