Wikidata:Property proposal/population rank

From Wikidata
Jump to navigation Jump to search

population rank[edit]

Originally proposed at Wikidata:Property proposal/Place

   Not done
Descriptionthe ranking of the item's population in the set of similar items. Envisaged sets are district of England (Q349084); non-metropolitan county (Q769603); ceremonial county of England (Q180673); Scottish district (Q21457810); principal area of Wales (Q15979307) and administrative territorial entity of Northern Ireland (Q17364572)
Data typeString
Template parameter"population_rank" in en:template:infobox settlement
Domainadministrative territorial entity (Q56061)
Allowed values[1-9][0-9]{0,2}(st|nd|rd|th)
Example 1Birmingham (Q20986424) → 1st
Example 2Leeds (Q774015) → 2nd
Example 3Isles of Scilly (Q180209) → 317th
Planned useSee motivation

Motivation[edit]

I am attempting to convert the generation of various parameters of en:Template:Infobox settlement for UK local government divisions from long switch statements in templates (see en:Category:Templates for UK subdivision lookups) to use Wikidata items. There are about 450 such divisions. It will be qualified with a point in time (P585) and a new value will be added each year when new population estimates are published. Keith Edkins (talk) 17:25, 5 November 2019 (UTC)[reply]

Discussion[edit]

Not done: No support. In the future (cached) SPARQL queries can be invoked by Lua and used in other pages. See phab:T67626.--GZWDer (talk) 20:46, 21 January 2020 (UTC)[reply]