Property talk:P2097

Latest comment: 8 years ago by Jura1 in topic Units to use

Documentation

term length of office
length of time in years (unit: Q577) a person (usually a politician) is to serve in a particular office. Do not add bounds.
Representsterm of office (Q524572)
Data typeQuantity
Template parameterTemplate:Infobox official post (Q6055736) "Term length"
Domain
According to this template: public offices, functions, position with a defined length
According to statements in the property:
position (Q4164871)
When possible, data should only be stored as statements
Allowed valuesyear ≤ 𝓧 ≤ 15 year
Allowed unitsyear (Q577)
ExamplePresident of the Republic of Guatemala (Q6085537) → 4 year
Captain Regent of San Marino (Q258045) → 0.5 year
member of the Senate of Brazil (Q18964326) → 8 year
senator for life (Q2786200) → not applicable
Tracking: usageCategory:Pages using Wikidata property P2097 (Q24826732)
Lists
Proposal discussionProposal discussion
Current uses
Total1,946
Main statement1,60082.2% of uses
Qualifier34617.8% of uses
[create Create a translatable help page (preferably in English) for this property to be included here]
Units: “year (Q577): value unit must be one of listed. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P2097#Units
Range from “0” to “15”: values should be in the range from “0” to “15”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P2097#Range, hourly updated report
Type “position (Q4164871): item must contain property “instance of (P31)” with classes “position (Q4164871)” or their subclasses (defined using subclass of (P279)). (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P2097#Type Q4164871, SPARQL
No bounds: values can't have any bounds (e.g. 1 not 1±0) (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P2097#No Bounds, SPARQL
 

Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.)

Units to use edit

Year
It seems that units don't necessarily get displayed for now. As most offices have terms in years, I added years as required unit and changed the sample for San Marino. --- Jura 18:59, 23 September 2015 (UTC)Reply
Item to use for "years"
I started with year (Q577) as unit, but open a discussion at Wikidata:Project_chat#Item_for_unit_of_time_.22year.22 which item we want to use. A possible change shouldn't have any impact on the data. --- Jura 18:59, 23 September 2015 (UTC)Reply
Return to "P2097" page.