Andrew U. Frank kirjoitti 26.11.2017 klo 23:54:
when i use the sparql update protokoll to store data, am i not using fuseki?

SPARQL the protocol (defined over HTTP) requires a server such as Fuseki. SPARQL Update the language can be used also without a server, for example with the command line tool tdbupdate.

I define my TDB in fuseki (in the run/configuration directory) and i start a fuseki server which is the endpoint to receive the update queries. i had the impression, that s-put is essentially doing wget to the sparql endpoint.

Yes, s-put is roughly equivalent to wget or curl. It's a special purpose HTTP client that knows about the SPARQL protocol so you can perform slightly higher level operations. But you can do pretty much the same things with wget or curl too.

is this (more or less) a correct understanding? how would one start the TDB or TDB2 server without fuseki?
If you use the TDB/TDB2 command line tools you are not starting a server. Instead they start a Java process that reads and possibly manipulates the TDB database (directory full of files) while it is running, then exits when it is done. Typically they perform a single operation, for example tdbquery answers a single SPARQL query and tdbupdate performs a single SPARQL Update operation. Compared to Fuseki there is some startup overhead each time. However, sometimes the operations are more efficient when performed via command line tools instead of going through Fuseki, especially loading to TDB via tdbloader and tdbloader2.

-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