Property talk:P775

Latest comment: 3 years ago by Sextvåetc in topic Administrative subdivision

Documentation

Swedish urban area code
identifier for an urban area in Sweden
DescriptionSweden City Code (Q10708035)
RepresentsCity Code (Q10708035)
Associated itemStatistics Sweden (Q1472511)
Data typeExternal identifier
Template parametertätortskod sv:Mall:Ortsfakta Sverige
DomainUrban areas of Sweden (Q34) (note: this should be moved to the property statements)
Allowed valuesT?[X\d]\d{3}
Example
According to this template: T7524 or 7524 for Kramfors (Q645351) or TX006 or X006 for Alby (Q934689)
According to statements in the property:
Kramfors (Q645351) → T7524
Alby (Q934689) → TX006
When possible, data should only be stored as statements
Tracking: usageCategory:Pages using Wikidata property P775 (Q98124959)
Related to country  Sweden (Q34) (See 117 others)
Lists
Proposal discussionProposal discussion
Current uses
Total2,732
Main statement2,72799.8% of uses
Qualifier2<0.1% of uses
Reference30.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)
List of violations of this constraint: Database reports/Constraint violations/P775#Unique value, hourly updated report, 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: Önneköp (Q2196433), Östraby (Q2977669), Torsång (Q3352395)
List of violations of this constraint: Database reports/Constraint violations/P775#Single value, 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/P775#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/P775#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/P775#Item P625, SPARQL
Item “population (P1082): Items with this property should also have “population (P1082)”. (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/P775#Item P1082, SPARQL
Item “official name (P1448): Items with this property should also have “official name (P1448)”. (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/P775#Item P1448, SPARQL
Item “area (P2046): Items with this property should also have “area (P2046)”. (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/P775#Item P2046, SPARQL
Format “T?[X\d]\d{3}: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P775#Format, hourly updated report, SPARQL
Conflicts with “head of government (P6): this property must not be used with the listed properties and values. (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/P775#Conflicts with P6, 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/P775#Entity types

Some maintenance lists edit

Current list of Swedish urban area code (P775) items that are :

claim[775] AND noclaim[131:(claim[31:193556])];
claim[775] AND noclaim[131:(claim[31:127448])];

LaddΩ chat ;) 15:41, 3 April 2014 (UTC)Reply

Suppression of P132 (P132) edit

P132 (P132) is being replaced by instance of (P31), following discussions here. The conclusion is: "P132 will be deleted. Dexbot is duplicating it to instance of instance of (P31)." Thus, the following maintenance lists are obsolete.

Obsolete maintenance requests:

claim[775] AND noclaim[131:(claim[132:193556])];
claim[775] AND noclaim[131:(claim[132:127448])];

LaddΩ chat ;) 15:41, 3 April 2014 (UTC)Reply

Why is the letters T and X allowed in the format? edit

I can't find a description of the letters neither in the Wikipedia page https://sv.wikipedia.org/wiki/T%C3%A4tortskod nor the linked source on Wikipedia. Also for the list on https://sv.wikipedia.org/wiki/Lista_%C3%B6ver_Sveriges_t%C3%A4torter all areas are listed according to the format specified on Wikipedia without the letters. Pajn (talk) 18:33, 23 October 2016 (UTC)Reply

I've know learned this so I will try to explain for possible future questioners.

T as is sometimes used as a prefix (for Tätort), SCB uses it in some reports to differentiate different codes and not in some other reports. It has no semantic meaning. X is used in old codes instead of the forth digit. As the T has no semantic meaning but is often used, maybe it should be required instead of optional to get all codes consistent? Pajn (talk) 17:10, 4 November 2016 (UTC)Reply

@Pajn: It is easier to search for a code on the format "T1234" than "1234" with the search engines, som I prefer the former and switch them as fast as I come across them. Both are correct though, even if I never have seen a code in the format "X123", but always "TX123". These codes did not come into public use before 1990, so no urban area who was dissolved before 1980 have any "contemporary" codes. They are all constructed afterword. -- Innocent bystander (talk) 18:55, 4 November 2016 (UTC)Reply

Administrative subdivision edit

@Rariod: I have strong doubts about this change. "Tätort" is not much of an administrativ division. It is more of a statistical division. 62 etc (talk) 14:26, 7 August 2020 (UTC)Reply

Return to "P775" page.