Property talk:P1585

Latest comment: 6 years ago by Jura1 in topic DEAD LINK

Documentation

Brazilian municipality code
identifier for municipalities in Brazil
DescriptionBrazilian municipality code (IBGE)
Data typeExternal identifier
Template parameter"knr2" in no:Mal:Infoboks Brasil kommune
Domain
According to this template: municipality of Brazil (Q3184121)
According to statements in the property:
municipality of Brazil (Q3184121)
When possible, data should only be stored as statements
Allowed values\d{7}
ExampleFortaleza (Q43463)2304401
João Pessoa (Q167436)2507507
Sourcehttp://cidades.ibge.gov.br/xtras/perfil.php
http://concla.ibge.gov.br/classificacoes/por-tema/codigo-de-areas/codigo-de-areas.html
http://www.ibge.gov.br/home/geociencias/areaterritorial/area.shtm
Formatter URLhttps://cidades.ibge.gov.br/xtras/perfil.php?codmun=$1
Tracking: sameno label (Q32085041)
Tracking: differencesno label (Q32085034)
Tracking: usageCategory:Pages using Wikidata property P1585 (Q32085031)
Tracking: local yes, WD nono label (Q32085038)
Related to country  Brazil (Q155) (See 94 others)
See alsoINE ID (Portugal) (P6324), Brazilian Electoral Unit ID (P6555)
Lists
Proposal discussionProposal discussion
Current uses
Total5,578
Main statement5,57099.9% of uses
Qualifier3<0.1% of uses
Reference5<0.1% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Format “\d{7}: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P1585#Format, hourly updated report, SPARQL
Single value: this property generally contains a single value. (Help)
List of violations of this constraint: Database reports/Constraint violations/P1585#Single value, hourly updated report, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (Help)
List of violations of this constraint: Database reports/Constraint violations/P1585#Unique value, hourly updated report, SPARQL (every item), SPARQL (by value)
Item “country (P17): Brazil (Q155): Items with this property should also have “country (P17): Brazil (Q155)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P1585#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/P1585#Item P131, search, SPARQL
Item “coordinate location (P625): Items with this property should also have “coordinate location (P625)”. (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/P1585#Item P625, SPARQL
Item “GeoNames ID (P1566): Items with this property should also have “GeoNames ID (P1566)”. (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/P1585#Item P1566, search, SPARQL
Type “municipality of Brazil (Q3184121): item must contain property “instance of (P31)” with classes “municipality of Brazil (Q3184121)” or their subclasses (defined using subclass of (P279)). (Help)
"exceptions" is incompatible with "mandatory" parameter List of violations of this constraint: Database reports/Constraint violations/P1585#Type Q3184121, hourly updated report, 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/P1585#Entity types
edit

Due to changes in IBGE Database systems since 2017. --Turíbio Branco (talk) 00:27, 9 April 2018 (UTC)Reply

So, need to call IBGE director? or DELETE THIS ID?
Solution: please maintain a gov.br-independent resolver! The codes are e.g. at https://github.com/datasets-br/city-codes/blob/master/data/br-city-codes.csv
--Krauss (talk) 14:09, 21 June 2018 (UTC)Reply
Return to "P1585" page.