Dear list,

I have to upload a medium size rdf file into a virtuoso (Version:
06.01.3126). I have been looking at the page [1] but it seems to only go
through the webdav when it comes to upload a file.
I tried :
  curl -i -T myrdf.rdf
http://localhost:8890/DAV/home/pingou/rdf_sink/test.rdf -u user:passwd
This seems to work.
Then I ran
 curl -F "query=SELECT DISTINCT ? FROM
<http://localhost:8890/DAV/home/pingou/rdf_sink/> WHERE {?s ?p ?o}"
http://localhost:8890/sparql

But this returns an empty list.

I tried to run 
  SPARQL SELECT * FROM <http://localhost:8890/DAV/home/pingou/rdf_sink>
WHERE {?s ?p ?o} LIMIT 100;
via isql but this also return an empty list.

On my machine I have access to a newer virtuoso (Version: 06.01.3127)
which contains on the conductor > RDF a "RDF Store Upload" with which I
can upload any rdf file to the graph of my choice.

I was wondering if I could do something like (in isql):
   SPARQL INSERT IN GRAPH <http://BookStore.com> { myrdf.rdf };
(of course I tried this and things like cat(myrdf.rdf) and it does not
work)

(Also as a side question, when I insert in graph via isql, I can query
it in the localhost:8890/sparql, but I don't see the graph being shown
under Conductor > RDF > Graphs. Is this expected ?) 


So in summary, do I have a way to upload a file into the graph of my
choice when not having the "RDF Store Upload" tab ?

Thanks in advance,

Pierre

[1] http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtRDFInsert



Reply via email to