Anchor model on top of Neo4j graph database?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Anchor model on top of Neo4j graph database?

delostilos
Hi,

Maybe this is a weird idea. But I was reading this post http://iansrobinson.com/2014/05/13/time-based-versioned-graphs/ and the neo4j version of it http://www.neo4j.org/graphgist?608bf0701e3306a23e77 .

Maybe it is possible to use the Anchor modeler to model and implement such a 'versioned graph'. This is how I think it could map to the model described in the blogs:
- Anchors as the 'Identity Nodes'
- non versioned Attributes to implement the immutable properties
- versioned Attributes to model the 'State Nodes' and the 'timestamped State Relationships'.
- 'binary' versioned Ties to model the 'timestamped Structural Relationships'
The only thing left is to add a set of templates to the modeler to implement it in Neo4j ;-)
Would be cool :-)