Property talk:P721

From Wikidata
Jump to: navigation, search

Documentation

OKATO ID
identifier for every administrative unit in Russia
Represents OKATO (Q856636)
Data type External identifier
Template parameter ru:Шаблон:НП-Россия : "ОКАТО/Цифровой идентификатор"
Domain
According to this template: inhabited locality in Russia (Q2578772)
According to statements in the property:
human-geographic territorial entity (Q15642541) and human settlement (Q486972)
When possible, data should only be stored as statements
Allowed values (\d{11}|\d{8}|\d{5}|\d{2})
Example Kuznetsovka (Q1063777)80228825007
Gatchina (Q7436)41420000000
Source http://www.mosclassific.ru/mClass/okato_view.php
http://protect.gost.ru/document.aspx?control=20&id=134377
Formatter URL https://classif.spb.ru/classificators/view/okt.php?st=A&kr=1&kod=$1
Tracking: usage Category:Pages using Wikidata property P721 (Q28648881)
Related to country Flag of Russia.svg Russia (Q159) (See 29 others)
Lists
Proposal discussion Property proposal/Archive/10#P721
Current uses 161,225
[create] Create a translatable help page (preferably in English) for this property to be included here
Single value: this property generally contains a single value.
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P721#single value, SPARQL
Distinct values: this property likely contains a value that is different from all other items.
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P721#distinct values, SPARQL (every item), SPARQL (by value)
Format “\d{11}|\d{8}|\d{5}|\d{2}|”: value must be formatted using this pattern (PCRE syntax).
List of this constraint violations: Database reports/Constraint violations/P721#Format, hourly updated report, SPARQL
Item “country (P17): Russia (Q159): Items with this property should also have “country (P17): Russia (Q159)”.
List of this constraint violations: Database reports/Constraint violations/P721#Item P17, hourly updated report, SPARQL
Item “located in the administrative territorial entity (P131): Items with this property should also have “located in the administrative territorial entity (P131)”.
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P721#Item P131, SPARQL
Type “human-geographic territorial entity (Q15642541), human settlement (Q486972): element must contain property “instance of (P31)” with classes “human-geographic territorial entity (Q15642541), human settlement (Q486972)” or their subclasses (defined using subclass of (P279)).
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P721#Type Q15642541, Q486972, SPARQL
Conflicts with “instance of (P31): Wikimedia disambiguation page (Q4167410), human (Q5), taxon (Q16521), family name (Q101352), film (Q11424), river (Q4022): this property must not be used with the listed properties and values.
List of this constraint violations: Database reports/Constraint violations/P721#Conflicts with P31, hourly updated report, SPARQL
Conflicts with “subclass of (P279): this property must not be used with the listed properties and values.
List of this constraint violations: Database reports/Constraint violations/P721#Conflicts with P279, hourly updated report, SPARQL
Conflicts with “is a list of (P360): this property must not be used with the listed properties and values.
List of this constraint violations: Database reports/Constraint violations/P721#Conflicts with P360, hourly updated report, SPARQL
Qualifiers “start time (P580): this property should be used only with the listed qualifiers.
List of this constraint violations: Database reports/Constraint violations/P721#Allowed qualifiers, hourly updated report, SPARQL
Conflicts with “dissolved, abolished or demolished (P576): this property must not be used with the listed properties and values.
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P721#Conflicts with P576, SPARQL


This property is being used by:

Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.)

Ограничения[edit]

Почему значение должно быть уникальным и без квалификаторов? ОКАТО иногда изменяется, значит могут быть и несколько значений и квалификаторы времени. ShinePhantom (talk) 03:30, 17 May 2017 (UTC)

Пояснил на ru:Википедия:Форум/Викиданные#Коды ОКТМО и ОКАТОIvan A. Krestinin (talk) 18:41, 17 May 2017 (UTC)