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
|
|
|||||||||||||||||
|
|
|||||||||||||||||
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..
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
--
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/fb55750b1ddc4935ad90a66cb2cbe8f1%40tno.nl.
Hi David, I run from TBC.
Attached a minimal example.
Expected behaviour:
New instance for :AsfaltverhardingMetDichteDeklagen
Thx a lot, Michel
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/86972951-58b2-810a-eb6e-176b19bdbed2%40topquadrant.com.
You had a typo, so the hasValue never conformed - functie vs function
Holger
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/1f6dd32b483c4cc9804e3a1bd98910d2%40tno.nl.
Deeply ashamed ☹
But at the same time very happy since my owl-equivalence example now works perfectly 2-way in shacl-af ! 😊
Thx David!
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/be65d10a-6609-950e-301e-57a4a21845a4%40topquadrant.com.