function endNode(relationship) endNode() returns the end node of a relationship Arguments:
MATCH (x:foo)-[r]-() RETURN endNode(r)