Andy - builder code like this? https://github.com/Graphity/graphity-client/blob/master/src/main/java/org/graphity/processor/update/InsertDataBuilder.java
It is based on SPIN though, not on Jena directly. On Fri, Jan 9, 2015 at 6:49 PM, Andy Seaborne <a...@apache.org> wrote: > On 09/01/15 15:13, Trevor Donaldson wrote: >> >> Hi all, >> >> Is there a way to take a temp model and send the result to fuseki? >> >> What I would like to accomplish : >> 1. Insert / delete triples in temp model >> 2. Send results (inserts and deletes) to fuseki to have it update the >> named >> graph >> >> Is this possible or do I need to do build the sparql queries manually? >> Thanks >> > > DatasetAccessor (the SPARQL Graph Store Protocol) might be worth a look - > but it works on whole graphs so delete some triples out of a large graph is > not something it can do. > > Otherwise, building SPARQL is probably the way to go. INSERT DATA, DELETE > DATA if no > > (Is there any builder code to help with this? Seems like a good thing to > have to build INSERT DATA, DELETE DATA operations) > > Trevor - does the data have bNodes in it? > > Andy > > Looking further out ... > > At a lower level, there is RDF Patch > > http://afs.github.io/rdf-patch/ > > and some code in: > https://github.com/afs/jena-rdfpatch > > through I have got sidetracked by a binary version of this based on > > http://afs.github.io/rdf-thrift/ >