Re: [Virtuoso-users] Export RDF to a file

2007-04-30 Thread imikhailov
Alex, >> Is there any way I can write out to a file as I go - rather than >> storing it all in an in-memory string stream? > Ah, I figured out a way to do this.. I write to the string stream as I go, and every N times through the loop I append it to a file and flush the string stream. The stri

Re: [Virtuoso-users] Export RDF to a file

2007-04-30 Thread Alex Black
sers-boun...@lists.sourceforge.net] On > Behalf Of Alex Black > Sent: Monday, April 30, 2007 2:14 PM > To: imikhailov; virtuoso-users@lists.sourceforge.net > Subject: Re: [Virtuoso-users] Export RDF to a file > > Thanks again Ivan. > > Is there any way I can write out to a file as I go -

Re: [Virtuoso-users] Export RDF to a file

2007-04-30 Thread Alex Black
rtuoso-users@lists.sourceforge.net > Subject: RE: [Virtuoso-users] Export RDF to a file > > Alex, > > > Will this method work with relational data that I have setup an RDF > > view > for? > > The idea will work, thw procedure will not. It access > directl

Re: [Virtuoso-users] Export RDF to a file

2007-04-30 Thread imikhailov
[mailto:imikhai...@openlinksw.com] > Sent: Monday, April 30, 2007 11:36 AM > To: Alex Black; virtuoso-users@lists.sourceforge.net > Subject: RE: [Virtuoso-users] Export RDF to a file > > Alex, > > CONSTRUCT is definitely not the best way, because it creates in-memory > dic

Re: [Virtuoso-users] Export RDF to a file

2007-04-30 Thread Alex Black
ge <http://terapath.net/adb/quad_storage/default>; TEST(); - Alex > -Original Message- > From: imikhailov [mailto:imikhai...@openlinksw.com] > Sent: Monday, April 30, 2007 11:36 AM > To: Alex Black; virtuoso-users@lists.sourceforge.net > Subject: RE: [Virtuoso-users]

Re: [Virtuoso-users] Export RDF to a file

2007-04-30 Thread imikhailov
major release, Virtuoso will optimize some CONSTRUCT queries so they will avoid in-memory dictionary in some cases, including 'dump graph' case; this will eliminate the complication. Best Regards, IvAn Mikhailov. -Original Message- From: Alex Black [mailto:alex.bl...@terapath.net] Sen

Re: [Virtuoso-users] Export RDF to a file

2007-04-30 Thread Alex Black
> Sent: Monday, April 30, 2007 11:04 AM > To: Alex Black; virtuoso-users-boun...@lists.sourceforge.net > Subject: RE: [Virtuoso-users] Export RDF to a file > > Alex, > > > There is quite a lot of data in the sql server database behind this > > quad > storage (1.8gb

Re: [Virtuoso-users] Export RDF to a file

2007-04-30 Thread Alex Black
gnored? - Alex > -Original Message- > From: Alex Black > Sent: Monday, April 30, 2007 9:00 AM > To: 'imikhailov' > Cc: virtuoso-users-boun...@lists.sourceforge.net > Subject: RE: [Virtuoso-users] Export RDF to a file > > Thanks very much Ivan, that helps a lo

Re: [Virtuoso-users] Export RDF to a file

2007-04-30 Thread Alex Black
Thanks very much Ivan, that helps a lot! > -Original Message- > From: imikhailov [mailto:imikhai...@openlinksw.com] > Sent: Saturday, April 28, 2007 3:19 PM > To: Alex Black > Cc: virtuoso-users-boun...@lists.sourceforge.net > Subject: RE: [Virtuoso-users] Ex

[Virtuoso-users] Export RDF to a file

2007-04-27 Thread Alex Black
Can anyone point me in the right direction to export RDF to a file (say TTL, or RDF/XML)? It looks to me like DB.DBA.RDF_TRIPLES_TO_TTL() would work, but I can't figure out what to pass in to the second parameter (the output stream)? This page mentions this function briefly: http://docs.openlinks