property
A named value stored on a node or a relationship.
Also written: properties
Example
name is stored on the (:Person) node, title and released are stored on the (:Movie) node. role is stored on the relationship.
cypher
MATCH path = (:Person {name: 'Tom Hanks'})-[r:ACTED_IN]->(m:Movie)
RETURN path, m.released, r.rolem.released reads a named value from the (:Movie) node. r.role reads one from the relationship. role sits there rather than on either node, because Tom Hanks is Woody in this film and not in the others he acted in.
Lessons that use this term
The lesson and course links below open in a new tab.
No published lesson uses this term yet.