If you have nen2660:Solid rdf:type nen2660:AggregationStateType, etc set then 
it does not appear to matter, both seem to work in Composer and in EDG.

I guess any preference depends on if the oneOf is only ever used by one 
property or not.

FWIW I’ve seen the property shape variant used more often than the node shape.

Also, IMO it is bad practice to name a property/path URI the same as a class 
except for case. The concern is that there are many implementation languages 
that are not case-sensitive and doing so can make developers life harder.

Cheers,
David

> On 19 Jul 2021, at 13:08, 'Bohms, H.M. (Michel)' via TopBraid Suite Users 
> <[email protected]> wrote:
> 
> In owl I have:
>  
> nen2660:AggregationStateType
>   a owl:Class ;
>   owl:oneOf (
>       nen2660:Solid
>       nen2660:Fluid
>       nen2660:Gas
>       nen2660:Plasma
>     ) ;
> .
>  
> What would be the shacl variant here?:
>  
> I had:
>  
> nen2660:AggregationStateType
>   a sh:NodeShape ;
>   sh:property [
>       sh:path nen2660:aggregationStateType ;
>       sh:in (
>           nen2660:Solid
>           nen2660:Fluid
>           nen2660:Gas
>           nen2660:Plasma
>         ) ;
>     ] ;
> .
>  
> But guess that should be simpler like:
>  
> nen2660:AggregationStateType
>   a sh:NodeShape ;
>       sh:in (
>           nen2660:Solid
>           nen2660:Fluid
>           nen2660:Gas
>           nen2660:Plasma
>         ) ;
> .
> Is that allowed?
>  
>  
>  
>  
>  
> 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/a8cfb755bb7b494a9a09ec231a6b30b8%40tno.nl
>  
> <https://groups.google.com/d/msgid/topbraid-users/a8cfb755bb7b494a9a09ec231a6b30b8%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/B8B396CC-8770-46F5-9043-0CC931FA9DB0%40topquadrant.com.

Reply via email to