Entity Relationship Change Model
The Entity Change model is one that I am working on for text generation. Entities are anything that would be a noun. Relationships, while still a noun, define the graph between the entities. Changes are applied to entities and relationships. All three are stored as key-value pairs. The end structure is highly functional. I believe that at some point, higher level objects will be need, perhaps narration or 'text shaders' but I'm trying to get something basic working now.
Entity Types
- Living
- Self-Aware
- Animal
- Prop
- Clothing
- Vehicle
- Location
- Relationship
The entities will form a graph with relationships forming the links.
Relationships
- Object
- Subject
- Attributes
For now, relationships all an object and a subject. All entities have an object and subject link. A relationship can also be a subject.
Relationship Types
- Social
- Possession
- Positional
- Emotional
Change
A change is the set of attributes that change (and what they change to) and a duration over which the change happens. The duration can be instant.