Hi! 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...) 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'} <pre>HTTP/1.1 500 Error 08006 HT023: Error in reading from target HTTP server</pre> The http-log looks like this (sorry for the lengthy text...): 130.73.72.132 - - [02/Jul/2007:15:17:23 +0300] "POST /uriqa/?uri=http%3A//example-host.com%3A8889/DAV/home/mikael/foo&method=MPUT&&Fingerprint7C58BE8C-2893-11DC-AE84-BDDAD3B7ED12=example-host%3A8889Fingerprint7C58BE8C-2893-11DC-AE84-BDDAD3B7ED12=example-host%3A8889 HTTP/1.1" 500 83 "" "Python-httplib2/$Rev: 235 $" 130.73.72.132 - - [02/Jul/2007:15:17:23 +0300] "MPUT /DAV/home/mikael/foo HTTP/1.1" 500 83 "" "Python-httplib2/$Rev: 235 $" 130.73.72.132 - - [02/Jul/2007:15:17:23 +0300] "POST /uriqa/?uri=http%3A//example-host.com%3A8889/DAV/home/mikael/foo&method=MPUT&Fingerprint7C58BE8C-2893-11DC-AE84-BDDAD3B7ED12=example-host%3A8889 HTTP/1.1" 500 211 "" "Python-httplib2/$Rev: 235 $" 130.73.72.132 - - [02/Jul/2007:15:17:23 +0300] "POST /uriqa/?uri=http%3A//example-host.com%3A8889/DAV/home/mikael/foo&method=MPUT&&=&Fingerprint7C58BE8C-2893-11DC-AE84-BDDAD3B7ED12=example-host%3A8889Fingerprint7C58BE8C-2893-11DC-AE84-BDDAD3B7ED12%3Dexample-host%3A8889Fingerprint7C58BE8C-2893-11DC-AE84-BDDAD3B7ED12=example-host%3A8889 HTTP/1.1" 500 211 "" "Python-httplib2/$Rev: 235 $" 130.73.72.132 - - [02/Jul/2007:15:17:23 +0300] "POST /uriqa/?uri=http%3A//example-host.com%3A8889/DAV/home/mikael/foo&method=MPUT&&=&=&Fingerprint7C58BE8C-2893-11DC-AE84-BDDAD3B7ED12=example-host%3A8889Fingerprint7C58BE8C-2893-11DC-AE84-BDDAD3B7ED12%3Dexample-host%3A8889Fingerprint7C58BE8C-2893-11DC-AE84-BDDAD3B7ED12%3Dexample-host%3A8889Fingerprint7C58BE8C-2893-11DC-AE84-BDDAD3B7ED12=example-host%3A8889 HTTP/1.1" 500 211 "" "Python-httplib2/$Rev: 235 $" 130.73.72.132 - - [02/Jul/2007:15:17:23 +0300] "POST /uriqa/?uri=http%3A//example-host.com%3A8889/DAV/home/mikael/foo&method=MPUT&&=&=&=&Fingerprint7C58BE8C-2893-11DC-AE84-BDDAD3B7ED12=example-host%3A8889Fingerprint7C58BE8C-2893-11DC-AE84-BDDAD3B7ED12%3Dexample-host%3A8889Fingerprint7C58BE8C-2893-11DC-AE84-BDDAD3B7ED12%3Dexample-host%3A8889Fingerprint7C58BE8C-2893-11DC-AE84-BDDAD3B7ED12%3Dexample-host%3A8889Fingerprint7C58BE8C-2893-11DC-AE84-BDDAD3B7ED12=example-host%3A8889 HTTP/1.1" 500 211 "" "Python-httplib2/$Rev: 235 $" It seems like the server is trying to retrieve a resource, but timeouts after a while. Any tips will help! Cheers, Mikael On 29/06/07, Mikael Högqvist <hoegqv...@zib.de> wrote:
Hi, I have tried to use the different HTTP interfaces for uploading data to a virtuoso store, but so far without any success. I'm verifying if data was indexed by running a SPARQL query matching all triples. What I tried was the following: - using the URIQA interface (through /DAV/) with MPUT hangs the client since the server does not reply - the same happens when using /uriqa?uri=<uri>&method=MPUT - the NET RDF API does not have any documentation yet, is there a special resource (like /netapi/) which is enabled for this? - /DAV/ does not work since when uploading an RDF/XML-file it seems not to be indexed Please let me know if you need more details and if there is anything I seemed to have overseen. Best Regards, Mikael