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')


## also after changing to /home/kane/projects/
kane@pardus projects $ 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('UNSPSC.daml'), '', 'http://booboo');

*** Error 42000: [Virtuoso Driver][Virtuoso Server]FA112: Can't stat
file UNSPSC.daml, error (2) : No such file or directory
at line 1 of Top-Level:
RDF_LOAD_RDFXML(file_to_string_output('UNSPSC.daml'), '', 'http://booboo')


Also, is there some way to add data to an existing graph using the
this procedure ?

Regards
Rajeev J Sebastian

On 7/2/07, Rumi Tsekova <rtsek...@openlinksw.com> wrote:

Hi,


> Cesbron, Brice wrote:
>> Hello,
>>
>> I've downloaded and just installed Virtuoso :
>> virtuoso-opensource-win32-5.0.1
>> I have already done my ontology so how can I import my file.owl into the
>> virtuoso database?
>>
>> If someone has some example or some tuto I would appreciate it.
>> Thanks in advance.
>>
>
> Hi,
>
> First, you can import triples - including from .owl files - by either
>
> a) uploading to DAV briefcase and letting it import the triples as
> metadata  or
> b) using the ttlp() function:
> http://docs.openlinksw.com/virtuoso/rdfapiandsql.html#rdfapidataimport
>
> However, I suspect you're trying to perform a SQL->RDF mapping, in which
> case you'll find more documents here:
>
> 1. RDF Views Documentation:
> http://virtuoso.openlinksw.com/Whitepapers/pdf/Virtuoso_SQL_to_RDF_Mapping.pdf
>
> 2. RDF Views Presentations:
> http://virtuoso.openlinksw.com/presentations/Virtuoso_RDF_Views_1.ppt

In addition, you can try our life tutorial for importing rdf data at:
http://demo.openlinksw.com/tutorial/rdf/ri_s_1/ri_s_1.vsp

Best Regards,
Rumi



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Reply via email to