Property talk:P775

Active discussions

Documentation

Swedish urban area code
identifier for an urban area in Sweden
DescriptionSweden City Code (Q10708035)
RepresentsCity Code (Q10708035)
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}
ExampleT7524 or 7524 for Kramfors (Q645351) or TX006 or X006 for Alby (Q934689) (note: this information should be moved to a property statement; use property Wikidata property example (P1855), Wikidata property example for properties (P2271), Wikidata property example for lexemes (P5192), Wikidata property example for forms (P5193) or Wikidata property example for senses (P5977))
Tracking: usageCategory:Pages using Wikidata property P775 (Q98124959)
Related to country  Sweden (Q34) (See 75 others)
Lists
Proposal discussionProposal discussion
Current uses
Total2,726
Main statement2,72399.9% 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 this constraint violations: Database reports/Constraint violations/P775#Unique value, hourly updated report, SPARQL (every item), SPARQL (by value), SPARQL (new)
 
Single value: this property generally contains a single value. (Help)
Exceptions are possible as rare values may exist. Known exceptions: Önneköp (Q2196433), Östraby (Q2977669), Torsång (Q3352395)
List of this constraint violations: Database reports/Constraint violations/P775#Single value, 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/P775#Item P17, hourly updated report, search, SPARQL, SPARQL (new)
  Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P775#Item P131, search, 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/P775#Item P625, SPARQL, SPARQL (new)
 
Item “population (P1082): Items with this property should also have “population (P1082)”. (Help)
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P775#Item P1082, SPARQL, SPARQL (new)
 
Item “official name (P1448): Items with this property should also have “official name (P1448)”. (Help)
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P775#Item P1448, SPARQL, SPARQL (new)
 
Item “area (P2046): Items with this property should also have “area (P2046)”. (Help)
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P775#Item P2046, SPARQL, SPARQL (new)
 
Format “T?[X\d]\d{3}: value must be formatted using this pattern (PCRE syntax). (Help)
List of this constraint violations: Database reports/Constraint violations/P775#Format, hourly updated report, SPARQL, SPARQL (new)
 
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.
List of this constraint violations: Database reports/Constraint violations/P775#Conflicts with P6, 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/P775#allowed entity types, SPARQL (new)

Some maintenance listsEdit

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)

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)

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)

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)

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

Administrative subdivisionEdit

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

Return to "P775" page.