What's wrong with piggybank's export function? Well, unless I'm missing something, it exports data as an unformatted stream of characters. Your team has produced a nice set of utilities with Babel/Exhibit. You can paste the results from the results pane of Solvent directly into Babel and get out CSV, for example. I don't understand why piggybank's export function doesn't output a recognizable format. Like I said, perhaps I'm so dumb that I'm using totally the wrong tool for the job, but piggybank/solvent seems like a great and simple way to get useable information from plain html, and the data IS more useable in piggybank than on the page it came from, but I'd like to play with my data a little more, and I'm having trouble getting it out pf piggybank in a way that retains the contextual information.
Am I misunderstanding the purpose of piggybank or the intent of the output of the export function? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stefano Mazzocchi Sent: Tuesday, April 03, 2007 06:11 PM To: General List Subject: Re: Where does piggybank keep its data? William Gunn wrote: > Thanks Stefano. I found the location on disk. Perhaps I need to look > over the sesame docs a bit more, but I'm unclear on how to set it up > as a repository in sesame. > > Perhaps I'm a little over my head, and if this isn't the place for my > novice questions, let me know. > > I understand that I need to set up the piggybank data as a new data > repository. I cloned the Native RDF Repository, and Entered the > following parameters for it: > > The Sail stack I'm using is: > org.openrdf.sesame.sailimpl.sync.SyncRdfRepository > org.openrdf.sesame.sailimpl.nativerdf.NativeRdfRepository > > And the parameters I'm using are > dir:[my profile]\piggy-bank\ > triple-indexes: spo,ops > > > When I start sesame, the new repository shows up in the list, but > opening it shows a HTTP 500 written across the top of the page where > the Read actions and Write actions appear if I select one of the > default repositories. This probably suggests some fundamental > misunderstanding on my part, and if so, I don't mind being told so. > I'm quite aware that I have no idea what I'm doing. > > The problem I was trying to solve initially was, I thought, simple. > How do I get the data I've already added to piggybank using my > scraper, in the format it would have been shown in the results pane of > solvent? Is this clear? Solvent is passing results.turtle to > piggybank. I'm looking to do the reverse - exporting some of the data > I have already scraped and added to piggybank into a file of the same format as results.turtle. can I ask you first what's wrong with piggy-bank's own 'export' functionality? -- Stefano Mazzocchi Digital Libraries Research Group Research Scientist Massachusetts Institute of Technology E25-131, 77 Massachusetts Ave skype: stefanomazzocchi Cambridge, MA 02139-4307, USA email: stefanom at mit . edu ------------------------------------------------------------------- _______________________________________________ General mailing list [email protected] http://simile.mit.edu/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://simile.mit.edu/mailman/listinfo/general
