Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RegEx Wikidata Eionet bathingWaterIdentifier #6

Open
salgo60 opened this issue Jun 11, 2021 · 1 comment
Open

RegEx Wikidata Eionet bathingWaterIdentifier #6

salgo60 opened this issue Jun 11, 2021 · 1 comment
Labels
EEA European Environment Agency

Comments

@salgo60
Copy link
Owner

salgo60 commented Jun 11, 2021

We need in Wikidata a better Property constraint for Property:P9616#P2302 = dd.eionet.europa.eu/dataelements/99263

  • format constraint is

`(BE|NL|SE)[A-Z0-9]+(_[A-Z0-9]+)*

image

@salgo60
Copy link
Owner Author

salgo60 commented Jun 11, 2021

Country codes SPARQL -->

AL|AT|BE|BG|CZ|DE|DK|EE|ES|FI|FR|HR|HU|IE|IT|LT|LU|LV|MT|NL|PL|PT|RO|SE|SI|SK|GR|UK

new format constraint is
(AL|AT|BE|BG|CZ|DE|DK|EE|ES|FI|FR|HR|HU|IE|IT|LT|LU|LV|MT|NL|PL|PT|RO|SE|SI|SK|GR|UK)[A-Z0-9]+(_[A-Z0-9]+)*

Lets check Wikidata:Database_reports/Constraint_violations/P9616 to see if it works

@salgo60 salgo60 added the EEA European Environment Agency label Jun 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EEA European Environment Agency
Projects
None yet
Development

No branches or pull requests

1 participant