Also tried:
:Wegdeel
rdf:type owl:Class ;
rdf:type sh:NodeShape ;
rdfs:subClassOf :IMGeo-Object ;
sh:rule [
rdf:type sh:TripleRule ;
sh:condition [
sh:property [
sh:path :function ;
sh:hasValue :rijbaan-lokaleweg ;
] ;
sh:property [
sh:path :fysiekvoorkomen ;
sh:hasValue :geslotenverharding ;
] ;
] ;
sh:object :AsfaltverhardingMetDichteDeklagen ;
sh:predicate rdf:type ;
sh:subject sh:this ;
] ;
.
With no result (no inference of extra instance of
:ASfaltverhardingMetDichteDeklagen),
Thx for advide, Michel
Ps
The other way round with sh:values rules goes without problems..
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.
Van: Bohms, H.M. (Michel)
Verzonden: Wednesday, July 8, 2020 7:08 PM
Aan: '[email protected]' <[email protected]>
Onderwerp: shacl-af triple rule conditions
Hi Irene
I tried (one way of the earlier owl euquivalence, now in shacl):
:Wegdeel
a owl:Class, sh:NodeShape ;
rdfs:subClassOf :IMGeo-Object ;
sh:rule [ a sh:TripleRule ;
sh:subject sh:this ;
sh:predicate rdf:type ;
sh:object :AsfaltverhardingMetDichteDeklagen ;
sh:condition [ sh:property [
sh:path :function ;
sh:hasValue :rijbaan-lokaleweg ; ] ; ] ;
sh:condition [ sh:property [
sh:path :fysiekvoorkomen ;
sh:hasValue :geslotenverharding ; ] ; ] ;
] ;
.
But in tbc, inferencing is not working and I see empty where clause:
[cid:[email protected]]
Any idea?
Should I combine the conditions differently?
Thx Michel
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/fb55750b1ddc4935ad90a66cb2cbe8f1%40tno.nl.