Re: [topbraid-users] [SPIN API] From sp:text to RDF syntax

2015-01-02 Thread Holger Knublauch
Hi Martynas, I think you should reuse the existing blank nodes - this is perfectly fine to do. The utility class org.topbraid.spin.util.SPTextUtil should be able to help you e.g. with the method ensureSPINRDFExists() HTH Holger On 12/30/2014 23:03, Martynas Jusevicius wrote: Hey, I have d

[topbraid-users] [SPIN API] From sp:text to RDF syntax

2014-12-30 Thread Martynas Jusevicius
Hey, I have defined a SPIN query using simplified syntax: [ a sp:Construct ; sp:text """ CONSTRUCT { ... } WHERE {}""" ] . I am accessing it as Jena Resource. Now how can I add the triples of the full SPIN RDF syntax? Can the same query bno