Property talk:P776

From Wikidata
Jump to navigation Jump to search

Documentation

Swedish minor urban area code
identifier for a minor urban area in Sweden
RepresentsSmåortskod (Q10672543)
Associated itemStatistics Sweden (Q1472511)
Data typeExternal identifier
Domain
According to this template: Urban areas of Sweden (Q34)
According to statements in the property:
minor locality in Sweden (Q14839548) or urban area in Sweden (Q12813115)
When possible, data should only be stored as statements
Allowed valuesS?\d{4}
ExampleHerrskog (Q2417483) → S9729
Sandvik (Q166575) → S2253
Robot and gadget jobsDeltaBot does the following jobs: Gather data from Template "Ortsfakta Sverige", for each entitiy that has "småortskod = S9729" filled in.
Tracking: usageCategory:Pages using Wikidata property P776 (Q98130693)
Related to country Sweden (Q34) (See 117 others)
Lists
Proposal discussionProposal discussion
Current uses
Total4,512
Main statement4,510>99.9% of uses
Qualifier2<0.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)
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/P776#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: Spillersboda (Q2006732), Båtbyggartorp (Q15873630), Krogsta (Q18291393)
List of violations of this constraint: Database reports/Constraint violations/P776#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/P776#Item P17, hourly updated report, 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/P776#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/P776#Item P1082, 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/P776#Type Q14839548, Q12813115, 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/P776#Item P2046, SPARQL
Format “S?\d{4}: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P776#Format, hourly updated report, 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/P776#Entity types
P1448 required with exception for those installed 2015.
A property P1448-constraint with an advanced exception. (Help)
Violations query: SELECT DISTINCT ?item ?n { ?item wdt:P776 ?value . FILTER NOT EXISTS { ?item wdt:P1448 [] } . OPTIONAL { ?item p:P31 [ ps:P31 wd:Q14839548; pq:P580 ?n ] } FILTER ( !BOUND(?n) \u007C\u007C ?n < "2015-12-31T00:00:00Z"^^xsd:dateTime ) }
List of this constraint violations: Database reports/Complex constraint violations/P776#P1448 required with exception for those installed 2015.

tätort?

[edit]

Is it okay to use this property also for tätort as for example in [1] or should we strictly only use it for småort? --Pasleim (talk) 15:53, 9 February 2017 (UTC)[reply]

@Pasleim: This looks like a typing error. Typed P776 instead of Swedish urban area code (P775). -- Innocent bystander (talk) 19:10, 9 February 2017 (UTC)[reply]
Many småort has in its history also been tätort or the other way around. It is therefor common that items have both P775 and P776.
Kråkered here for example has been a småort with the code S4917: Backäckra-Källäng (Q2271795) The labels of småorts are often very strange, since the names of them have been added by a statistician (Q2732142), not somebody with knowledge of place names!
Q28319450 and Q2271795 can therefor be merged! -- Innocent bystander (talk) 19:10, 9 February 2017 (UTC)[reply]