I now have:

nen2660:QuantityValue
  a owl:Class ;
  rdfs:subClassOf [
      a owl:Restriction ;
      owl:allValuesFrom xsd:double ;
      owl:onProperty rdf:value ;
    ] ;
.


People want tof lex this into a double or a decimal
In owl its clear
But in this shacl I get:
nen2660:QuantityValue
  rdf:type rdfs:Class ;
  rdf:type sh:NodeShape ;
  rdfs:seeAlso nen2660-term:QuantityValue ;
  rdfs:subClassOf nen2660:Objectification ;
  skos:definition "The objectification of a value of a quantity (involving a 
quantitykind and a unit) having a complex value like a simple value sec 
combined with other metadata or just a combination of simple values"@en ;
  skos:prefLabel "Quantity value"@en ;
  sh:property [
      sh:path rdf:value ;
      sh:datatype [
          rdf:type owl:Class ;
          owl:unionOf (
              xsd:double
              xsd:decimal
            ) ;
        ] ;
    ] ;
.

Ie a piece of owl is introduced...after:
[cid:image001.png@01D77E1C.D5A4F260]
Isn't there a more shacl-native way to do this?

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 michel.bo...@tno.nl<mailto:michel.bo...@tno.nl>

Location<http://www.tno.nl/locations/DTS>



[cid:image002.gif@01D77E1C.D5A4F260]<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 topbraid-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/48bc4658abf64299bb7b1b5a709f8d3c%40tno.nl.

Reply via email to