Property talk:P2898

Documentation

Data typeExternal identifier
Template parameterbokstav in sv:Mall:Länsfakta
Domain
According to this template: present and former countys of Sweden and Stockholm City (Q10680648)
According to statements in the property:
county of Sweden (Q200547)
When possible, data should only be stored as statements
Allowed values
According to this template: A-Z + AC, AB, BD
According to statements in the property:
(A-IK-PR-UW--Z|A[B-C]|BD)
When possible, data should only be stored as statements
ExampleÖrebro County (Q104257) → T
Dalarna County (Q103732) → W
Norrbotten County (Q103686) → BD
Format and edit filter validationA regex according to the above would be nice
SourceWikipedia (note: this information should be moved to a property statement; use property source website for the property (P1896))
Robot and gadget jobsLimited usage. Can be done manually.
Related to country  Sweden (Q34) (See 117 others)
See alsoSwedish county code (P507), ISO 3166-2 code (P300)
Lists
Proposal discussionProposal discussion
Current uses
Total32
Main statement2990.6% of uses
Qualifier39.4% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Format “[A-IK-PR-UW-Z]|A[BC]|BD: 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/P2898#Format, 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). Known exceptions: Malmöhus County (Q533915), Gothenburg and Bohus County (Q579801)
List of violations of this constraint: Database reports/Constraint violations/P2898#Unique value, SPARQL (every item), SPARQL (by value)
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). Known exceptions: Stockholm County (Q104231), Stockholm City (Q10680648)
List of violations of this constraint: Database reports/Constraint violations/P2898#Single value, SPARQL
Item “country (P17): Sweden (Q34): Items with this property should also have “country (P17): Sweden (Q34)”. (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/P2898#Item P17, 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/P2898#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). Known exceptions: Stockholm City (Q10680648)
List of violations of this constraint: Database reports/Constraint violations/P2898#Item P36, search, SPARQL
Item “topic's main category (P910): Items with this property should also have “topic's main category (P910)”. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Stockholm City (Q10680648)
List of violations of this constraint: Database reports/Constraint violations/P2898#Item P910, 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/P2898#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/P2898#Scope, SPARQL
Type “county of Sweden (Q200547): item must contain property “instance of (P31)” with classes “county of Sweden (Q200547)” or their subclasses (defined using subclass of (P279)). (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Stockholm City (Q10680648)
List of violations of this constraint: Database reports/Constraint violations/P2898#Type Q200547, SPARQL
 
This property is being used by:

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

Return to "P2898" page.