Property talk:P525

Active discussions

Documentation

Swedish municipality code
identifier for a municipality in Sweden "kommunkod" (four-digit)
DescriptionCommunity Identification Number (Q23003) municipality code for Sweden
RepresentsCommunity Identification Number (Q23003)
Data typeExternal identifier
Template parameter"kommunkod" in sv:Template:Kommunfakta
Domainplace (note: this should be moved to the property statements)
Allowed values\d\d\d\d
ExampleSölvesborg Municipality (Q515409)1083
Gothenburg Municipality (Q52502)1480
Sourcesv:Template:Kommunfakta (note: this information should be moved to a property statement; use property source website for the property (P1896))
Formatter URLhttps://kommunsiffror.scb.se/?id1=$1
Tracking: usageCategory:Pages using Wikidata property P525 (Q98120287)
Related to country  Sweden (Q34) (See 76 others)
See alsoSwedish district code (P1841)
Lists
Proposal discussionProposal discussion
Current uses
Total1,463
Main statement1,46199.9% of uses
Qualifier20.1% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
 
Distinct values: this property likely contains a value that is different from all other items. (Help)
Exceptions are possible as rare values may exist. Known exceptions: Österåker Municipality (Q117728), Salem Municipality (Q516080), Gnesta Municipality (Q239332), Gnesta Municipality (Q15088430), Salem Municipality (Q10660418), Österåker Municipality (Q10728182)
List of this constraint violations: Database reports/Constraint violations/P525#Unique value, SPARQL (every item), SPARQL (by value), SPARQL (new)
 
Single best value: this property generally contains a single value. If there are several, one would have preferred rank (Help)
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P525#single best value, SPARQL, SPARQL (new)
 
Format “\d\d\d\d: value must be formatted using this pattern (PCRE syntax). (Help)
List of this constraint violations: Database reports/Constraint violations/P525#Format, hourly updated report, SPARQL, SPARQL (new)
 
Item “Commons category (P373): Items with this property should also have “Commons category (P373)”. (Help)
Exceptions are possible as rare values may exist. Known exceptions: Ytterlännäs rural municipality (Q10723852), Tierpsbygden Municipality (Q13853453)
List of this constraint violations: Database reports/Constraint violations/P525#Item P373, search, SPARQL, SPARQL (new)
 
Item “country (P17): Sweden (Q34): Items with this property should also have “country (P17): Sweden (Q34)”. (Help)
List of this constraint violations: Database reports/Constraint violations/P525#Item P17, hourly updated report, search, SPARQL, SPARQL (new)
 
Item “locator map image (P242): Items with this property should also have “locator map image (P242)”. (Help)
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P525#Item P242, SPARQL, SPARQL (new)
 
Item “coat of arms image (P94): Items with this property should also have “coat of arms image (P94)”. (Help)
Exceptions are possible as rare values may exist. Known exceptions: Ullånger Municipality (Q10708797), Nordingrå landskommun (Q11704715)
List of this constraint violations: Database reports/Constraint violations/P525#Item P94, SPARQL, SPARQL (new)
 
Item “coordinate location (P625): Items with this property should also have “coordinate location (P625)”. (Help)
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P525#Item P625, SPARQL, SPARQL (new)
 
Item “capital (P36): Items with this property should also have “capital (P36)”. (Help)
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P525#Item P36, search, SPARQL, SPARQL (new)
 
Item “shares border with (P47): Items with this property should also have “shares border with (P47)”. (Help)
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P525#Item P47, search, SPARQL, SPARQL (new)
 
Item “GeoNames ID (P1566): Items with this property should also have “GeoNames ID (P1566)”. (Help)
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P525#Item P1566, search, SPARQL, SPARQL (new)
 
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.
List of this constraint violations: Database reports/Constraint violations/P525#allowed entity types, SPARQL (new)
 
Scope is as main value (Q54828448), as reference (Q54828450): the property must be used by specified way only (Help)
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P525#scope, SPARQL, SPARQL (new)
 

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

Changed to single best value constraintEdit

This used to be single value constrained, but municipalities that have moved to a different county get assigned a new code. This should be indicated with qualifiers and rank preferred on the current value. Rather than adding exceptions for the 60+ municipalities that would need it I changed to single best value constraint. Belteshassar (talk) 11:09, 21 June 2020 (UTC)

Return to "P525" page.