Entity Relationship Change Model: Difference between revisions
Adamcolton (talk | contribs) |
Adamcolton (talk | contribs) |
||
| Line 27: | Line 27: | ||
== Change == | == 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. | 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. Perhaps it should have a cause too? | ||
[[Category:Code]] | [[Category:Code]] | ||
Revision as of 15:23, 26 April 2013
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
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. Perhaps it should have a cause too?