Re: [Virtuoso-users] Loading RDF into Virtuoso

2012-10-21 Thread Hugh Williams
Hi Uldis, That query format works for me also: $ curl -v -T example.rdf http://localhost:8890/sparql-graph-crud?graph-uri=http://test.org/my -u dba Enter host password for user 'dba': * About to connect() to localhost port 8890 (#0) * Trying ::1... Connection refused * Trying 127.0.0.1... co

Re: [Virtuoso-users] Loading RDF into Virtuoso

2012-10-21 Thread David Brooks
This all works for me curl -v -T t.rdf http://localhost:8890/sparql-graph-crud?graph-uri=http://test.org/my -u dba Enter host password for user 'dba': * About to connect() to localhost port 8890 (#0) * Trying 127.0.0.1... connected * Connected to localhost (127.0.0.1) port 8890 (#0) * Serve

Re: [Virtuoso-users] Loading RDF into Virtuoso

2012-10-21 Thread Uldis Bojars
HTTP PUT implies DELETE-ing the target graph before INSERT-ing new triples: http://www.w3.org/TR/sparql11-http-rdf-update/#http-put That must be why the error message mentioned deleting. However, that problem was solved (needed to configure authentication for the SPARQL endpoint). There is still

Re: [Virtuoso-users] Loading RDF into Virtuoso

2012-10-21 Thread David Brooks
Hmm, /sparql-graph-crud/ is for graph operations, so to delete a graph use the DELETE method, ie: curl -X DELETE http://localhost:8890/sparql-graph-crud?graph-uri=http://test.org/my To delete a statement from a graph use the /sparql/ endpoint and SPARQL Update operations (http://www.w3.org/TR

Re: [Virtuoso-users] Loading RDF into Virtuoso

2012-10-21 Thread Uldis Bojars
On Sun, Oct 21, 2012 at 10:30 PM, Uldis Bojars wrote: > Unfortunately the problem remains -- HTTP PUT to the SPARQL endpoint > returns the same error message: "SQ110: Permission denied for delete > from DB.DBA.RDF_QUAD". > > Command: > curl -v -T myfoaf.rdf > http://localhost:8890/sparql-graph-cru

Re: [Virtuoso-users] Loading RDF into Virtuoso

2012-10-21 Thread Uldis Bojars
> (1) how to grant SPARQL_UPDATE role to a user; Found out how to assign roles via the Conductor web UI (User Accounts -> Roles) and assigned SPARQL_UPDATE role to the DBA user. Unfortunately the problem remains -- HTTP PUT to the SPARQL endpoint returns the same error message: "SQ110: Permissio

Re: [Virtuoso-users] Loading RDF into Virtuoso

2012-10-21 Thread Uldis Bojars
Thanks, http://localhost:8890/sparql-graph-crud/ is just what was needed. I ran into a permissions issue, though ("SQ110: Permission denied for delete from DB.DBA.RDF_QUAD"), which is expected. Could you suggest: (1) how to grant SPARQL_UPDATE role to a user; (2) what authentication method to u