Hi Pierre, You can use one of the two Virtuoso functions for loading TTL and RDF/XML datasets, which I have just added to the VirtInsertRDF page you refer to.
Best Regards Hugh Williams Professional Services OpenLink Software Web: http://www.openlinksw.com Support: http://support.openlinksw.com Forums: http://boards.openlinksw.com/support Twitter: http://twitter.com/OpenLink On 14 Dec 2010, at 16:17, Pierre-Yves wrote: > 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 > > > > ------------------------------------------------------------------------------ > Lotusphere 2011 > Register now for Lotusphere 2011 and learn how > to connect the dots, take your collaborative environment > to the next level, and enter the era of Social Business. > http://p.sf.net/sfu/lotusphere-d2d > _______________________________________________ > Virtuoso-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/virtuoso-users
