> On 9 Apr 2020, at 14:14, 'Bohms, H.M. (Michel)' via TopBraid Suite Users > <topbraid-users@googlegroups.com> wrote: > > > > Thx david > > I see all the shacl pros etc. > > It just that we have owl-oriented partners that wondered how they could > autoclassify like in the example.
1) TopBraid is not a DL reasoner. If you want the full and arbitrary inferences available with one then you will need to augment/integrate TopBraid and such an engine. If you need OWL inference and SHACL validation then you need to layer SHACL over the OWL and use the appropriate engine to process each specification. If you have just a few patterns in specific ontologies, then I already explained approaches for that. 2) As an aside …. I understand these examples are from an in-work data exchange standard. Assuming that’s correct, then it is unclear to me why anyone would think it desirable to depend on the kind of inferences being discussed in such a standard. IMO providing a ex:ShortBridgeLengthValue that is outside its allowed value set OR providing a an instance of Bridge that should be a ShortBridge is an error in the data in an exchange scenario. Using a reasoner to “fix up” the data after the exchange can be risky. For example, it may be that the value was an error and it should have been 250.0 instead of 25.0 and using a reasoner could hide that possible error. Note that in EDG now we have a “Problems and Suggestions” approach to this kind of situation. You can write the SHACL to validate and DASH suggestions to propose a solution (e.g. add rdf:type or change the value) and the user can execute the suggestions if/when they agree. See http://datashapes.org/suggestions.html <http://datashapes.org/suggestions.html> which is part of “DASH is a carefully curated and platform-independent extension of the Shapes Constraint Language (SHACL) for common tasks" Cheers, David > > I know the limitations...was just thinking...maybe we can remodel in such a > way the same sothat it would come into RL-territory….. > Well,guess that’s difficult …. > > Gr michel > > > > Dr. ir. H.M. (Michel) Böhms > Senior Data Scientist > > T +31888663107 > M +31630381220 > E michel.bo...@tno.nl <mailto:michel.bo...@tno.nl> > 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> > > > <image001.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. > > > > > Van: topbraid-users@googlegroups.com <mailto:topbraid-users@googlegroups.com> > <topbraid-users@googlegroups.com <mailto:topbraid-users@googlegroups.com>> > Namens dprice > Verzonden: Thursday, April 9, 2020 1:38 PM > Aan: topbraid-users@googlegroups.com <mailto:topbraid-users@googlegroups.com> > Onderwerp: Re: [topbraid-users] infer question > > I did not look into the details, but TopBraid has support for the OWL RL > profile wrt inference. Anything beyond that is not supported out-of-the-box. > > If you find a few patterns like that you need to support in TopBraid, then > layer SHACL rules over the OWL or extend the OWL RL SPIN rules to make these > inferences . You could even have a small library of SPARQL CONSTRUCTs that do > the trick. > > As you know from the V-Con project Michel, it is also possible to do a > customer extension and integrate a DL reasoner into EDG if that requirement > becomes operational in an organisation. > > Cheers, > David > > > On 9 Apr 2020, at 11:48, 'Bohms, H.M. (Michel)' via TopBraid Suite Users > <topbraid-users@googlegroups.com <mailto:topbraid-users@googlegroups.com>> > wrote: > > No way/trick to topspin-infer “ex:Bridge_1 rdf:type ex:ShortBridge” ? > > (I know shacl is better here but still got this question for owl) > > > > From > > <https://w3id.org/def/example <https://w3id.org/def/example>> > a owl:Ontology ; > owl:imports <https://w3id.org/def/basicsemantics-owl > <https://w3id.org/def/basicsemantics-owl>> ; > . > ex:Bridge > a owl:Class ; > . > ex:Bridge_1 > a ex:Bridge ; > ex:length [ > rdf:value 50.0 ; > ] ; > . > ex:ShortBridge > a owl:Class ; > rdfs:subClassOf ex:Bridge ; > rdfs:subClassOf [ > a owl:Restriction ; > owl:cardinality "1"^^xsd:nonNegativeInteger ; > owl:onProperty ex:length ; > ] ; > owl:equivalentClass [ > a owl:Restriction ; > owl:allValuesFrom ex:ShortBridgeLengthValue ; > owl:onProperty ex:length ; > ] ; > . > ex:ShortBridgeLengthValue > a owl:Class ; > rdfs:subClassOf bs:QuantityValue ; > rdfs:subClassOf [ > a owl:Restriction ; > owl:allValuesFrom [ > a rdfs:Datatype ; > owl:onDatatype xsd:decimal ; > owl:withRestrictions ( > [ > xsd:maxInclusive 100 ; > ] > ) ; > ] ; > owl:onProperty rdf:value ; > ] ; > . > ex:length > a owl:ObjectProperty ; > rdfs:range bs:QuantityValue ; > . > > > > > > > Dr. ir. H.M. (Michel) Böhms > Senior Data Scientist > > > T +31888663107 > M +31630381220 > E michel.bo...@tno.nl <mailto:michel.bo...@tno.nl> > 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> > > > <image001.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 topbraid-users+unsubscr...@googlegroups.com > <mailto:topbraid-users+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/topbraid-users/5a44c93542e34368a7ef2630e8de1147%40tno.nl > > <https://groups.google.com/d/msgid/topbraid-users/5a44c93542e34368a7ef2630e8de1147%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 topbraid-users+unsubscr...@googlegroups.com > <mailto:topbraid-users+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/topbraid-users/6D5F0B3C-31FD-4EA8-9D34-7F1A7738A61F%40topquadrant.com > > <https://groups.google.com/d/msgid/topbraid-users/6D5F0B3C-31FD-4EA8-9D34-7F1A7738A61F%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 topbraid-users+unsubscr...@googlegroups.com > <mailto:topbraid-users+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/topbraid-users/8cbc3408293b435dac885a297d440062%40tno.nl > > <https://groups.google.com/d/msgid/topbraid-users/8cbc3408293b435dac885a297d440062%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 topbraid-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/3158618F-422D-4A78-8B8D-4E2F908630D1%40topquadrant.com.