On 15/03/16 10:40, Mikael Pesonen wrote:
Hi,
is it possible to add content to graph from RDF XML with command line
tools? s-put requires SPARQL and tdbloader says
org.apache.jena.tdb.TDBException: Can't open database at location
/home/text/tools/apache-jena-3.0.1/DB/ as it is already locked by the
process with PID 7672. TDB databases do not permit concurrent usage
across JVMs so in order to prevent possible data corruption you cannot
open this location from the JVM that does not own the lock for the dataset
Br,
Mikael
Yes - use s-put or s-post.
These are the SPARQL Graph Store Protocol - no query language, no update
language.
All they do is HTTP PUT or POST to the right graph name and the right
content type.
You can PUT and POST to the dataset itself as well using curl or wget or
any HTTP tool. You need to set the Content-type header.
Andy