You had a typo, so the hasValue never conformed - functie vs function
Holger
On 9/07/2020 17:42, 'Bohms, H.M. (Michel)' via TopBraid Suite Users wrote:
Hi David, I run from TBC.
Attached a minimal example.
Expected behaviour:
New instance for :AsfaltverhardingMetDichteDeklagen
Thx a lot, 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>
<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 *Holger Knublauch
*Verzonden:* Thursday, July 9, 2020 6:54 AM
*Aan:* [email protected]
*Onderwerp:* Re: [topbraid-users] RE: shacl-af triple rule conditions
I don't see anything obviously wrong. How did you run those rules -
using the Run inferences buttons (or TBC or Transform on EDG)?
Hard to comment further without seeing a minimal, complete example
that I could run myself.
Holger
On 9/07/2020 06:29, 'Bohms, H.M. (Michel)' via TopBraid Suite Users wrote:
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>
<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]
<mailto:[email protected]>'
<[email protected]>
<mailto:[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:
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>
<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/fb55750b1ddc4935ad90a66cb2cbe8f1%40tno.nl
<https://groups.google.com/d/msgid/topbraid-users/fb55750b1ddc4935ad90a66cb2cbe8f1%40tno.nl?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]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/topbraid-users/86972951-58b2-810a-eb6e-176b19bdbed2%40topquadrant.com
<https://groups.google.com/d/msgid/topbraid-users/86972951-58b2-810a-eb6e-176b19bdbed2%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]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/topbraid-users/1f6dd32b483c4cc9804e3a1bd98910d2%40tno.nl
<https://groups.google.com/d/msgid/topbraid-users/1f6dd32b483c4cc9804e3a1bd98910d2%40tno.nl?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/be65d10a-6609-950e-301e-57a4a21845a4%40topquadrant.com.