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:

Isn’t there a more shacl-native way to do this?
Thx michel
|
||||||||||||||||
| Logical Constraints | |
owl:complementOf |
sh:not |
owl:intersectionOf |
sh:and |
owl:unionOf |
sh:or |
owl:qualifiedMin/MaxCardinality 1 |
sh:xone |
owl:disjointUnionOf |
sh:node/sh:or/sh:not |
<image001.png>
Isn’t there a more shacl-native way to do this?Thx michel
Dr. ir. H.M. (Michel) Bohms
Scientist Specialist
Structural Reliability
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-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/48bc4658abf64299bb7b1b5a709f8d3c%40tno.nl.
That is good news.
But tbc does it when I add ‘x or y’ in the form……
So how would:
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
) ;
] ;
] ;
.
Look like in pure shacl?
|
|
|
| ||||||||
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/957F932B-1057-4E33-A1EB-93F53A964E0A%40topquadrant.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/64fd09027f344916a9f088185404ba42%40tno.nl.