Property talk:P1183

From Wikidata
Jump to navigation Jump to search

Documentation

Gewässerkennzahl
a number to hydrographically order rivers and streams, use more specific properties where possible
Representswaterbody number (Q1520859)
Data typeString
Template parameterde:Vorlage:Infobox Fluss "GKZ" - Q14468978
Domain
According to this template: river / stream - watercourse (Q355304)
According to statements in the property:
watercourse (Q355304) or water reservoir (Q2551525)
When possible, data should only be stored as statements
Allowed values(AT/(2-[0-9](-[0-9]{3}(-[0-9]{2})?)?|8[0-9]{3,7})|CH/([0-9]{1,6}|[A-Z]{2}[0-9]{10})|FI/[0-9]{2}(\.[0-9] )?|LT/[0-9]{8}|SK/4-[0-9]{2}-[0-9]{2}-[0-9]{3}|NO/([0-9]{1,6}|[A-Z]{2}[0-9]{10})|HU/([0-1][0-9]|[2][0])-[0-9]{4}-[1-2]-[1-5])
ExamplePfreimd (Q640734) → CZ/4-01-02-001
no label (Q12762898) → 4-30-04-004
no label (Q12762857) → SK/4-23-05-074
Sourceinfobox (note: this information should be moved to a property statement; use property source website for the property (P1896))
See alsoLAWA waterbody ID (P3866), Sandre river ID (P1717), State Water Register Code (Russia) (P884), GNIS Feature ID (P590), NVE Drainage Basin (REGINE) ID (P4528), Czech hydrological order number (P4279)
Lists
Proposal discussionProposal discussion
Current uses
Total2,212
Main statement2,20899.8% of uses
Qualifier30.1% of uses
Reference1<0.1% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Type “watercourse (Q355304), water reservoir (Q2551525): item must contain property “instance of (P31)” with classes “watercourse (Q355304), water reservoir (Q2551525)” or their subclasses (defined using subclass of (P279)). (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/P1183#Type Q355304, Q2551525, SPARQL
Format “(AT/(2-[0-9](-[0-9]{3}(-[0-9]{2})?)?|8[0-9]{3,7})|CH/([0-9]{1,6}|[A-Z]{2}[0-9]{10})|FI/[0-9]{2}(\.[0-9] )?|LT/[0-9]{8}|SK/4-[0-9]{2}-[0-9]{2}-[0-9]{3}|NO/([0-9]{1,6}|[A-Z]{2}[0-9]{10})|HU/([0-1][0-9]|[2][0])-[0-9]{4}-[1-2]-[1-5]): 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/P1183#Format, SPARQL
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/P1183#Single value, 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/P1183#Unique value, SPARQL (every item), SPARQL (by value)
Scope is as main value (Q54828448): the property must be used by specified way only (Help)
List of violations of this constraint: Database reports/Constraint violations/P1183#Scope, hourly updated report, SPARQL

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


Is this really a single thing?[edit]

Is "Gewässerkennzahl" (in the sense of an international system consisting of a number prefixed by a country code) a real thing? The German Wikipedia page seems to be talking about various different identifiers which identify rivers.

The infobox parameter they use also seems to be an invented format to allow them to enter codes for different countries using a single parameter:

  • The format used for the parameter is not the format used for display. If "US/425264" is a real code, why display it as "US: 425264"?
  • de:Elbe has the parameter set to "DE/5/CZ/1-01-01-001". That's not even a single code, it's two separate codes, the German one is "5" and the Czech one is "1-01-01-001".
  • The numbers don't seem to have prefixes anywhere else, e.g. https://recht.nrw.de/lmi/owa/br_vbl_show_pdf?p_id=15060 (a list containing German codes) and http://voda.chmi.cz/hr05/seznamy/hsp.pdf (a list containing Czech codes, including the Elbe example above)

The numbers sometimes duplicate other properties:

Here is a query which counts the countries. It seems that there are only 7 countries being used, one of which is the US which already has its own property. The only other one I've seen so far on the German Wikipedia that's not included and doesn't have its own property is the Czech Republic.

From what I've found so far, I think this property should be split, so that there's one property for each system. Thoughts?

- Nikki (talk) 20:04, 4 April 2016 (UTC)[reply]

In OSM, they use separate tags for each system, e.g. ref:fgkz for Germany, ref:sandre for France, ref:gwlnr for Switzerland, see osmwiki:Relation:waterway. - Nikki (talk) 11:02, 5 April 2016 (UTC)[reply]
It seems I forgot to mention it here, but I created Wikidata:Property proposal/waterbody ID (Germany) in an attempt to start splitting this. As I wrote there, if people agree with splitting this, I'll create more proposals for the other identifiers I can identify. @Jura1: You're the only person who's commented here, maybe you want to check out that proposal. :) - Nikki (talk) 17:02, 8 November 2016 (UTC)[reply]
Thanks. I had seen it. I figured it would go through ;)
--- Jura 19:26, 8 November 2016 (UTC)[reply]