Re: QueryParseException when creating a NQUADS-based UpdateRequest to add a named model remotely

2019-09-25 Thread Martynas Jusevičius
This might help: https://github.com/AtomGraph/Web-Client/blob/master/src/main/java/com/atomgraph/client/update/InsertDataBuilder.java#L80 Uses SPIN API. On Wed, 25 Sep 2019 at 15.10, Andy Seaborne wrote: > INSERT DATA does not take quads directly. > > The form is > > INSERT DATA { GRAPH { trip

Re: QueryParseException when creating a NQUADS-based UpdateRequest to add a named model remotely

2019-09-25 Thread Andy Seaborne
A better approach may be to use RDFConnection. It has all the SPARQL operation including "send model" Andy On 25/09/2019 14:09, Andy Seaborne wrote: INSERT DATA does not take quads directly. The form is INSERT DATA { GRAPH { triples } } What *may* work is using Trig to insert.     An

Re: QueryParseException when creating a NQUADS-based UpdateRequest to add a named model remotely

2019-09-25 Thread Andy Seaborne
INSERT DATA does not take quads directly. The form is INSERT DATA { GRAPH { triples } } What *may* work is using Trig to insert. Andy On 25/09/2019 12:06, Mark Hissink Muller wrote: Hi all, I encounter a strange QueryParseException when building my UpdateRequest to add a named model r

QueryParseException when creating a NQUADS-based UpdateRequest to add a named model remotely

2019-09-25 Thread Mark Hissink Muller
Hi all, I encounter a strange QueryParseException when building my UpdateRequest to add a named model remotely from my Java client application. I've progressed since my last question regarding inserts to a remote repository [1]. Thanks again Andy and Claude for your kind suggestions. Among othe