Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I think the solution really depends on exactly what it is you want to do with the graph once you have managed to store it on disk/in database, and this is a little unclear in your question. However, a couple of things you might wish to consider are:</p> <ul> <li>if you just want to persist the graph without using any of the features or properties you might expect from an rdbms solution (such as ACID), then how about just pickling the objects into a flat file? Very rudimentary, but like I say, depends on exactly what you want to achieve.</li> <li><a href="http://wiki.zope.org/ZODB/FrontPage" rel="nofollow noreferrer">ZODB</a> is an object database for Python (a spin off from the Zope project I think). I can't say I've had much experience of it in a high performance environment, but bar a few restrictions does allow you to store Python objects natively.</li> <li>if you wish to pursue RDF, there is an <a href="http://www.openvest.com/trac/wiki/RDFAlchemy" rel="nofollow noreferrer">RDF Alchemy</a> project which might help to alleviate some of your concerns about converting from your graph to RDF structures and I think has Sesame as part of it's stack.</li> </ul> <p>There are some other <a href="http://wiki.python.org/moin/PersistenceTools" rel="nofollow noreferrer">persistence tools</a> detailed on the python site which may be of interest, however I spent quite a while looking into this area last year, and ultimately I found there wasn't a native Python solution that met my requirements. </p> <p>The most success I had was using MySQL with a custom ORM and I posted a couple of relevant links in an answer to <a href="https://stackoverflow.com/questions/1271124/does-mysql-5-have-procedures-for-managing-hierarchical-data/1271517#1271517">this question</a>. Additionally, if you want to contribute to an RDBMS project, when I spoke to someone from Open Query about <a href="http://openquery.com/products/graph-engine" rel="nofollow noreferrer">a Graph storage engine for MySQL</a> them seemed interested in getting active participation in their project.</p> <p>Sorry I can't give a more definitive answer, but I don't think there is one... If you do start developing your own implementation, I'd be interested to keep up-to-date with how you get on.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload