Hi Mikael, Youe should be able to use the alternative functions DB.DBA.TTLP or DB.DBA.RDF_LOAD_RDFXML to load from the file system as detailed at:
http://docs.openlinksw.com/virtuoso/rdfapiandsql.html#rdfapidataimport Regards, Hugh On 3/7/07 09:18, "Mikael Högqvist" <hoegqv...@zib.de> wrote: > Hi Hugh, thanks for the list. I tried the SPARUL implementation since it > seems to be the most flexible. Now I just have one small question. I'm > using LOAD <http://example.org/graph> INTO GRAPH <http://foo/bar> to load a > graph into the store. But, when I'm using LOAD with a file:// URI, it doesnt > seem to work. This would help me a lot since I will mostly load files stored > in the local file-system when this is triggered by an external application. I > could serve the files statically from a webserver, but that would be less > efficient. If this is not currently supported, can I redefine the existing > methods? I guess that DB.DBA.SPARUL_LOAD is called when a LOAD is > issued. Best Regards and many thanks, Mikael On 03/07/07, Hugh Williams > <hwilli...@openlinksw.com> wrote: > Hi Mikael, > > Yes, their are a number of > alternative methods for importing RDF data into > Virtuoso of which the RDF > Net API method is one. Below is a list of these > methods with URLs to > documentation links: > > 1. RDF Net API (HTTP approach) - > http://www.w3.org/Submission/rdf-netapi/ > > 2. ttlp and mttp_mt as per > tutorial demo (re. PL) - > > http://docs.openlinksw.com/virtuoso/rdfapiandsql.html#rdfapidataimport > > 3. > ODS-Briefcase - http://virtuoso.openlinksw.com/wiki/main/Main/Ods > > 4. > Semantic Bank - > > http://docs.openlinksw.com/virtuoso/rdfsparqlprotocolendpoint.html#rdftables > > > 5. SPARUL - > http://docs.openlinksw.com/virtuoso/rdfsparul.html#rdfsparul > > 6. WebDAV > Crawler (Content Import) - > > http://docs.openlinksw.com/virtuoso/admui.webservices.html#importtargets > > I > hope one of these methods proves suitable for your needs ... > > Best > Regards, > Hugh > > > On 2/7/07 18:30, "Mikael Högqvist" <hoegqv...@zib.de> > wrote: > > > Hi Hugh, > > ok, thanks! > > Is there an alternative interface > that I could use in > > the meantime for > HTTP-based data management? Like > the RDF NET API for > > example? > > Best Regards, > Mikael > > On 02/07/07, > Hugh Williams > > <hwilli...@openlinksw.com> wrote: > > Hi Mikael, > > > > We > received both you > > previous e-mails to the mailing list ... > > > > The > issue you report is a known > > problem we are current looking into and > > > shall report back to you once we > > have a fix ... > > > > Best Regards, > > > Hugh Williams > > Professional Services > > > > OpenLink Software > > Tel: +44 > (0) 8681 7701 > > Web: http://www.openlinksw.com > > > > Universal Data Access > & Data Integration Technology Providers > > > > > > On 2/7/07 > > 14:44, > "Mikael Högqvist" <hoegqv...@zib.de> wrote: > > > > > Hi! > > > > > > sorry, > my > > previous mail seemed to be destroyed in the sourceforge > > > archives. > Here is > > a new try. > > > > > > I tried out the ODS briefcase vad and it > works fine when > > adding > > > RDF-data to the RDF-store. I would like to do > the same via an > > HTTP > > > interface including defining my own graph > names. > > > > > > When using > > the URIQA interface (I'm not sure this is > the right > > > choice...) from > > python: > > > > > > import httplib2 > > > > h = httplib2.Http() > > > headers = > > > {'Content-Type':'application/rdf+xml'} > > > > > > h.add_credentials('test', > > > 'test') > > > > > > stat, resp = > h.request('http://test:8889/DAV/home/test/foo', > > 'MPUT', > > > > headers=headers, body=data) > > > > > > I get the following reply: > > > > > > > > > {'status': '500', 'content-length': '83', 'accept-ranges': 'bytes', > > > > > > 'server': 'Virtuoso/05.00.3015 (Linux) i686-pc-linux-gnu', > > > > 'connection': > > 'Keep-Alive', 'date': 'Mon, 02 Jul 2007 13:17:23 GMT', > > > > 'content-type': > > 'text/html; charset=ISO-8859-1'} HTTP/1.1 500 > > > Error > 08006 HT023: Error in > > reading from target HTTP server > > > > > > I have > some HTTP-log output saved as > > well, but it might be what made > > > the > last message unreadable... > > > > > > It > > seems like the server is trying > to retrieve a resource, but > > > timeouts after > > a while. > > > > > > Any > tips will help! > > > > > > Cheers, > > > Mikael > > > > > > > > > -------------------------------------------------------------------------> > > > > This SF.net email is sponsored by DB2 Express > > > Download DB2 Express C - > the > > FREE version of DB2 express and take > > > control of your XML. No > limits. Just > > data. Click to get it now. > > > > http://sourceforge.net/powerbar/db2/ > > > > > > _______________________________________________ > > > Virtuoso-users mailing > > > list > > > Virtuoso-users@lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/virtuoso-users > > > > > > > > > > > > > > > > > > Best Regards, Hugh Williams VP Product Development OpenLink Software Tel: +44 (0) 8681 7701 Web: http://www.openlinksw.com Universal Data Access & Data Integration Technology Providers