You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 8, 2019. It is now read-only.
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.
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<->PoliticalEntityrelationship? How aboutPoliticalEntity<->Person,Person<->EventorPerson<->Personrelationships? Each will have a new model? Or should we have a generic Relation model to translate allEntity<->Entityrelations?One elegant solution, proposed by Ville, is to only use Events. So:
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.