Hi Michel,
You would probably have to do this in two phases using the Virtuoso
built in gz_uncompress function as detailed at:
http://docs.openlinksw.com/virtuoso/fn_gz_uncompress.html
and then load the g'unzipped files are normal with the TTLP_MT()
function.
Note you could also write a unix script to gunzip the files before
loading, which is what we do the dbpedia installer script we have
which requires the datasets to be bunzip2'ed as detailed in the
installation scripts at:
http://s3.amazonaws.com/dbpedia-data/dbpedia_load.tar.gz
I hope this helps ...
Best Regards
Hugh Williams
Professional Services
OpenLink Software
Web: http://www.openlinksw.com
Support: http://support.openlinksw.com
Forums: http://boards.openlinksw.com/support
On 27 Jun 2009, at 11:10, Michel Dumontier wrote:
Hi!
how do i load gzipped n3 files using isql?
here's what i currently do for unzipped files:
DB.DBA.TTLP_MT(file_to_string_output ('/path/myfile'), '', 'test');
Thanks!
-=Michel=-
--
Michel Dumontier
Assistant Professor of Bioinformatics
http://dumontierlab.com
----------------------------------------------------------------------
--------
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users