Hello !

I have a question related to the performance of the RDFWriter to JSON LD FRAME 
format.
Currently I have to process 40k objects inside in a RDF file. When I process 
them into JSON following the code:


JsonLDWriteContext ctx = new JsonLDWriteContext();
JsonLdOptions opts = new JsonLdOptions();
opts.setOmitGraph(true);
opts.setEmbed(Embed.ALWAYS);
opts.setProcessingMode(JSON_LD_1_1);
ctx.setOptions(opts);

RDFWriter.create().format(RDFFormat.JSONLD_FRAME_FLAT).source(graph).context(ctx).build().asString();

I have in average 1 to 10 seconds to process it. It is a bit too slow.
Does someone know how to increase the speed of the process?

Yours faithfully,

Roland Bailly

Reply via email to