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
|Date / Start date
|date of birth
|First name Akseli
|Marriage with Mary Slöör
|point in time
|funeral of X
|Funeral of X
|child / father (inverse), child (inverse label item)
|P40 / P22 (inverse)
|date of birth
|Birth of (daughter) Kirsti Gallén
|creator (inverse), creator of (inverse label item)