On 24/06/17 01:46, Dimov, Stefan wrote:
Hello,
I have Fuseki/Jena and I configure it thru Java code (no config files).
Does anybody know, how I can enable Fuseki update (e.g. – allow SPARQL 
INSERT/DELETE requests) thru Java code?

S.


Hi Stefan,

It needs to have the right services added to the DataAccessPointRegistry though the best way to do that is probably not directly (it is an internal API really though quite stable).

How are you configuring it in code and also which form of Fuseki?

The embedded server has a builder and one option is whether a dataset is updatable or not:

http://jena.apache.org/documentation/fuseki2/fuseki-embedded.html

which has no required disk footprint.

or are you launching it by calling FusekiCmd.main (make sure "--update" is used)

or directly manipulating the DataAccessPointRegistry?
(the command line

(There'll be a command line for the embedded server soon - for running Fuseki without admin.)

    Andy

Reply via email to