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?
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 [email protected]<mailto:[email protected]>
Location<http://www.tno.nl/locations/DTS>
[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.
Van: [email protected] <[email protected]> Namens
David Price
Verzonden: woensdag 21 juli 2021 12:24
Aan: [email protected]
CC: Kronemeijer, Redmer <[email protected]>
Onderwerp: Re: [topbraid-users] union in sh
OWL logic cannot be used in SHACL.
We provide these resources to answer to this kind of question:
TopQuadrant.com<http://TopQuadrant.com> SHACL learning page at
https://www.topquadrant.com/technology/shacl/
SHACL and OWL Compared at https://spinrdf.org/shacl-and-owl.html
where you find this:
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
Cheers,
David
On 21 Jul 2021, at 09:40, 'Bohms, H.M. (Michel)' via TopBraid Suite Users
<[email protected]<mailto:[email protected]>> wrote:
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:
<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
T +31 (0)88 866 31 07
M +31 (0)63 038 12 20
E [email protected]<mailto:[email protected]>
Location<http://www.tno.nl/locations/DTS>
<image002.gif><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]<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/topbraid-users/48bc4658abf64299bb7b1b5a709f8d3c%40tno.nl<https://groups.google.com/d/msgid/topbraid-users/48bc4658abf64299bb7b1b5a709f8d3c%40tno.nl?utm_medium=email&utm_source=footer>.
UK +44 (0) 7788 561308
US +1 (336) 283-0808
--
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]<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/topbraid-users/957F932B-1057-4E33-A1EB-93F53A964E0A%40topquadrant.com<https://groups.google.com/d/msgid/topbraid-users/957F932B-1057-4E33-A1EB-93F53A964E0A%40topquadrant.com?utm_medium=email&utm_source=footer>.
--
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/64fd09027f344916a9f088185404ba42%40tno.nl.