In the W3C LBD we are comparing different ways of modelling (complex)
properties.
One option:
ex:Height rdf:type bs:PropertyType ;
bs:hasQuantity cdt:length .
ex:Door_1 rdf:type ex :Door ;
bs:hasProperty ex:Height_1 .
ex:Height_1 rdf:type bs:Property ;
bs:hasPropertyType ex:Height ;
bs:hasValueUnit "2.40 m"^^cdt:length .
but some people think the XType modelling is too much. So they like to just
specialise bs:Property into ex:Height resulting in:
ex:Height rdfs:subClassOf bs:Property ;
rdfs:subClassOf [ rdf:type owl:Restriction ;
owl:hasValue "cdt:length" ;
owl:onProperty bs:hasQuantity ; ] .
ex:Door_1 rdf:type ex :Door ;
bs:hasProperty ex:Height_1 .
ex:Height_1 rdf:type ex:Height ;
bs:hasValueUnit "2.40 m"^^cdt:length .
so the original:
bs:hasQuantity cdt:length .
becomes a restriction in the second option.
BUT...as can be seen instead of just
cdt:length
I have to specify
"cdt:length" with quotes (just cdt:length does not work in tbc)
(the range of hasQuantity is rdfs:Datatype)
In the constraint.
Is this actually doing what I intended?
Thx Michel
Ps related to my earlier OWL Full question, guess an OWL Full option could also
be:
ex:Height rdfs:subClassOf bs:Property ;
owl:hasQuantity cdt:length .
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/2f1adc9bf0894158857783a8220a7165%40tno.nl.
For more options, visit https://groups.google.com/d/optout.