I guess I'm just stupid today, but can you point to the specific class that communicates with "SPARQL Update" and how I get one? I know I need to talk to the "update" endpoint but I can't (as you point out) do it with either DatasetAccessor or QueryExecution. The class referenced in the documentation (UpdateRemote) no longer seems to exist.
Thanks, Dave Lebling -----Original Message----- From: Andy Seaborne [mailto:[email protected]] Sent: Wednesday, April 23, 2014 11:24 AM To: [email protected] Subject: Re: jena fuseki "DROP ALL" On 23/04/14 16:12, Lebling, David (US SSA) wrote: > I am using Fuseki/TDB indirectly, via a DatasetAccessor returned by > DatasetAccessorFactory.createHTTP(), for all the operations that > DatasetAccessor supports (get, put, delete). For queries I'm using > QueryExecutionFactory.sparqlService() to get a QueryExecution which I then do > an execSelect() on. > > How can I get a "something" that supports update operations, including > things like "DROP ALL" with similar database backend independence? > There is mention of an UpdateRemote class in Fuseki but jena-fuseki > 1.0.1 doesn't seem to have it (0.2.4 does...) > > Dave Lebling > > DatasetAccessor = SPARQL Graph Store Protocol. RESTful-ish operations on individual graphs. You can (HTTP) DELETE a graph. You can't perform whole dataset operations like DROP ALL. SPARQL Update can do that. You can mix SPARQL Update and SPARQL Graph Store Protocol operations on their respective endpoints. Andy
