The Web Graph Database


Term: RelationshipType

A type for Relationships between MeshObjects.

RelationshipType is similar to the concept of "association" in the UML, or "relationship" in information modeling. In InfoGrid so far, a RelationshipType is always binary, i.e. its instances (Relationships) each connect exactly two MeshObjects.

A RelationshipType may either be directed or undirected. If it is directed, the source and the destination MeshObject can be distinguished by a distinct RoleType. If it is undirected, the two related MeshObjects play the same RoleType.

For example, the RelationshipType isParentOf is directed, as there is clearly a semantic difference in whether "A is a parent of B", or "B is a parent of A". On the other hand, the RelationshipType isRelativeOf may be undirected, as there is no semantic difference between "A is a relative of B", and "B is a relative of A".

In InfoGrid, a RelationshipType may inherit from one or more other RelationshipTypes. Single inheritance of RelationshipTypes is common, while multiple inheritance is very rare.

See also:

Last modified 7 years ago Last modified on 07/07/09 23:15:52