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)
Data typeExternal identifier
Domain
According to this template: Urban areas of Sweden (Q34)
According to statements in the property:
minor locality (Q14839548)
When possible, data should only be stored as statements
Allowed valuesS?\d{4}
ExampleHerrskog (Q2417483) → S9729
Robot and gadget jobsDeltaBot does the following jobs: Gather data from Template "Ortsfakta Sverige", for each entitiy that has "småortskod = S9729" filled in.
Related to countryFlag of Sweden.svg Sweden (Q34) (See 61 others)
Lists
Proposal discussionProposal discussion
Current uses4,424
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.
List of this constraint violations: Database reports/Constraint violations/P776#Unique value, 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: Spillersboda (Q2006732), Båtbyggartorp (Q15873630), Krogsta (Q18291393)
List of this constraint violations: Database reports/Constraint violations/P776#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/P776#Item P17, hourly updated report, 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/P776#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/P776#Item P1082, SPARQL, SPARQL (new)
Type “minor locality (Q14839548): element must contain property “instance of (P31)” with classes “minor locality (Q14839548)” or their subclasses (defined using subclass of (P279)). (Help)
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P776#type Q14839548, 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/P776#Item P2046, SPARQL, SPARQL (new)
Format “S?\d{4}: value must be formatted using this pattern (PCRE syntax). (Help)
List of this constraint violations: Database reports/Constraint violations/P776#Format, hourly updated report, SPARQL, SPARQL (new)
Pictogram voting comment.svg 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)

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