Lorenz Buehmann kirjoitti 24.11.2017 klo 11:46:

What about simply deleting the old graph and loading the triples of the
.nt file into the graph afterwards? I don't see any benefit of such a
"tool" - you could just write your own bash script for this if you need
this quite often.

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.

In the original scenario, blank nodes can be a problem if you have them in your data. There is no way (at least not efficiently) to compare blank nodes in two graphs.

-Osma


--
Osma Suominen
D.Sc. (Tech), Information Systems Specialist
National Library of Finland
P.O. Box 26 (Kaikukatu 4)
00014 HELSINGIN YLIOPISTO
Tel. +358 50 3199529
[email protected]
http://www.nationallibrary.fi

Reply via email to