Model from viakviak: различия между версиями
(→Each entity has corresponding Type) |
|||
Строка 1: | Строка 1: | ||
[[Category:Public database]] | [[Category:Public database]] | ||
− | {{orig|[[viakviak]].livejournal.com/17149.html}} | + | v1.4 - {{orig|[[viakviak]].livejournal.com/17282.html}} |
+ | |||
+ | draft - {{orig|[[viakviak]].livejournal.com/17149.html}} | ||
= Entities = | = Entities = | ||
Термины, классы | Термины, классы | ||
Строка 30: | Строка 32: | ||
CreatorId | CreatorId | ||
+ | = Terms = | ||
== Entity Type == | == Entity Type == | ||
simple entity satellite with system properties only - Каждый класс автоматически получит "тип" с возможными категориями. | simple entity satellite with system properties only - Каждый класс автоматически получит "тип" с возможными категориями. | ||
− | |||
== Multiple Property == | == Multiple Property == | ||
references to multiple records. Usually it is implemented as joint table. Множественные ссылки от одного обьекта к нескольким другим. В реляционных базах данных такая конструкция поддерживается стандартной дополнительной "стыковой" таблицей. | references to multiple records. Usually it is implemented as joint table. Множественные ссылки от одного обьекта к нескольким другим. В реляционных базах данных такая конструкция поддерживается стандартной дополнительной "стыковой" таблицей. | ||
+ | == Geography == | ||
+ | Geographical Types and derivatives -- Географические термины и их "наследование" (примеры) | ||
− | |||
-- can use modern or historical references to point to specific geographical features. | -- can use modern or historical references to point to specific geographical features. | ||
− | ==Area == | + | === Area === |
-- географическое пространство | -- географическое пространство | ||
InsideOfAreaId -- для определения иерархической структуры | InsideOfAreaId -- для определения иерархической структуры | ||
− | + | Location (multiple) -- goes through or resides in - где находится или что пересекает | |
+ | === others === | ||
+ | · Border : Land Path | ||
+ | |||
+ | · Capital : City | ||
+ | |||
+ | · Channel : Water, Path | ||
+ | River, Road, Channel, Path, (?Border, Strait?) | ||
+ | - Любой протяженный географический элемент | ||
+ | |||
+ | · City : Settlement | ||
+ | |||
+ | · Continent : Land | ||
+ | |||
+ | · Country : Area | ||
+ | |||
+ | · District : Settlement | ||
+ | |||
+ | · Geo | ||
+ | |||
+ | · Headquarters : Landmark | ||
+ | |||
+ | · House : Landmark | ||
+ | |||
+ | · Lake : Water | ||
+ | |||
+ | · Land : Geo | ||
+ | |||
+ | · Landmark : Land | ||
+ | точечный географический елемент | ||
+ | |||
+ | · Path : Geo | ||
+ | |||
+ | · Railroad : Road | ||
+ | |||
+ | · Road : Path, Land | ||
− | + | · Region : Area | |
+ | |||
+ | · River : Water Path | ||
+ | |||
+ | · Sea : Water Area | ||
+ | |||
+ | · Settlement : Land Area | ||
+ | |||
+ | · State : Land, Area | ||
+ | |||
+ | · Strait : Water, Path | ||
+ | |||
+ | · Village : Settlement | ||
+ | |||
+ | · Water : Geo | ||
+ | |||
+ | · World : Geo | ||
+ | == Event Types == | ||
+ | Категории событий | ||
+ | |||
+ | · Absence -- something doesn't exist | ||
+ | |||
+ | · Attack : Conflict | ||
+ | |||
+ | · Battle : Conflict -- Сражение | ||
+ | |||
+ | · Catastrophe : Disaster | ||
+ | |||
+ | · Quotation : Event -- цитата | ||
+ | |||
+ | · Company : Organization | ||
+ | |||
+ | · Conflict : Event | ||
+ | |||
+ | · Defense : Conflict | ||
+ | |||
+ | · Disaster : Event | ||
+ | |||
+ | · Discovery : Event | ||
+ | |||
+ | · Emperor : Person | ||
+ | |||
+ | · Event – something exists | ||
+ | |||
+ | · Family : Event | ||
+ | |||
+ | · Famine : Nature, Disaster | ||
+ | |||
+ | · Flood : Nature, Disaster | ||
+ | |||
+ | · Fire : Nature Disaster | ||
+ | |||
+ | · Idea : Event | ||
+ | |||
+ | · Invention : Science Discovery | ||
+ | |||
+ | · King : Person | ||
+ | |||
+ | · Nature | ||
+ | |||
+ | · Organization : Event | ||
+ | |||
+ | · Person : Event | ||
+ | |||
+ | · Product : Event | ||
+ | |||
+ | · Science : Event | ||
+ | |||
+ | · Siege : Conflict -- Осада | ||
+ | |||
+ | · Reign : Event | ||
+ | |||
+ | · Religion : Idea | ||
+ | |||
+ | · Revolution : Conflict | ||
+ | |||
+ | · Technology : Event | ||
+ | |||
+ | · Volcano : Nature Disaster | ||
+ | |||
+ | · War : Conflict | ||
+ | == Link Types == | ||
+ | Типы связок | ||
+ | |||
+ | · Ally with : Link | ||
+ | |||
+ | · Borders with : Link | ||
+ | |||
+ | · Enemy of : Link | ||
+ | |||
+ | · Depends on : Link | ||
+ | |||
+ | · Duplicate of : Link | ||
+ | |||
+ | · Hierarchy : Link | ||
− | + | · Link | |
− | + | · Part of : Hierarchy | |
+ | · Son of : Link | ||
= Time = | = Time = | ||
-- Time could be specified by beginning and end explicitly or implicitly | -- Time could be specified by beginning and end explicitly or implicitly | ||
Строка 122: | Строка 255: | ||
EventTo -- event to | EventTo -- event to | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
= model from [[user:it4history]] = | = model from [[user:it4history]] = |
Версия 09:07, 12 апреля 2016
v1.4 - original is at: viakviak.livejournal.com/17282.html
draft - original is at: viakviak.livejournal.com/17149.html
Содержание
Entities[править]
Термины, классы
Each entity has corresponding Type[править]
Event
EventLink
Phrase
Reference
User
Each entity includes all system Properties[править]
System Properties: -- системные поля данных будут созданны для каждого класса
Id
NamePhraseId
DescriptionPhraseId
TypeId
CreateDate
ModifyDate
CreatorId
Terms[править]
Entity Type[править]
simple entity satellite with system properties only - Каждый класс автоматически получит "тип" с возможными категориями.
Multiple Property[править]
references to multiple records. Usually it is implemented as joint table. Множественные ссылки от одного обьекта к нескольким другим. В реляционных базах данных такая конструкция поддерживается стандартной дополнительной "стыковой" таблицей.
Geography[править]
Geographical Types and derivatives -- Географические термины и их "наследование" (примеры)
-- can use modern or historical references to point to specific geographical features.
Area[править]
-- географическое пространство
InsideOfAreaId -- для определения иерархической структуры
Location (multiple) -- goes through or resides in - где находится или что пересекает
others[править]
· Border : Land Path
· Capital : City
· Channel : Water, Path River, Road, Channel, Path, (?Border, Strait?)
- Любой протяженный географический элемент
· City : Settlement
· Continent : Land
· Country : Area
· District : Settlement
· Geo
· Headquarters : Landmark
· House : Landmark
· Lake : Water
· Land : Geo
· Landmark : Land точечный географический елемент
· Path : Geo
· Railroad : Road
· Road : Path, Land
· Region : Area
· River : Water Path
· Sea : Water Area
· Settlement : Land Area
· State : Land, Area
· Strait : Water, Path
· Village : Settlement
· Water : Geo
· World : Geo
Event Types[править]
Категории событий
· Absence -- something doesn't exist
· Attack : Conflict
· Battle : Conflict -- Сражение
· Catastrophe : Disaster
· Quotation : Event -- цитата
· Company : Organization
· Conflict : Event
· Defense : Conflict
· Disaster : Event
· Discovery : Event
· Emperor : Person
· Event – something exists
· Family : Event
· Famine : Nature, Disaster
· Flood : Nature, Disaster
· Fire : Nature Disaster
· Idea : Event
· Invention : Science Discovery
· King : Person
· Nature
· Organization : Event
· Person : Event
· Product : Event
· Science : Event
· Siege : Conflict -- Осада
· Reign : Event
· Religion : Idea
· Revolution : Conflict
· Technology : Event
· Volcano : Nature Disaster
· War : Conflict
Link Types[править]
Типы связок
· Ally with : Link
· Borders with : Link
· Enemy of : Link
· Depends on : Link
· Duplicate of : Link
· Hierarchy : Link
· Link
· Part of : Hierarchy
· Son of : Link
Time[править]
-- Time could be specified by beginning and end explicitly or implicitly
-- Время понятие приближенное. Даже казалось бы точная дата 10 апреля 2016 года подразумевает на самом деле две точки времени: начало дня и его конец, общей протяженностью 24 часа. Пока точно не знаю как, но термин "время" должно правильно описывать любое временное понятие, как бы оно не называлось.
-- Examples: April 10, 2016; 1st century BC, Dark Ages, Winter of 1812, Конец 20 века.
Period[править]
DateFrom
DateTo
Season (Winter, Spring, Summer, Autumn)
DayOfWeek (1-7)
Month
Year
Century
Day1
Day2
DayCount -- number of days in the period
Age
LocationId -- only for conversion to UTC time, if necesary
Language[править]
All textual content is specified by phrases for internationalization. Допускается любой техт на любом языке. Все фразы содержатся в одном месте для упрощения перевода.
Phrase
- Content
- Language
Resource[править]
Reference -- ссылка на источник
Href
ISBN
Author
Content[править]
Events happen at certain time period. Main Entity containing any events or facts in time of history of humanity, including facts of absence. Главный класс содержащий события и факты, включая отсутствие знания о чем-либо.
Event -- Событие
GeoPoint -- Geography(Latitude, Longitude). Географическая точка.
Address – International postal address. Международный адрес
EventLink (multiple) – related Events.
Reference (multiple) -- source of information
Population -- number of affected people
Link[править]
- Связка
GeoDirection (North, East, South, West, ...)
Event -- event from
EventTo -- event to
model from user:it4history[править]