Hello Lars,

On Thu, 2011-01-27 at 11:24 +0100, Lars Marius Garshol wrote:
> According to the spec
>   load <http://example.org/rdf.xml> into <http://example.org/G>
> 
> is legal, but Virtuoso will not accept it, complaining about '<' after 'load'.

I can't say "it works for me", but it does not work in a predicted and
proper way.

bash-4.1$ isql $PORT
Connected to OpenLink Virtuoso
Driver: 06.02.3128 OpenLink Virtuoso ODBC Driver
OpenLink Interactive SQL (Virtuoso), version 0.9849b.
Type HELP; for help and EXIT; to exit.
SQL> sparql load <http://example.org/rdf.xml> into
<http://example.org/G>;

*** Error HT404: [Virtuoso Driver][Virtuoso Server]Resource
"http://example.org/rdf.xml"; not found
in
signal:(BIF),
        __01 => 'HT404',
        __02 => 'Resource "http://example.org/rdf.xml"; not found',
DB.DBA.SYS_HTTP_SPONGE_UP([executable]/rdf_sponge.sql:738),
   local_iri =>
'destMD5=9d5bfd081f0d9acd14ca23df310a0055&graphMD5=f18fbfac683ab4a5dd67ad054fd3a2f7',
     get_uri => 'http://example.org/rdf.xml',
      parser => 'DB.DBA.RDF_LOAD_HTTP_RESPONSE',
      eraser => 'DB.DBA.RDF_FORGET_HTTP_RESPONSE',
     options => (ARRAY_OF_POINTER value, tag 193),
DB.DBA.RDF_SPONGE_UP_1([executable]/rdf_sponge.sql:1451),
   graph_iri => 'http://example.org/rdf.xml',
     options => (ARRAY_OF_POINTER value, tag 193),
         uid => -1,
aq_wait_all:(BIF),
        __01 => (UNK_DV_TYPE value, tag 245),
DB.DBA.RDF_SPONGE_UP([executable]/rdf_sponge.sql:1350),
   graph_iri => 'http://example.org/rdf.xml',
     options => (ARRAY_OF_POINTER value, tag 193),
         uid => -1,
signal:(BIF),
        __01 => 'HT404',
        __02 => 'Resource "http://example.org/rdf.xml"; not found
in
signal:(BIF),
        __01 => 'HT404',
        __' (truncated),
DB.DBA.RDF_GRAB_SINGLE([executable]/rdf_sponge.sql:119),
         val => 'http://example.org/rdf.xml',
     grabbed => (UNK_DV_TYPE value, tag 214),
         env => (ARRAY_OF_POINTER value, tag 193),
signal:(BIF),
        __01 => 'HT404',
        __02 => 'Resource "http://example.org/rdf.xml"; not found
in
signal:(BIF),
        __01 => 'HT404',
        __' (truncated),
DB.DBA.SPARUL_LOAD([executable]/sparql.sql:5534),
   graph_iri => 'http://example.org/G',
    resource => 'http://example.org/rdf.xml',
         uid => 0,
    log_mode => NULL,
  compose_report => 1,
<Top Level>

at line 1 of Top-Level:
sparql load <http://example.org/rdf.xml> into <http://example.org/G>
SQL> 


If you execute the query via an SQL interface (ISQL client, Conductor
web version of ISQL, any other ODBC/UDBC/IODBC/JDBC client), the SPARQL
keyword is mandatory.

Best Regards,

Ivan Mikhailov
OpenLink Software
http://virtuoso.openlinksw.com



Reply via email to