Property talk:P2588

Latest comment: 1 year ago by Danil Satria in topic New code for island

Documentation

administrative code of Indonesia
unique administrative code for a place, last issued in 2022 by the Ministry of Home Affairs of Republic of Indonesia
[create Create a translatable help page (preferably in English) for this property to be included here]
Single value: this property generally contains a single value. (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/P2588#Single value, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (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/P2588#Unique value, SPARQL (every item), SPARQL (by value)
Item “country (P17): Indonesia (Q252): Items with this property should also have “country (P17): Indonesia (Q252)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P2588#Item P17, hourly updated report, search, SPARQL
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/P2588#Item P131, search, SPARQL
Format “^[1-9]\d(\.\d{2}(\.\d{2}(\.[123]\d{3})?)?)?$: value must be formatted using this pattern (PCRE syntax). (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/P2588#Format, SPARQL
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (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/P2588#Entity types
Scope is as main value (Q54828448): the property must be used by specified way only (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/P2588#Scope, SPARQL
Citation needed: the property must have at least one reference (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/P2588#citation needed

External id or string? edit

According to Special:MyLanguage/Help:Data type#external-id an external id needs to have a formatter URL, this property can't have a formatter URL according to the discussion prior to creation, so shouldn't this be a string datatype instead of external id? Mbch331 (talk) 15:59, 5 March 2016 (UTC)Reply

It currently reads (en) "String that displays as external link when a formatter URL is defined.". I meant to say that it's a string and/but:
If a formatter url is defined, the string becomes an external link.
Maybe I should rephrase it. Sorry about that.
--- Jura 16:10, 5 March 2016 (UTC)Reply
Interestingly, the formatter URL can also be used to simply link to the list.
--- Jura 09:23, 8 March 2016 (UTC)Reply

Update data edit

The Indonesian Government updated the data.Beeyan (talk) 10:50, 2 May 2018 (UTC)Reply

Some of the village in Indonesia (Q26211545) moved under the new district of Indonesia (Q3700011), so I keep the old administrative code of Indonesia (P2588), e.g. Benua Anyar (Q4211997) -- Beeyan (talk) 09:14, 9 May 2018 (UTC)Reply

New code for island edit

  Notified participants of WikiProject Indonesia

Island has a code now according to this law (67,2 MB) that just uploaded on 3 April 2022. There are 16772 code for the islands. Hddty (talk) 09:20, 14 June 2022 (UTC)Reply

I think we need separate property for these thousands of new official island code, but i'm not familiar with the procedure to create the proposal. Although both (administrative code and island code) are contained in the same document, they refer to different objects. Danil Satria (talk) 06:07, 16 July 2022 (UTC)Reply
I don't think new property is needed because the code has relations too. For example Batam Island (Q4842953) (21.71.40044) located in Batam City (Q10103) (21.71) in Riau Islands (Q2223) (21). Hddty (talk) 09:28, 19 July 2022 (UTC)Reply
P2588 is for *administrative* code of Indonesia, not geographical place. In long term it will be confusing, how if in the future document they include river code? Danil Satria (talk) 13:51, 19 July 2022 (UTC)Reply
Update: island code of Indonesia (P11163) has been approved, so far most of the data has been entered into Wikidata, only about 400 remain because their names and districts are the same. -- Danil Satria (talk) 02:22, 1 December 2022 (UTC)Reply
Return to "P2588" page.