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 BG National Statistical Institute (NSI)
DescriptionBulgarian place ID (settlement, community=Kmetstvo, municipality=Obshtina, province=Oblast by BG National Statistical Institute (NSI)
RepresentsEKATTE (Q3658617)
Data typeExternal identifier
Template parameter"екатте" in bg:Шаблон:Селище_в_България
DomainPlaces in Bulgaria (note: this should be moved to the property statements)
Allowed valuesstring: (\d{6}|[A-Z]{3}\d{2})(-\d{2})? (note: this information should be moved to a property statement; use property format as a regular expression (P1793))
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 Province (Q1104675) → KRZ
Krumovgrad Municipality (Q545555) → KRZ15
Krumovgrad (Q406057) → 39970
Avren (Q2714851) → 00093
Sofia Province (Q202904) → SFO
Sofia City Province (Q1585725) → SOF
Sofia Capital 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 countryFlag of Bulgaria.svg Bulgaria (Q219)
Lists
Proposal discussionProperty proposal/EKATTE
Current uses5,573
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.
List of this constraint violations: Database reports/Constraint violations/P3990#Format, SPARQL, SPARQL (new)
This property is being used by:

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)