Hi Andy, Am using TDB2, can we allow two different services to access the same database. I thought that can be done in TBD1 and not TDB2 because of locking mechanism.
Thanks!!! On 2020/12/18 09:52:26, Andy Seaborne <[email protected]> wrote: > > > On 17/12/2020 14:53, Sushanth Vaddaram wrote: > > We are trying to backup base model from Jena without inferred data using > > the RDFConnectionFuseki connection. Is there any way that can be achieved? > > > > Code: > > ==== > > try (RDFConnectionFuseki conn = (RDFConnectionFuseki)builder.build(); > > OutputStream out = new > > FileOutputStream(file.getPath());) { > > // fetch model from the Fuseki connection > > Dataset model = conn.fetchDataset(); > > > > // write model to the backup file > > RDFDataMgr.write(out, model, Lang.TRIG); > > } catch (HttpException e) { > > handleJenaHttpException(e); > > } > > The model is writing base model along with inferred data. We want to > > restrict that to base model. > > > > Thanks!! > > > > > > If you add a fuseki:Service that exposes the base dataset, separately > from the inference fuseki:Service (difefrent fuseki:name), you can > backup without inferred data by access that. > > Andy >
