Property talk:P3125

From Wikidata
Jump to navigation Jump to search

Documentation

EDRPOU code
Ukrainian state registry legal entity identifier
DescriptionUkrainian state registry legal entity identifier
Data typeExternal identifier
Template parameter|ЄДРПОУ=, in uk:Шаблон:Картка_компанії
Domainorganizations (note: this should be moved to the property statements)
Allowed values
According to this template: up to 8 digits
According to statements in the property:
[0-9]{8}
When possible, data should only be stored as statements
ExampleNaftogaz (Q728513)20077720
State University of Trade and Economics (Q694219)01566117
Formatter URLhttps://opendatabot.ua/c/$1
https://clarity-project.info/edr/$1
https://youcontrol.com.ua/catalog/company_details/$1
Robot and gadget jobsimport from wikipedia
Related to country Ukraine (Q212) (See 57 others)
See alsoTextile Connect publication ID (P7110)
Lists
Proposal discussionProposal discussion
Current uses
Total973
Main statement96399% of uses
Qualifier20.2% of uses
Reference80.8% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Format “[0-9]{8}: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P3125#Format, hourly updated report, SPARQL
Item “instance of (P31): Items with this property should also have “instance of (P31)”. (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/P3125#Item P31, 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/P3125#Entity types
Scope is as main value (Q54828448), as reference (Q54828450): the property must be used by specified way only (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/P3125#Scope, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (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/P3125#Unique value, SPARQL (every item), SPARQL (by value)
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/P3125#Single value, SPARQL
Partial validation of checksum
documentation : http://1cinfo.com.ua/Articles/Proverka_koda_po_EDRPOU.aspx (Help)
Violations query: SELECT ?item ?value ?int { { ?item wdt:P3125 ?value } UNION { ?statement pq:P3125 ?value . ?item ?p ?statement . ?prop wikibase:claim ?p } UNION { ?ref pr:P3125 ?value . ?statement prov:wasDerivedFrom ?ref . ?item ?p ?statement . ?prop wikibase:claim ?p } . FILTER(STRLEN(?value) = 8) . BIND(xsd:integer(?value) AS ?int) . BIND(?int > 30000000 AS ?isBig) . BIND( xsd:integer(SUBSTR(?nohyphen, 1, 1)) * 7 + xsd:integer(SUBSTR(?nohyphen, 2, 1)) * 1 + xsd:integer(SUBSTR(?nohyphen, 3, 1)) * 2 + xsd:integer(SUBSTR(?nohyphen, 4, 1)) * 3 + xsd:integer(SUBSTR(?nohyphen, 5, 1)) * 4 + xsd:integer(SUBSTR(?nohyphen, 6, 1)) * 5 + xsd:integer(SUBSTR(?nohyphen, 7, 1)) * 6 AS ?checksum). BIND(FLOOR(?checksum / 11) * 11 AS ?rest). FILTER (?rest = xsd:integer(SUBSTR(?nohyphen, 1, 8))). FILTER (?isBig). }
List of this constraint violations: Database reports/Complex constraint violations/P3125#Partial validation of checksum

Discussion

[edit]

Need separate VAT id

[edit]

Notified participants of WikiProject Companies

Mcnabber091 (talk) 00:29, 18 June 2014 (UTC) Tobias1984 (talk) 10:23, 8 November 2015 (UTC) Note 1 PAC2 (talk) 09:29, 26 September 2016 (UTC) Rjlabs (talk) 20:30, 14 March 2017 (UTC) Datawiki30 (talk) 11:55, 2 September 2018 (UTC) Sidpark (talk) 09:31, 2 December 2018 (UTC) Mathieu Kappler (talk) 11:44, 6 September 2021 (UTC)[reply]

Notified participants of WikiProject Economics

Notified participants of WikiProject Ukraine

Notified participants of WikiProject Authority control

I think we need a separate property "ПДВ ид" (Ukrainian VAT id).

Does anyone know what's the relation between the two id's? There is a lot of similarity...

Can some Ukrainian participant start a property request? I'll contribute to it. --Vladimir Alexiev (talk) 09:10, 20 July 2022 (UTC)[reply]