Skip to content

a tool to trace the succession of leaders in graph form

Notifications You must be signed in to change notification settings

sazl/succession

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Succession

WORK IN PROGRESS

The Plan

Succession: a tool to trace the succession of leaders in graph form, read the history/biography as you click and work down the years. Nice for studying political history.

Features

  • Trace all political lineages (!)
  • Include significant contenders, usurpers, and challengers.
  • Tag particular nodes (leaders) with attributes that can be searched and filtered
  • Support complex range filters and selection filters, such as:
    • Dynasties with more than 3 generations
    • All emperors assassinated within 5 years of their rule
    • Dynasties with interrupted succession

Architecture

Architecture

Wiki Notes

Micro formats

Info

"The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers"

Format

<div class="vcard">
    <span class="fname"></span>
    <span class="role"></span>
    <span class="bday"></span>
    ...
</div>

Successor and predecssor info is not part of the spec, it must be parsed from wikipedia's infobox.

Example from Trajan's hCard/infobox HTML:

<table>
  <tbody>
    ...

    <tr>
      <th scope="row">Predecessor</th>
      <td><a href="/wiki/Nerva" title="Nerva">Nerva</a></td>
    </tr>
    <tr>
      <th scope="row">Successor</th>
      <td><a href="/wiki/Hadrian" title="Hadrian">Hadrian</a></td>
    </tr>

    ...
  </tbody>
</table>

Examples

Trajan hCard Example

Infobox

Parsing Wikipedia's infobox is another option. Wiki markup has a template for infoboxes that specifies a 'successor' and 'predecessor' key.

https://en.wikipedia.org/wiki/Template:Infobox_royalty https://en.wikipedia.org/wiki/Template:Infobox_officeholder

Example

Amanirenas Info Box

{{Infobox monarch
| name               = Amanirenas
| title              = [[List of monarchs of Kush|Queen]] of [[Kingdom of Kush|Kush]]
| image              = File:Stele hamadab.JPG
| caption            = Meroitic Stela found at Hamadab
| reign              = c. 40–10 BC
| coronation         =
| full name          = Ameniras, Qore and Kandake
| predecessor        = [[Teriteqas]]
| successor          = [[Amanishakheto]]
| spouse             =
| issue              = [[Akinidad]]
| royal house        =
| dynasty            = [[Meroitic period]]
| father             =
| mother             =
| birth_date         = 60s–50s BC
| birth_place        =
| death_date         = c. 10 BC
| death_place        =
| date of burial     =
| place of burial    = [[Jebel Barkal]] (Bar. 4?)
}}

Other Infoboxes

Example Output

Example Output

About

a tool to trace the succession of leaders in graph form

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published