Property talk:P722

From Wikidata
Jump to: navigation, search

Documentation

UIC station code
identifier for a railway station in Europe, CIS-countries, China, Mongolia, north Africa and Middle-east.
Description UIC ids are used by railway operators to refer to railway stations in Europe, CIS-countries, China, Mongolia, north Africa and Middle-east.
Represents International Union of Railways (Q388314), no label (Q4054091)
Data type External identifier
Domain
According to this template: train stations - train station (Q55488)
According to statements in the property:
train station (Q55488)
When possible, data should only be stored as statements
Allowed values \d{7}
Example Gare de Nantes has UIC code 8748100 (note: this information should be moved to a property statement; use property Wikidata property example (P1855) or Wikidata property example for properties (P2271))
Format and edit filter validation UIC station reference always consists of 7 digits, beginning with a 2-digit UIC country code. If the station code consists of less of 5 digits, fill with 0. exemple ; Trondheim S : 7601126
Lists
Proposal discussion Property proposal/Archive/10#P722
Current uses 10,586
[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.
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.
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P722#distinct values, SPARQL (every item), SPARQL (by value)
Format “\d{7}”: value must be formatted using this pattern (PCRE syntax).
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P722#Format, SPARQL
Type “train station (Q55488): element must contain property “instance of (P31)” with classes “train station (Q55488)” or their subclasses (defined using subclass of (P279)).
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P722#Type Q55488, 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)