Rajeev J Sebastian wrote:
> Hello Rumi, Tim and friends,
> 
> IN relation to this, how can I load data in the isql utility ?
> 
> I am trying to load a sample dataset, i.e., the UNSPSC dataset, into
> the http://booboo graph.
> 
> kane@pardus crlcp $ isql 1112 dba dba
> Connected to OpenLink Virtuoso
> Driver: 05.00.3009 OpenLink Virtuoso ODBC Driver
> OpenLink Interactive SQL (Virtuoso), version 0.9849b.
> Type HELP; for help and EXIT; to exit.
> SQL> RDF_LOAD_RDFXML(file_to_string_output('/home/kane/projects/UNSPSC.daml'),
> '', 'http://booboo');
> 
> *** Error 42000: [Virtuoso Driver][Virtuoso Server]FA011: Access to
> /home/kane/projects/UNSPSC.daml is denied due to access control in ini
> file
> at line 1 of Top-Level:
> RDF_LOAD_RDFXML(file_to_string_output('/home/kane/projects/UNSPSC.daml'),
> '', 'http://booboo')
>

Ah, that's easy enough :)

>From the virtuoso server's working directory (ie where the ini-file is):
mkdir myrdf or ln -s ~kane/projects/ myrdf  as you wish
edit the virtuoso.ini or demo.ini
find the DirsAllowed line
prepend ./myrdf to it
copy your rdf stuff into myrdf/ if you didn't symlink it earlier
restart the server
repeat the isql and rdf_load_rdfxml() steps above.

HTH,

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

Reply via email to