3 ms·
Awesome, thanks! The recursion looks compelling. I'd be interested to know if anyone has compared Datalog and Neo4j/Cypher.
by garysieling 10y ago
Awesome, thanks! The recursion looks compelling. I'd be interested to know if anyone has compared Datalog and Neo4j/Cypher.
- samuell 10y agoCypher doesn't have named queries (and thus not recursive ditto either), AFAIK. I asked some Neo4j guys on a meetup some time ago, and they didn't even seem to really understand the question at first. It's a pity. I'd be very happy to use Neo4J if it had.
- garysieling 10y agoInteresting. It seems like to query a graph is implicitly recursive (especially compared to SQL), although I can see how something like pagerank might need more.
- hcarvalhoalves 10y agoNeo4j focuses on modeling nodes and it's relationships, and allows you to attach metadata to the later, but doesn't really have transactions as first-class objects. Datomic focuses on modeling facts (entity-attribute-value). This is a very stable data representation that allows modelling tables, documents or graphs [1], on top of carrying transaction explicitly on an additional index for the time-travel magic. I guess Neo4j might make a good DB for ETL-ing into and running certain kinds of analysis. [1] https://hashrocket.com/blog/posts/using-datomic-as-a-graph-database https://hashrocket.com/blog/posts/using-datomic-as-a-graph-d...
- garysieling 10y agoAwesome, thanks. I'm building a search engine (https://www.findlectures.com https://www.findlectures.com) and I've been looking at ETL-ing the data into/out of Neo4j to do some data augmentation, but the history feature of Datomic is really compelling if I used it as a primary data store.