In
Data Model Patterns David Hay presents something called 'Universal Data Model', a generic data model to store any kind of data.
The GX version of it should be something like this:
Thing
ThingId*
ThingClassId
ThingClassName
ThingName
(
AttributeId*
AttributeName
AttributeValue
)
Relationship
ThingFromId* subtype of ThingId
ThingFromName subtype of ThingName
ThingToId* subtype of ThingId
ThingToName subtype of ThingName
RelationshipTypeId
RelationshipTypeName
ThingClass
ThingClassId*
ThingClassName
(
AttributeId*
AttributeName
)
Attribute
AttributeId*
AttributeName
RelationshipType
RelationshipTypeId
RelationshipTypeName
I ( Nicolas Jodal ) found it very interesting and even it's imposible to used it for everything, it can be usefull in some cases.