Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
12-30-2020 12:42 PM
I have a question rather scientific in type. It is written in all sources that Neo4j is not an associative database.
Is it possible to have associations instead of relationships when using Neo4j ?
I saw certain materials about Neo4j.rb but I do not know how it works.
Could you please give me any examples of using associations in Neo4j if, of course there is such option here ?
12-30-2020 01:43 PM
I wasn't clear on what an "associative database" is.
I found this article that is helpful: The return of the associative database? – Bloor Research
associative databases have one crucial advantage over graph databases, which is that while the latter is about entities and relationships between those entities, an associative database not only encompasses associations (aka relationships) between entities but also associations between associations. For example, in a graph database expressing a nuclear family you might have father related to mother, father related to son and mother related to son: that’s three entities and three relationships. In an associative database, on the other hand, you have a ‘child of’ association that associates with the mother-father association. In other words you still have three entities but only two associations.
I suppose you could have UUID value as a property in a relationship that points to another relationship (or even another Node), but that seems like it would get ugly.... (Note: do not use the built-in Neo4J id
as those values get recycled after a Node or Relationship gets deleted. You need to use the UUID library to uniquely identify each relationship.)
What is it that you are trying to do exactly?
All the sessions of the conference are now available online