Or something like Datomic (http://www.datomic.com/)