Hi Raquel, On Wed, Jun 29, 2016 at 9:30 PM, Raquel Curto Fernández < curtoraq...@gmail.com> wrote: > > I am currently uploading triples from a Java application. If the > application fails at some point in time, I would like to delete all the > triples the program has uploaded. >
I guess the easiest way is to delete the context where you have imported the data (importing each dataset in separated contexts is a recommendation in Marmotta). Currently you have two way to do that: 1) From the Admin UI -> Core -> Context -> Delete 2) Manually with a curl request: curl -X DELETE http://host/marmotta/context/<NAME> I guess currently the Javascript Client Library is a bit behind, so it didn't include context/graphs support. I registered MARMOTTA-650 to address that. I've just pushed to master a very experimental support [2], so you can get the latest marmotta.js from there [3] to early test the new ContextClient implementation. Cheers, [1] https://issues.apache.org/jira/browse/MARMOTTA-650 [2] https://github.com/apache/marmotta/commit/2306e05a3305cfe2aea2305c2a0b32bbb24a7299 [3] https://github.com/apache/marmotta/blob/develop/client/marmotta-client-js/src/main/js/marmotta.js -- Sergio Fernández Partner Technology Manager Redlink GmbH m: +43 6602747925 e: sergio.fernan...@redlink.co w: http://redlink.co