Property talk:P3990

From Wikidata
Jump to navigation Jump to search

Documentation

BG EKATTE place ID
Bulgarian place ID (settlement, community=Kmetstvo, municipality=Obshtina, province=Oblast) by the BG National Statistical Institute (NSI)
DescriptionBulgarian place ID (settlement, community=Kmetstvo, municipality=Obshtina, province=Oblast by BG National Statistical Institute (NSI)
RepresentsNRPP (Q3658617)
Data typeExternal identifier
Template parameter"екатте" in bg:Шаблон:Селище_в_България
DomainPlaces in Bulgaria (note: this should be moved to the property statements)
Allowed values
According to this template: string: (\d{6}|[A-Z]{3}\d{2})(-\d{2})?
According to statements in the property:
(\d{5}|[A-Z]{3}\d{2})(-\d{2})?
When possible, data should only be stored as statements
Usage notesTo record kmetstvo ID, add qualifier "applies to part" (P518), eg Sofia (Q472) P3990 ЕКАТТE ID "SOF46-00", applies to part Kmetstvo (Q4224624)
Example
According to this template:

Eg a few examples of the admin hierarchy in Kardzhali province:

More complicated around Sofia:

According to statements in the property:
Kardzhali (Q1104675) → KRZ
Krumovgrad (Q545555) → KRZ15
Krumovgrad (Q406057) → 39970
Avren (Q2714851) → 00093
Sofia (Q202904) → SFO
Sofia Capital (Q1585725) → SOF
Stolichna Municipality (Q4442915) → SOF46
Sofia (Q472) → 68134
Bankya District (Q9305797) → 68134-24
Bankya (Q806817) → 02659
When possible, data should only be stored as statements
Sourcehttp://www.nsi.bg/nrnm/index.php?ezik=en
http://www.nsi.bg/sites/default/files/files/EKATTE/Ekatte.zip
Robot and gadget jobshttp://www.nsi.bg/sites/default/files/files/EKATTE/Ekatte.zip, http://bg.dbpedia.org/sparql (see bg:Уикипедия:Разговори#ЕКАТТЕ for query)
Related to country Bulgaria (Q219) (See 13 others)
Lists
Proposal discussionProposal discussion
Current uses
Total11,027
Main statement11,017>99.9% of uses
Qualifier10<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{5}|[A-Z]{3}\d{2})(-\d{2})?: value must be formatted using this pattern (PCRE syntax). (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/P3990#Format, SPARQL
Item “country (P17): Bulgaria (Q219): Items with this property should also have “country (P17): Bulgaria (Q219)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P3990#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/P3990#Entity types

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


Added EKATTE data

[edit]

31 May 2017: added 7362 EKATTE codes to 5305 settlements, see this query. Thanks to Plamen Tarkalanov from Ontotext! --Vladimir Alexiev (talk) 09:08, 6 June 2017 (UTC)[reply]