Dear Andy,
Thank you for your answer.
Not quite sure of the setup you have - the "ttl file of the dataset"
suggest default graph?
I mean the SKOS content in a data file in Turtle format by that.
I do not use the default graph, I use individual URIs as graph names for
the individual data files that I am going to store in the TDB.
I am not sure, but I am afraid that the suggested s-put scrip is not
appropriate to upload new data files in my case, since I have already
several other data files in the dataset that I want to keep intact. I
only would like to replace a certain datafile with a new one under the
same graph name or extend it with some additional triplets. As far as I
know s-put will clean the entire dataset first before it uploads the
new datafile. But I might use s-post, that - according to may knowledge
- can add new datafile without cleaning the existing data files from the
TDB. Am I right?
Another the question is, how can I delete first a dedicated graph from
the dataset. The utility s-delete might help, or do I completely
misunderstand the work of s-post and s-put?
I don't have too much experience in UNIX or Linux, but what should I do
directly with wget or curl, that you suggested to see?
SPARQL update can be also useful. Could you send me more information or
a link about the usage in my case?
Thank you very much and best regards,
Sandor
Am 05.09.2016 um 22:47 schrieb Andy Seaborne:
On 05/09/16 11:40, Sandor Kopacsi wrote:
Dear Andy,
(I try to start a new thread by writing a new mail, is it the right
way?)
You are right, update was not enabled in the config.ttl, that I used for
that session by excluding the lines
# fuseki:serviceUpdate "update" ;
# fuseki:serviceUpload "upload" ;
(Sorry for the silly mistake.)
I used the port 3030:/sparql.tpl when I tried to upload the dataset.
But anyway, I used an URI for the graph name, that has been already used
(http://www.statistik.at/2012). I wanted to replace a previously
uploaded dataset, where some information was missing. I added the
missing information to the the ttl file of the dataset, and wanted
*upload again the corrected dataset under the same graph name. Is it a
right way to extend an existing dataset*?
Not quite sure of the setup you have - the "ttl file of the dataset"
suggest default graph?
You can remove and reload the data or modify it in place.
1/ Remove-replace:
An HTTP request of "PUT http://localhost:3030/dataset" with
Content-type text/turtle and the file will do. See "wget" or "curl".
There is an "s-put" script in the Fuseki distribution for a single graph.
s-put http://localhost:3030/dataset default NewFile.ttl
2/ Use SPARQL Update to find and change the data.
For Quads you can PUT TriG,N-Quads to the http://localhost:3030/dataset
Andy
Thanks,
Sandor
Am 02.09.2016 um 20:38 schrieb Andy Seaborne:
Please start a new thread for a new question.
------------------
There is not enough information here to answer the question.
What URL are you uploading to?
Is update enabled?
Andy
On 02/09/16 16:09, Sandor Kopacsi wrote:
Dear List Members,
I have the following problem:
I have started Fuseki from its base folder (/var/www/fuseki/) without
any problem, but when I want to upload a previously successfully
uploaded file to a named graph or to the default graph I got the error
message:
"Error 404: Not Found
Fuseki - version 1.4.0 (Build date: 2016-05-10T11:59:39+0000)"
Strange is, that Fuseki doesn't send any reaction to the Upload
request.
Last message appeared when I started Fuseki:
"17:00:15 INFO Started 2016/09/02 17:00:15 CEST on port 3030"
I have set the FUSEKI_BASE variable, but it did not help either.
What can be wrong?
Thanks in advance,
Sandor
--
Dr. Sandor Kopacsi
IT Software Designer
Vienna University Computer Center
Universitätsstraße 7 (NIG)
A-1010 Vienna
Phone: +43-1-4277-14176
Mobile: +43-664-60277-14176