Jörg Schüppel wrote:
> Hello,
> 
> my Question is about adding NTriples Files to Virtuoso via the isql  
> command line:
> 
> I tried rdf_load_rdfxml('./test.nt','http://test.org','http://test.org');
> so described in the manual:  
> http://docs.openlinksw.com/virtuoso/rdfapiandsql.html#rdfapi
> 
> This command above leads me to this error message:
> *** Error 22023: [Virtuoso Driver][Virtuoso Server]SR008: Function  
> rdf_load_rdfxml needs an integer as argument 2, not an arg of type VARCHAR  
> (182)
> at line 12 of Top-Level:  
> rdf_load_rdfxml('./test.nt','http://test.org','http://test.org')
> 
> So is the description of the rdf_load_rdfxml() function someway wrong? Or  
> is it my fault?
> 

Hi,

It seems to make a significant difference if you fully qualify the stored
procedure name:

db.dba.rdf_load_rdfxml(file_to_string('./foaf.rdf'),
        'http://pizza.local:8890/foaf.rdf',     
        'http://pizza.local:8890/foaf.rdf');

works for me.

HTH,

~Tim
-- 
Tim Haynes
Product Development Consultant
OpenLink Software
<http://www.openlinksw.com/>

Reply via email to