I have a datastructure that involves rating items, much like Netflix do. Now those ratings are numbers that are attached to relations between objects in a graph database. However, it seems as if attaching properties to relations, not nodes, in UML seems to be a difficult thing to find to do.
To elucidate. Object A rates Object B with a score of 8. So there are two objects that are connected by a relation called "rating" which has a value of 8 on it. Now, I would rather not create a relation for each value (A and B are related by rating score 8) -- this seems like a bad way of doing things. If someone could point me to how to represent this that would be brilliant.