Property talk:P722

From Wikidata
Jump to navigation Jump to search

Documentation

UIC station code
identifier for a railway station in Europe, CIS countries, the Far East (China, Mongolia, Japan, Korea, Vietnam), North Africa and the Middle East
DescriptionUIC identifiers are used by railway operators to refer to railway stations in Europe, CIS countries, China, Mongolia, North Africa and the Middle East.
Associated itemInternational Union of Railways (Q388314), Express-3 (Q4054091)
Data typeExternal identifier
Domainpublic transport stop (Q548662) or operation point (Q124817561)
Allowed values\d{7}
ExampleNantes station (Q2180175) → 8748100
Train station of Astorga (Q9161351) → 7120100
Format and edit filter validationUIC station reference always consists of 7 digits, beginning with a 2-digit UIC country code. If the station code consists of less than 5 digits, fill with 0, for example Trondheim S’s code is 7601126.
Tracking: usageCategory:Pages using Wikidata property P722 (Q58416575)
See alsoIBNR ID (P954), ESR station code (P2815)
Lists
Proposal discussionProposal discussion
Current uses
Total37,752
Main statement37,750>99.9% of uses
Qualifier2<0.1% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
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/P722#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/P722#Unique value, SPARQL (every item), SPARQL (by value)
Format “\d{7}: 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/P722#Format, SPARQL
Type “public transport stop (Q548662), operation point (Q124817561): item must contain property “instance of (P31)” with classes “public transport stop (Q548662), operation point (Q124817561)” 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/P722#Type Q548662, Q124817561, SPARQL
Format “(10|2\d|3[0-3]|4[01249]|5\d|6[0125678]|7\d|8[0-8]|9\d).+|: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P722#Format, hourly updated report, SPARQL
Item “country (P17): Finland (Q33), Belarus (Q184), Ukraine (Q212), Moldova (Q217), Lithuania (Q37), Latvia (Q211), Estonia (Q191), Kazakhstan (Q232), Georgia (Q230), Uzbekistan (Q265), North Korea (Q423), Mongolia (Q711), Vietnam (Q881), People's Republic of China (Q148), Cuba (Q241), Albania (Q222), Japan (Q17), Bosnia and Herzegovina (Q225), Republika Srpska (Q11196), Poland (Q36), Bulgaria (Q219), Romania (Q218), Czech Republic (Q213), Hungary (Q28), Slovakia (Q214), Azerbaijan (Q227), Armenia (Q399), Kyrgyzstan (Q813), Republic of Ireland (Q27), South Korea (Q884), Montenegro (Q236), North Macedonia (Q221), Tajikistan (Q863), Turkmenistan (Q874), Afghanistan (Q889), United Kingdom (Q145), Spain (Q29), Serbia (Q403), Greece (Q41), Sweden (Q34), Turkey (Q43), Norway (Q20), Croatia (Q224), Slovenia (Q215), Germany (Q183), Austria (Q40), Luxembourg (Q32), Italy (Q38), Netherlands (Q55), Switzerland (Q39), Denmark (Q35), France (Q142), Belgium (Q31), Egypt (Q79), Tunisia (Q948), Algeria (Q262), Morocco (Q1028), Portugal (Q45), Israel (Q801), Iran (Q794), Syria (Q858), Lebanon (Q822), Iraq (Q796), Russia (Q159), Monaco (Q235), Liechtenstein (Q347): Items with this property should also have “country (P17): Finland (Q33), Belarus (Q184), Ukraine (Q212), Moldova (Q217), Lithuania (Q37), Latvia (Q211), Estonia (Q191), Kazakhstan (Q232), Georgia (Q230), Uzbekistan (Q265), North Korea (Q423), Mongolia (Q711), Vietnam (Q881), People's Republic of China (Q148), Cuba (Q241), Albania (Q222), Japan (Q17), Bosnia and Herzegovina (Q225), Republika Srpska (Q11196), Poland (Q36), Bulgaria (Q219), Romania (Q218), Czech Republic (Q213), Hungary (Q28), Slovakia (Q214), Azerbaijan (Q227), Armenia (Q399), Kyrgyzstan (Q813), Republic of Ireland (Q27), South Korea (Q884), Montenegro (Q236), North Macedonia (Q221), Tajikistan (Q863), Turkmenistan (Q874), Afghanistan (Q889), United Kingdom (Q145), Spain (Q29), Serbia (Q403), Greece (Q41), Sweden (Q34), Turkey (Q43), Norway (Q20), Croatia (Q224), Slovenia (Q215), Germany (Q183), Austria (Q40), Luxembourg (Q32), Italy (Q38), Netherlands (Q55), Switzerland (Q39), Denmark (Q35), France (Q142), Belgium (Q31), Egypt (Q79), Tunisia (Q948), Algeria (Q262), Morocco (Q1028), Portugal (Q45), Israel (Q801), Iran (Q794), Syria (Q858), Lebanon (Q822), Iraq (Q796), Russia (Q159), Monaco (Q235), Liechtenstein (Q347)”. (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/P722#Item P17
Item “country (P17): Items with this property should also have “country (P17)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P722#Item P17, hourly updated report, search, SPARQL
Conflicts with “instance of (P31): Wikimedia disambiguation page (Q4167410): this property must not be used with the listed properties and values. (Help)
List of violations of this constraint: Database reports/Constraint violations/P722#Conflicts with P31, hourly updated report, search, SPARQL
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (Help)
List of violations of this constraint: Database reports/Constraint violations/P722#Entity types, hourly updated report
Format “\d{7}|\d{8}: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P722#Format, hourly updated report, SPARQL
Scope is as main value (Q54828448): 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/P722#Scope, SPARQL
Item “coordinate location (P625): Items with this property should also have “coordinate location (P625)”. (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/P722#Item P625, SPARQL

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

Control/Key digit?[edit]

Hello, is it possible to add the 8th digit used by some companies (like French company SNCF)? According to UIC the 8th digit is used as a control key, calculated with the 5 digits of station code (without the country digits). I don't know if a bot controls the length of "7 digits", then it would be appreciated (I think) that we could include this 8th digit? Thanks for your answers. Jeriby (talk) 16:49, 24 September 2013 (UTC)[reply]

What is this?[edit]

Which code should be met with P722? An UIC code has 8 digits (control key included), but IBNR has only 7 digits. Is there any resource to lookup UIC codes? --A.Bernhard (talk) 06:38, 1 October 2013 (UTC)[reply]

I asked some days ago about it already, and on the French wikipedia an IP contributor explained me (for some of you who speak French you can see the subject here), that's why I asked about the 7 or 8 digits . It seems that France uses 8 digits of UIC, whereas Belgium and Switzerland use 7 digits code (same number as the 8 digits but without the control key. Jeriby (talk) 02:26, 2 October 2013 (UTC)[reply]

I'm really not sure about this. Look here, in this UIC list Zurich HB has the code 8585200. If you check this code on the SBB here it doesn't find anything. But if you search for an IBNR here for Zürich HB, the answer is 8503000. And this isn't a UIC code but the SBB find the correct station here. I think the SBB uses the IBNR, because there system is based on the HAFAS system and they created the IBNR.--A.Bernhard (talk) 07:19, 2 October 2013 (UTC)[reply]
I think the SBB combine both systems and uses UIC for France / Belgium etc. stations and IBNR for Germany / Austria / Switzerland etc. stations. And when they use UIC, they ignore the control digit.--A.Bernhard (talk) 07:21, 2 October 2013 (UTC)[reply]
Ok thanks, then it would be better indeed to have UIC property and IBNR property separated and both available (and maybe including the control digit for UIC?) Jeriby (talk) 17:13, 2 October 2013 (UTC)[reply]

Control/Key digit? (again)[edit]

I really don't understand why the bot Escabot is adding UIC code with 7 digits with « Document de référence du réseau; annexe 7.3 - Liste des gares de voyageurs (Q14915744) » as a source WHEREAS this official PDF source shows UIC code with the control/key digit (without the country code, but with this "famous" 8th digit). It's not very rigorous to add a code with a source but a different data compared to the source we refer. Then I'm asking again (I didn't get an answer last time): is it possible to add the 8th digit? (According to UIC the 8th digit is used as a control key, calculated with the 5 digits of station code (without the country digits)). Thank you. Jeriby (talk) 18:26, 14 November 2013 (UTC)[reply]

In France, SNCF Open Data (SNCF Open Data) lists railway stations with 8 digits UIC codes. I had to do a small template using Luhn algorithm to convert the 7 digits from Wikidata P722 to full 8 digits codes (Uic8). --Dominik (talk) 05:31, 31 October 2020 (UTC)[reply]

Operation point[edit]

I've added operation point (Q1318558) as an allowable class for this property. The Swiss assign UIC numbers to non-passenger points (like Umler (Q33508650)); it's useful for verifying information and I think we should encourage it. Mackensen (talk) 14:45, 8 March 2021 (UTC)[reply]

Which UIC code?[edit]

There are two types of UIC codes, Location code (used for all types of locations on European Railways, also freight-only and technical points), and UIC Reservation Code, used in sales systems for passenger traffic. They look alike, but are completely different. Example: UIC location code for Stockholm Centralstation is 7403751, UIC Reservation code is 7400001. Which one is this property meant for? --Kitayama (talk) 10:35, 28 November 2021 (UTC)[reply]

Hello, p722 is the location code. The reservation codes depend of the sale system. Tilcago (talk) 14:25, 3 December 2021 (UTC)[reply]