How do I create a single, two way relationship and attach properties to the realationship?

Welcome Botanic Macaroni!

In neo4j, relationships are created with, and always have one and only one direction. It is possible to create two or more relationships between two nodes, and the same type of relationship can have opposite directions. To have two relationships of similar typ between two nodes is often unnecessary and is then often not good practise.

It is a often good practice to use verbs for naming relationships.

There are many ways to create and name these two kind of relations between people.

One alternative could be to use a "IS_A_SIBLING_OF" relationship between brothers and sisters, and it might also be possible to use a "IS_MARRIED_TO" between husband and wife.

When you try to MATCH these kinds of relationships, then you don't need to specify the direction.

You know that if A is a sibling of B, then B will also be a sibling of A. And if B is married to C, then C will also be married to B. So in this case the directions of the relationships does not matter.

To sum up:

In neo4j, you always need to specify a direction when you create relationship. In this case the created direction could be arbitrary. It doesn't matter which direction you choose.

In neo4j, you do not need to specify a direction when you match relationship. In that case you will match the existence of a relationship type regardless of the direction of the relationship type.

Good Yule!