Entity Relationship Change Model: Difference between revisions

From Adam Colton
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
The Entity Change model is one that I am working on for text generation. Entities are anything that would be a noun. Changes are applied to them. Both entities and changes 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.
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 ==
== Entity Types ==
Line 11: Line 11:
* Relationship
* Relationship


The entities will form a graph with relationships forming the links. Perhaps on that basis relationships should be a first-class citizen.  
The entities will form a graph with relationships forming the links.
 
== Relationships ==
* Object
* Subject
* Attributes
 
For now, relationships all have two entities, the object and the subject. All entities have an object and subject link
 
=== Relationship Types ===
* Social
* Possession
* Positional


== Change ==
== Change ==

Revision as of 15:23, 25 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
  • Relationship

The entities will form a graph with relationships forming the links.

Relationships

  • Object
  • Subject
  • Attributes

For now, relationships all have two entities, the object and the subject. All entities have an object and subject link

Relationship Types

  • Social
  • Possession
  • Positional

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.