Skip to content
This repository was archived by the owner on Feb 8, 2019. It is now read-only.
This repository was archived by the owner on Feb 8, 2019. It is now read-only.

Usefulness of DiplomaticRelations? #26

@amaury1093

Description

@amaury1093

Probably not for v1, but still putting it here.

Assuming we have one abstract Entity class, and PoliticalEntity, Event and Person are subclasses. Does DiplomaticRelation only represent the PoliticalEntity<->PoliticalEntity relationship? How about PoliticalEntity<->Person, Person<->Event or Person<->Person relationships? Each will have a new model? Or should we have a generic Relation model to translate all Entity<->Entity relations?

One elegant solution, proposed by Ville, is to only use Events. So:

  • Event: Belarus became a puppet state of the USSR in 1922
  • Event: the USSR got dissolved in 1991.

From these two events we can know that Belarus was a puppet state of the USSR between 1922 and 1991. Probably there should be a DiplomaticRelation derivative table in the db, for optimization purposes. But users don't input DiplomaticRelations, only Events.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions