Create a list of events for any Wikidata item for creating a timeline. Craft a SPARQL query that reads all the statements for an item that have dates as values and as qualifier values. Combine with statements from important linked items with dates as values (such as family members' birthdays or creation dates of works).
Some thoughts of how this could be broken up to parts
- Events that are directly declared in the topic, such as birth, death, creation dates etc.
- Every statement on the topic that has a date as a qualifier
- Related items via significant event (P793). There are two types of them: event instances (such as "the funeral of X" and classes "funeral". The classes usually have date information directly as a qualifier. The dates for the instances are in the linked item.
- Directly declared events from significant linked topics such as the birth and death days of close family, creation dates of works as an author --> how to define significant related events? It is also possible to separate the events of the linked items and display all of them on a timeline in their own components. For example events of related people, works, related locations, organizations etc. They could be filtered and added to the same timeline at will.
Example results for Akseli Gallen-Kallela (Q170068)
|Link to other item label||Link property||Property label||Property||Object label||Object||Date / Start date||End date||Desired display||Type|
|date of birth||P569||1865-04-26||Birth||1|
|first name||P735||Akseli||Q19274318||1907||(deathdate)||First name Akseli||2|
|spouse||P26||Mary Slöör||Q23040444||1890||(deathdate)||Marriage with Mary Slöör||2|
|significant event||P793||point in time||P585||funeral of X||Qxxxx||Funeral of X||3|
|child / father (inverse), child (inverse label item)||P40 / P22 (inverse)||date of birth||P569||Kirsti Gallén||Q17380315||1896||Birth of (daughter) Kirsti Gallén||4|
|creator (inverse), creator of (inverse label item)||P170 (inverse)||inception||P571||Lemminkäinen's Mother||Q3541051||1897||Lemminkäinen's Mother||4|