Re: [topbraid-users] [SPIN API] Executing spin:fix

2017-11-23 Thread Simon Schlosser
ons.html > > and which is arguably easier to use as it doesn't require the extra step > through a template. > > Holger > > > > On 24/11/2017 5:28, Simon Schlosser wrote: > > Hi all, > I am struggling with creating fixes programmatically. All my search &g

[topbraid-users] [SPIN API] Executing spin:fix

2017-11-23 Thread Simon Schlosser
Hi all, I am struggling with creating fixes programmatically. All my search efforts did not provide me with any code snippet that would show how to apply them. My problem: I have a ConstraintViolation object and via getFixes() I get a Collection. My defined spin:fix in the construct part of the

[topbraid-users] Performance considerations - Batch constraint checking

2016-02-14 Thread Simon Schlosser
Hi all, I use the SPIN API for regularly checking 100k - 300k instances of a specific class. With this class 20 constraints are associated. I am doing quite well regarding performance (absolutely more than fast enough), however I do not understand how the SPINConstraints.check() method does re

Re: [topbraid-users] Self-defined cardinality function does not work with SPIN API

2015-06-02 Thread Simon Schlosser
t depends on ?this, and then executes your > function with ?this unbound. Attached is a version that works for me. > > Holger > > > On 5/28/2015 20:28, Simon Schlosser wrote: > > Hi Holger, > > please find attached a .ttl that can be directly imported into TBC whe

Re: [topbraid-users] Self-defined cardinality function does not work with SPIN API

2015-05-28 Thread Simon Schlosser
could run within TBC to help further. You have pasted various > snippets - can you turn them into attachments that I can open with TBC? > > Thanks > Holger > > > On 5/28/2015 8:06, Simon Schlosser wrote: > > Hmm.. unfortunately the problem is not really solved! The syste

Re: [topbraid-users] Self-defined cardinality function does not work with SPIN API

2015-05-27 Thread Simon Schlosser
Business Partner has no legal form I have no idea why the second "instance" causes this problem. Any ideas? Thanks, Simon Am Mittwoch, 27. Mai 2015 22:46:58 UTC+2 schrieb Simon Schlosser: > > Hi Holger, > > danke! You're making a great job! > > It seems the pro

Re: [topbraid-users] Self-defined cardinality function does not work with SPIN API

2015-05-27 Thread Simon Schlosser
here are a few typical problem areas: > > - I see that your functions use spin:_arg1 and spin:_this. In order to > properly turn those into SPARQL strings, make sure that the graph that is > registered in the functions registry also includes the system ontologies > SPL, SP and SPIN (e.g. cre

[topbraid-users] Self-defined cardinality function does not work with SPIN API

2015-05-26 Thread Simon Schlosser
Hi all, I have a problem with functions in SPIN API. With TBC Free my constraint which uses a function works as expected, but using the API it provides wrong results. The setting: - There is a business partner instance that has a property legal form with a legal form as object (such as