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