Re: [topbraid-users] [SPIN API] SPINConstraints.check() returns no violations after upgrade to 1.4.0

2015-03-16 Thread Holger Knublauch
On 3/17/2015 10:05, Martynas Jusevicius wrote: The constrains are mostly very simple and look like this: spin:constraint [ a dqc:MissingProperties ; sp:arg1 #TemplateItem ; sp:arg2 gp:slug ] ; I am not seeing instances of #TemplateItem in the files that you mention.

Re: [topbraid-users] [SPIN API] SPINConstraints.check() returns no violations after upgrade to 1.4.0

2015-03-16 Thread Martynas Jusevicius
Yes, everything is identical except the SPIN versions in POM -- yet the behaviour is different. I just double-checked. In one instance, with 1.3.1, SPINConstraints.check() returns 2 ConstraintViolation objects while with 1.4.0 it returns 0. The constrains are mostly very simple and look like

Re: [topbraid-users] [SPIN API] SPINConstraints.check() returns no violations after upgrade to 1.4.0

2015-03-16 Thread Martynas Jusevicius
Slight correction: dqc: is imported indirectly, via gp: ontology. On Tuesday, March 17, 2015 at 1:05:05 AM UTC+1, Martynas Jusevicius wrote: Yes, everything is identical except the SPIN versions in POM -- yet the behaviour is different. I just double-checked. In one instance, with 1.3.1,

[topbraid-users] Re: TBC Free and spra:Table

2015-03-16 Thread Claudia Grieco
Thanks for your reply. Is there a way in TBC Free to store select result in a temporary variable and make aggregation on the list? For example, select people position in a certain area and return the left-most and right-most position? Il giorno giovedì 12 marzo 2015 11:16:57 UTC+1, Claudia

Re: [topbraid-users] Re: TBC Free and spra:Table

2015-03-16 Thread Scott Henninger
Caudia, SPARQL aggregates MIN, MAX, are available.  See http://www.w3.org/TR/sparql11-query/ -- Scott On 3/16/2015 8:38 AM, Claudia Grieco wrote: Thanks for your reply. Is there a way in TBC Free to store select result in a

[topbraid-users] Re: does anyone have a good example of the SWP ui:functionCall for a js function that maintains a value

2015-03-16 Thread Jack Hodges
Hey thanks Holger! I'll try this out right away. Jack On Tuesday, March 10, 2015 at 2:11:06 PM UTC-7, Jack Hodges wrote: and performs some calculation? I am trying to calculate a display position for part of a graphic inside a ui:foreach. The position is based on the position of the

[topbraid-users] Re: does anyone have a good example of the SWP ui:functionCall for a js function that maintains a value

2015-03-16 Thread Jack Hodges
Holger, I am currently working with version 4.3 due to a dependency on an swp2latex jar file of Ralphs. Is there any chance that the solution you gave me needs files beyond 4.3, because I am getting an error on evn.topbraidlive.org/evn/evn.ui.ttlx. Attached is the error log (a HTTP ERROR

Re: [topbraid-users] Re: does anyone have a good example of the SWP ui:functionCall for a js function that maintains a value

2015-03-16 Thread Holger Knublauch
Yes, the file may only work with 4.4 or later. To make it work in your version, try replacing ui:tempGraphGlobalVars with ui:tempGraph. Holger On 3/17/15 1:58 AM, Jack Hodges wrote: Holger, I am currently working with version 4.3 due to a dependency on an swp2latex jar file of Ralphs. Is

Re: [topbraid-users] [SPIN API] SPINConstraints.check() returns no violations after upgrade to 1.4.0

2015-03-16 Thread Holger Knublauch
I am not aware of such changes, but I will need more details to verify. Did you use exactly the same RDF files? How do the constraints look like? Thanks, Holger On 3/17/2015 9:44, Martynas Jusevicius wrote: Hello, I have a simple piece code that validates an RDF model against SPIN

[topbraid-users] [SPIN API] SPINConstraints.check() returns no violations after upgrade to 1.4.0

2015-03-16 Thread Martynas Jusevicius
Hello, I have a simple piece code that validates an RDF model against SPIN constraints: OntModel tempModel = ModelFactory.createOntologyModel(OntModelSpec.OWL_MEM); tempModel.add(ontModel).add(model); SPINModuleRegistry.get().registerAll(tempModel, null);