Thanks Malcolm. I'm curious more than anything, since RDF etc gets talked about a lot, but implementations rarely seem to make it into the real-world.
I referenced the exact same resource to pull together a basic triple-store library in Rails a while back, and it was fairly painless (although a tad hacky) - perhaps I'll sit down to try the same with Python and Django sometime. I certainly found the code I had working to be VERY powerful. Just out of curiosity, did you use a SPARQL-style syntax to build queries, then convert it into standard SQL? Or did you do what I did, and have an object-based API translate to SQL without a middle-man? -Phil On 19/06/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > On Mon, 2006-06-19 at 12:35 +0100, Phil Powell wrote: > > Hi all, > > > > Just out of pure curiosity: has anyone had any experience / know of > > any work around using RDF / triple stores with Django? > > This was the "toy project" I used to get familiar with Django in about > October last year (aah.. the memories). I made up a model and some > auxilliary methods based around [1] and a simple web page so that I > could run queries. It was a "learning Django" exercise, rather than > aimed at doing anything useful, so I didn't take it very far or try to > optimise it much. Might be fun to revisit with the latest Django changes > (the original code would not run any more), because some of the more > RDF-like interfaces could be put into the model managers and the like, > making it a bit more seamless. > > [1] http://www.picdiary.com/triplequerying/ > > There wasn't really anything specially hard about this. The model was as > simple as it gets and trying out possibilities for the API was the > interesting part. > > Regards, > Malcolm > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---