We can get a lot of convenience at the price of extra tags on nodes.
I.e. right now you have dedicated node labels PolymerClassRNAProtein etc, so now that you have "other_polymer" you have to create a whole new thing with node creating and linking.
Instead create a Polymer node for each polymer uniformly and then tag them with Protein or RNA or what have you retroactively:
We can get a lot of convenience at the price of extra tags on nodes. I.e. right now you have dedicated node labels
PolymerClass
RNA
Protein
etc, so now that you have "other_polymer" you have to create a whole new thing with node creating and linking.Instead create a
Polymer
node for each polymer uniformly and then tag them withProtein
orRNA
or what have you retroactively:https://neo4j.com/docs/cypher-manual/current/clauses/set/#set-set-multiple-labels-on-a-node