Property talk:P525

Latest comment: 4 years ago by Belteshassar in topic Changed to single best value constraint

Documentation

Swedish municipality code
identifier for a municipality in Sweden "kommunkod" (four-digit)
DescriptionCommunity Identification Number (Q23003) municipality code for Sweden
RepresentsSwedish municipality code (Q18071645)
Associated itemStatistics Sweden (Q1472511)
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 117 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]
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. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P525#single best value, SPARQL
Format “\d\d\d\d: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P525#Format, hourly updated report, SPARQL
Item “Commons category (P373): Items with this property should also have “Commons category (P373)”. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Ytterlännäs rural municipality (Q10723852), Tierpsbygden Municipality (Q13853453)
List of violations of this constraint: Database reports/Constraint violations/P525#Item P373, search, SPARQL
Item “country (P17): Sweden (Q34): Items with this property should also have “country (P17): Sweden (Q34)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P525#Item P17, hourly updated report, search, SPARQL
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. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P525#Item P242, SPARQL
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. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Ullånger Municipality (Q10708797), Nordingrå landskommun (Q11704715)
List of violations of this constraint: Database reports/Constraint violations/P525#Item P94, 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/P525#Item P625, SPARQL
Item “capital (P36): Items with this property should also have “capital (P36)”. (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/P525#Item P36, search, SPARQL
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. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P525#Item P47, search, 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/P525#Item P1566, search, 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/P525#Entity types
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. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P525#Scope, SPARQL
Label required in languages: sv: Entities using this property should have labels in one of the following languages: sv (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/P525#Label in 'sv' language, search, SPARQL
 

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

Changed to single best value constraint

edit

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)Reply

Return to "P525" page.