If I want to move:
ex:loadLevel
a rdf:Property ;
rdfs:domain ex:Vehicle ;
rdfs:range ex:LoadLevelType ;
.
ex:LoadLevelType
a rdfs:Class ;
rdfs:subClassOf smls:EnumerationType ;
owl:oneOf (
ex:Light
ex:Normal
ex:Heavy
) ;
.
To SHACL; what is the best way to handle the owl:oneOf?
1. in a property shape for loadLevel involving sh:targetSubjectsOf with sh:in
2. in the nodeshape for vehicle with sh:in on with path ex:loadLevel
For rdfs ranges I use 2. in case there is also a domain and 1. In case there is
no domain, but here the constraint is more generic on the range class.
Thx Michel
Ps
Related:
In general wouldn't it be more precise to always map a range to a property
shape (involving targetSubjectsOf) so also in case there is a domain
clause...since domain and range are fully independent....
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.
--
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/33cb2621c13641ffbf7e027bf9111354%40tno.nl.