Instead of (or in addition to) constraints, you can use SPARQL Update in spin:rule to delete a triple.
Irene -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Gerrit Sent: Tuesday, August 16, 2011 9:07 AM To: TopBraid Suite Users Subject: [topbraid-users] [SPIN API] Removing inferred triples with constraint violations Hi all, I have an irreflexive property. When a triple is inferred that violates this constraint, I would like to remove the offending triple from the inferred model. (Actually, I would like to prevent the triple from being inferred, but constraints only give a warning.) How can I determine which triple is generating the warning? SPINLabels.get().getLabel(cv.getRoot()) only shows the subject of the triple cv.getMessage() shows "Irreflexive property" SPINLabels.get().getLabel(cv.getSource()) is empty -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include TopBraid Composer, TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/topbraid-users?hl=en -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include TopBraid Composer, TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/topbraid-users?hl=en
