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)
identifier for a municipality in Sweden "kommunkod" (four-digit)
[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. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Österåker Municipality (Q117728), Salem Municipality (Q516080), Gnesta Municipality (Q239332), Gnesta Municipality (Q15088430), Salem Municipality (1971-73) (Q10660418), Österåker Municipality (Q10728182)List of violations of this constraint: Database reports/Constraint violations/P525#Unique value, SPARQL (every item), SPARQL (by value)
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
List of violations of this constraint: Database reports/Constraint violations/P525#Format, hourly updated report, SPARQL
Item “located in the administrative territorial entity (P131)”: Items with this property should also have “located in the administrative territorial entity (P131)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P525#Item P131, hourly updated report, search, SPARQLItem “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, SPARQLItem “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
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
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
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
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
This property is being used by: Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.) |
|
|
Changed to single best value constraint
editThis 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)