#clojure logs

2008-03-05

10:52Chouserrhickey: good morning! Is it morning where you are?
10:52rhickeyyup, ny
10:53Chouserdo you have an idea for the "best way" to store relations?
10:53rhickeystore them on disk/
10:53rhickey?
10:53Chouseryeah
10:54rhickeyUsually the DB is dictated by other constraints, could go in anything relational
10:54rhickeywith the caveat of no-ragged rows
10:54Chouserok
10:55Chouserare you at all familier with RDF?
10:55rhickeyeasy to put rowsets from JDBC into relations - (set (resultset-seq rs))
10:55Chouserah, cool.
10:55rhickeyRDF - yes, I've written triple-stores
10:56ChouserI've actually done very little with RDF in practice, but I think I see its utility and I'm working on using it now.
10:56ChouserAlthough I had actually decided to back off of "real" RDF and just use triples in clojure maps for now.
10:56Chousertriples of whetever -- keywords and strings, I suppose, instead of URIs
10:58Chouseranyway, that was my plan before your addition of relation supprot, so now I'm trying to figure out if I want to make use of that somehow.
11:01rhickeyyou can make relations of triples
11:01Chouserthat's kinda what I was thinking ...thus the question of disk storage.
11:01ChouserFor the short term I'll just dump the maps using print and read with eval.
11:02Chouserread-file
11:02rhickeyyou could use the JAva API to Allegro's
11:02Chouseranyway, I have that working, but obviously there's a bit of a size constraint there.
11:02rhickey< 50 million triples is free
11:02Chouserwhat's allegro?
11:04rhickeyhttp://agraph.franz.com/
11:05Chouserok, thanks.
11:06rhickeyI haven't used it, but the Java version looks useful for Clojure
11:06ChouserI was looking at JRDF some, but I wanted to concentrate on building a nice Clojure query API first.
11:07rhickeyThere's also Jena
11:27rhickeyhttp://yariv.wufoo.com/forms/favorite-lisp/
11:49Chouser:-)
14:28jgracinrhickey: just a tip... Emacs has fill-paragraph which is bound to M-q. It takes care of formatting in doc-strings.
14:28rhickeythanks - I was wondering how I was going to keep up the formatting :)
14:32jgracin:-)