Wikidata:Property proposal/HASC

From Wikidata
Jump to navigation Jump to search

Hierarchical administrative subdivision codes[edit]

Return to Wikidata:Property proposal/Place

   Under discussion
Descriptioncodes to represent names of country subdivisions
RepresentsHierarchical Administrative Subdivision Code (Q3013341)
Data typeString
Domainadministrative territorial entity (Q56061)
Example 1DE.NW.BE → Kreis Bielefeld
Example 2DE.NW.CE → Kreis Coesfeld
Example 3DE.BW.EM → Landkreis Emmendingen
Number of IDs in source41,000
Expected completenesseventually complete (Q21873974)
See alsoStatoids ID (P3175)


en:Hierarchical administrative subdivision codes (HASC) are codes to represent names of country subdivisions, such as states, province, regions. It would be very cool to use this in wikidata. Stefan Kühn (talk) 15:55, 10 November 2018 (UTC)


  • Pictogram voting comment.svg Comment These are not a recognized standard as far as I can see. How do they compare with ISO 3166-2? (for which we have ISO 3166-2 code (P300). ArthurPSmith (talk) 20:00, 12 November 2018 (UTC)
    • Answer HASC goes depper then ISO 3166-2. For example Alabama has "US-AL" in ISO 3166-2. For the Chilton County, Alabama there is nothing in ISO. HASC had this: "US.AL.CI". So you get an easy identifier for this county. If you look at Wikidata Q111266 for the identifier, there is nothing so easy like this. The identifiere there are all huge numbers or so. - An other positiv thing about HASC is the 2 letter design. For example ISO 3166-2:AT say "Steiermark"="AT-6". In HASC it is "AT.ST". Easy to use and easy to learn. -- Stefan Kühn (talk) 16:54, 15 November 2018 (UTC)
  • Who uses those codes? ChristianKl❫ 19:31, 14 November 2018 (UTC)
    • Answer I don't know. I used HASC in this project c:Commons:Brück & Sohn for the sorting of all this postcards in counties. Today I use it for some other projects. - I found some other maybe-users: Link1, Link2, very interesting: Link3 (cite: "Due to shortcomings of related de-jure standards a hierarchical set of subdivision codes, called Hierarchical Administrative Subdivision Codes (HASC), has been devised, extending in many cases to secondary administrative divisions.") - Someone insert HASC in Openstreetmap (at the moment only for Tunisia). -- Stefan Kühn (talk) 17:15, 15 November 2018 (UTC)
 Not done, no support. Regards, ZI Jony (Talk) 16:47, 8 April 2019 (UTC)

Answer First I use this to sort my private collection of postcards (over 20.000). I think this is the best method of organization worldwide in the third level (Country, Region, Subregion). It is good to understand and easy to remember. When I start the project c:Commons:Brück & Sohn we also use HASC to sort all 30.000 postcard by regions. All other identifier work with numbers or postcodes and are not easy to remember. For example "DE.SN.DE" First "DE" is for the country Germany/Deutschland, "SN" is the region "Saxony" (equal to ISO 3166-2) and the last "DE" is 1 of 10 subregion of Saxony, is "Dresden" (see: en:Saxony#Administration). Mostly the subregion is generated by the 1 and 3 letter "D"r"E"sden --> DE. Because of the 2-letter-design, you can easy detect errors. Also you can add by your own more two letter for cities in the subregions or city parts. Unfortunately the creator of this HASC is dead. And not all regions are done (For example Canada-Manitoba, but this can be done later. Why we need this? Read this! -- sk (talk) 13:08, 30 December 2019 (UTC)

Symbol support vote.svg Support Conny (talk) 19:22, 2 January 2020 (UTC).