Hi,

Apologies if I've not read the manual correctly. I'm trying to add some RDF/XML from the web to my VOS store via ODBC.

I've previously using local files fine. Now I want to add a file, such as:
http://purl.org/net/das301.xrdf


I'm trying this command:

helix:dataprocessor das05r$ /usr/local/virtuoso-opensource/bin/isql
OpenLink Interactive SQL (Virtuoso), version 0.9849b.
Type HELP; for help and EXIT; to exit.
SQL> CALL DB.DBA.RDF_LOAD_RDFXML_MT(http_get('http://purl.org/net/das301.xrdf') , '', 'dataproc_foo');
Connected to OpenLink Virtuoso
Driver: 05.11.3039 OpenLink Virtuoso ODBC Driver

*** Error 22007: [Virtuoso Driver][Virtuoso Server]XM033: XML parser detected an error:
        FATAL  : Non-whitespace character found instead of XML element
at line 4 column 27 of source text
        <TITLE>302 Found</TITLE>
------------------------^
at line 1 of Top-Level:
CALL DB.DBA.RDF_LOAD_RDFXML_MT(http_get('http://purl.org/net/das301.xrdf') , '', 'dataproc_foo')


Is http_get the right thing to use? It's not following the 302, it seems to be trying to parse it as a source?


Many thanks,

Dan




--
Daniel Alexander Smith

IAM Group
School of Electronics and Computer Science
University of Southampton
[email protected]




Reply via email to