Commons:Structured data/Modeling/Date
The modeling of various types of times and dates in structured data, for files on Wikimedia Commons Wikidata mostly follows the standards used on Wikidata, which are outlined in d:Help:Dates. There are many properties related to time which are shared between Wikidata and Commons, and they are all listed in d:Wikidata:List of properties/time. The most relevant property to Commons is inception (P571), which is equivalent to date field in {{Information}} template, and which should be used for storing the time
- photograph was taken,
- document created,
- painting or other artwork completed.
[edit]
Case | Equivalent to wikitext "date = ..." |
Example file | Statement | Comment | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
simple day precision date | 2006-10-03 {{Taken on|2006-10-03}} |
API |
|
|||||||||||||||||
more complicated date traditionally handled by {{Other date}} template | {{other date|circa|1942-06}} | API |
|
|||||||||||||||||
more complicated date traditionally handled by {{Other date}} template | {{other date|summer|2005}} | API |
|
Storing of imprecise dates[edit]
Sometimes dates like date of creation of some artwork are not precisely known. On Commons we traditionally used {{Other date}} and {{Complex date}} templates for that. On SDC we will use qualifiers developed on Wikidata and described in Help:Dates. Below is a copy of most relevant section.
Qualifiers can be used to explain or customize dates that cannot be fully represented in YYYY-MM-DD, YYY-MM or YYYY formats. The precision of the date being qualified should have a precision that encompasses the range described by the qualifiers, or be set to "unknown value" (["snaktype"] = "somevalue"
).
- earliest date (P1319) and/or latest date (P1326) - earliest and latest possible time that some event could have occurred.
- start time (P580) and/or end time (P582) - beginning and end of some period of time.
- sourcing circumstances (P1480) qualification of the accuracy of a statement. Allowed values: circa (Q5727902), near (Q21818619), presumably (Q18122778), disputed (Q18912752), etc.
- refine date (P4241) qualifier to narrow down the precision of a date. Allowed values:
- parts, like beginning of (Q40719727), middle of (Q40719748) and end of (Q40719766)
- halves, usually of a year, decade or century first half (Q40719687) and second half (Q40719707)
- quarters, usually of a century: first quarter (Q40690303), second quarter (Q40719649), third quarter (Q40719662) and fourth quarter (Q40719674)
- seasons, observed in northern and southern hemisphere
- winter (northern hemisphere) (Q40720553), spring (northern hemisphere) (Q40720559), summer (northern hemisphere) (Q40720564), autumn (northern hemisphere) (Q40720568)
- winter (southern hemisphere) (Q40720946), spring (southern hemisphere) (Q40720950), summer (southern hemisphere) (Q40720953), autumn (southern hemisphere) (Q40720956)
- Example dates and how to save them
Caution: distinction between a digital file, and a creative work shown/depicted in a file[edit]
When a file on Wikimedia Commons shows/depicts a creative work, date information about the file and about the depicted work are usually very different.
In some cases (when? criteria?) it is best to describe the creative work as an item on Wikidata to keep this distinction clear.
(example)
[edit]
Type of metadata | Notes | Wikidata property | Status |
---|---|---|---|
Creation date |
|
inception (P571) | Done |
Publication date | First time shared with a wider audience (affects copyright status) | publication date (P577) | Work in progress |
Date depicted | Map or other representation of a specific date | date depicted (P2913) | |
Example | Example | Example | Work in progress |
General notes and remarks[edit]
- Date properties should be direct, in order to be able to add qualifiers