Property talk:P722

From Wikidata
Jump to navigation Jump to search

Documentation

UIC station code
identifier for a railway station in Europe, CIS countries, China, Mongolia, 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.
Representsno label (Q4054091)
Data typeExternal identifier
Domainrailway station (Q55488)
Allowed values\d{7}
ExampleNantes station (Q2180175) → 8748100
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.
Lists
Proposal discussionProperty proposal/Archive/10#P722
Current uses12,160
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.
List of this constraint violations: 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.
List of this constraint violations: 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.
List of this constraint violations: Database reports/Constraint violations/P722#Format, SPARQL
Type “railway station (Q55488): element must contain property “instance of (P31)” with classes “railway station (Q55488)” or their subclasses (defined using subclass of (P279)). (Help)
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P722#Type Q55488, 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 this constraint violations: 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), Ireland (Q27), South Korea (Q884), Montenegro (Q236), 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), Kingdom of the Netherlands (Q29999), 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): 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), Ireland (Q27), South Korea (Q884), Montenegro (Q236), 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), Kingdom of the Netherlands (Q29999), 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)”. (Help)
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P722#Item P17
Item “country (P17): Items with this property should also have “country (P17)”. (Help)
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P722#Item P17, SPARQL

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)

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)

  • Looks like we mix different systems in one property. Russian label of P722 is "код Экспресс-3" ("Express-3 code"). — Ivan A. Krestinin (talk) 19:11, 1 October 2013 (UTC)
    • Hm... can't find any description of "Express-3 code" - will do some research. We have to solve these issues with station codes. See also Wikidata:Properties_for_deletion#Bahnhofscode_.28P296.29 --A.Bernhard (talk) 20:42, 1 October 2013 (UTC)
      • I do not find any non-Russian sources about this system, in Russian: ru:АСУ «Экспресс». This is system that serves ticket and another operations in Russia and ex-USSR countries. Sample code: 2000030 (for no label (Q4123858)). — Ivan A. Krestinin (talk) 21:24, 1 October 2013 (UTC)
        • Translated ru @ wikipedia and got this: "The system of "Express-3" is a full member of the international community system of reserved seats, actively cooperates with other European electronic reservation systems within computer networks OSJD / UIC ." The question is how close is the cooperation? I tried your tool for IBNR and UIC codes and it doesn't give any response for these codes (tried also eastern europe cities like Praha or Budapest). List of a dozen UIC-station codes is available here and here's a IBNR lookup --A.Bernhard (talk) 21:36, 1 October 2013 (UTC)

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 Face-smile.svg. 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)

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)
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)
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)

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)