[go: up one dir, main page]

Property talk:P1140

Documentation

EHAK id
Estonian Administrative and Settlement Classification
DescriptionEstonian Administrative and settlement unit codes
Applicable "stated in" valueClassification of Estonian administrative units and settlements (Q20530786)
Data typeExternal identifier
Domain
According to this template: Estonian admin units and settlements
According to statements in the property:
administrative territorial entity of Estonia (Q15620181), settlement (Q618299) or city district (Q34985575)
When possible, data should only be stored as statements
Allowed values\d{4} (numeric string, 4 digits)
ExampleLoksa (Q213740) → 0424
Viljandi (Q44840) → 0897
Sourcehttp://geoportaal.maaamet.ee/eng/Maps-and-Data/Administrative-and-Settlement-Division-p312.html
Related to country  Estonia (Q191) (See 33 others)
Lists
Proposal discussionProposal discussion
Current uses
Total5,519
Main statement5,514>99.9% of uses
Qualifier5<0.1% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Format “\d{4}: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P1140#Format, hourly updated report, SPARQL
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).
List of violations of this constraint: Database reports/Constraint violations/P1140#Single value, SPARQL
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/P1140#Unique value, hourly updated report, SPARQL (every item), SPARQL (by value)
Item “country (P17): Estonia (Q191): Items with this property should also have “country (P17): Estonia (Q191)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P1140#Item P17, hourly updated report, 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/P1140#Entity types
 
Check 00xx values
county of Estonia (Q189672) (Help)
Violations query: SELECT ?item ?id { ?item wdt:P1140 ?id. ?item wdt:P31 wd:Q189672. FILTER (SUBSTR(STR(?id), 1, 2) != "00") }
List of this constraint violations: Database reports/Complex constraint violations/P1140#Check 00xx values
Return to "P1140" page.