Hey, Lorenz-- Laura specifically asked for ways to avoid transmitting the whole graph; Osma's solution (sort NTriples) is better than Model::difference in the absence of bnodes (actually, difference() seems to work based on triple equality anyway), and Andy's (RDF Patch) would be good if you want to automate the process. Andy wrote a whole system for that. [1]
Laura, can you tell us a little more about why you are trying to avoid transmitting the whole graph? Is it because of an unreliable network between your client and Fuseki or because of something else? ajs6f [1] https://github.com/afs/rdf-delta > On Nov 24, 2017, at 10:21 AM, Lorenz Buehmann > <[email protected]> wrote: > > Which means to load the whole new Wikidata dump first, or not? > > Which means, it can simply be used the new loaded dataset. > > > On 24.11.2017 15:57, ajs6f wrote: >> You can use Model.difference(Model m) to do these calculations. >> >> ajs6f >> >>> On Nov 24, 2017, at 7:21 AM, Laura Morales <[email protected]> wrote: >>> >>>> The s-put tool that comes with Fuseki (or just doing a HTTP PUT to the >>>> SPARQL Graph Store endpoint using e.g. curl) does exactly this - >>>> replaces a graph with a new one in a single operation. >>> Deleting a whole graph, and pushing all the new triples over HTTP doesn't >>> look like a good fit for large graphs (even for graphs of a few GBs). >> >
