Re: [topbraid-users] Constraint violation not detected in Java SPIN API

2014-05-30 Thread Nikolaos Beredimas
Thank you Holger, fn:substring works ok (just needed to fill in the correct arguments). On Fri, May 30, 2014 at 2:04 AM, Holger Knublauch wrote: > Hi Nikolaos, > > the SPIN API does not include all SPARQL functions that TBC does. So any > function starting with smf: or spif: would need to be

Re: [topbraid-users] Constraint violation not detected in Java SPIN API

2014-05-29 Thread Holger Knublauch
Hi Nikolaos, the SPIN API does not include all SPARQL functions that TBC does. So any function starting with smf: or spif: would need to be either re-implemented in Java, or replaced. (I see smf:subString for which you could just use fn:substring). Also make sure that the user-defined SPIN f

[topbraid-users] Constraint violation not detected in Java SPIN API

2014-05-29 Thread Nikolaos Beredimas
Please take a look at the attached ttl. There are two constraints defined inside. One is about a string's length, one about the string's checksum. There are four instances of the class AMKA. Of these 4, 3 should give a constraint violation warning. This works as intented in TBC Free 4.4 Howeve