Hi Nestor, The first parameter to ld_dir() should be a directory and not an actual filename, the second parameter then takes the name of the file or file types ie *.nt to load, thus it should be something like:
ld_dir('/usr/share/virtuoso-opensource-6.1/vad/','%.nt','graph'); If "dbtropes-20120211.nt" is actually a directory then is location should also be added to the "DirsAllowed" parameter in the "virtuoso.ini" file and the server restarted such that the server will allow files to load from that location. BTW, placing files in the "vad" directory is not a very clean way to do things, you should place in a separate location and keep your vad directory clean for its intended purpose. Best Regards Hugh Williams Professional Services OpenLink Software, Inc. // http://www.openlinksw.com/ 10 Burlington Mall Road, Suite 265, Burlington MA 01803 Weblog -- http://www.openlinksw.com/blogs/ LinkedIn -- http://www.linkedin.com/company/openlink-software/ Twitter -- http://twitter.com/OpenLink Google+ -- http://plus.google.com/100570109519069333827/ Facebook -- http://www.facebook.com/OpenLinkSoftware Universal Data Access, Integration, and Management Technology Providers On 13 Feb 2012, at 22:30, Nestor Facundo Abraham wrote: > Hello, I'm new with Virtuoso software. > > I'm using the Virtuoso 6.1 open source version for ubuntu. I'm trying to > import one .nt dump file to my virtuoso server but i can't find the correct > way to achieve it. > > I first try it with a ISQL sentence like this: > > ld_dir('/usr/share/virtuoso-opensource-6.1/vad/dbtropes-20120211.nt','%.nt','graph'); > > and I get this error: > > SQLState: 39000 > Message: FA020: Unable to list files in > '/usr/share/virtuoso-opensource-6.1/vad/dbtropes-20120211.nt': > > The second way I read on Internet was trying to import files through the User > Defined Types, but I get a message the following message: > This service requires MONO/CLR or Java extension servers > > Concerning to this I have to say that I downloaded The Mono of Ubuntu, and > tried to configure it in virtuoso.ini file like this: > > [Mono] > ;MONO_TRACE = Off > MONO_PATH = /usr/share/mono-2.0/ > MONO_ROOT = /usr/share/mono-2.0/ > ;MONO_CFG_DIR = <path_here> > ;virtclr.dll = > > > I don't really know if I'm doing wrong this part. > > Ok any help will be appreciated. > > Thanks in advance, > > Nestor > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d_______________________________________________ > Virtuoso-users mailing list > Virtuoso-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/virtuoso-users
smime.p7s
Description: S/MIME cryptographic signature