Wikidata:Property proposal/Deutsche Bahn station number

From Wikidata
Jump to navigation Jump to search

‎Deutsche Bahn station number[edit]

Originally proposed at Wikidata:Property proposal/Transportation

Descriptionnumeric identifier for train stations operated by Deutsche Bahn
Data typeExternal identifier
Domainrailway station (Q55488)
Allowed values/^[1-9][0-9]{0,4}$/
Example 1Hamburg Hauptbahnhof (Q6456)Deutsche Bahn station number2514
Example 2Berlin Hauptbahnhof (Q1097)Deutsche Bahn station number1071
Example 3Schaffhausen railway station (Q690055)Deutsche Bahn station number5530
Number of IDs in source5400
Expected completenesseventually complete (Q21873974)
Formatter URLhttps://bahnhof.de/id/$1
See alsostation code (P296), Deutsche Bahn station code (P8671), IBNR ID (P954)
Single-value constraintyes

Motivation[edit]

DB InfraGO AG (formerly DB Station&Service) assigns a unique numeric identifier to each of its 5400+ stations in Germany (and 12 in Switzerland). This identifier is exposed in multiple official Deutsche Bahn APIs and datasets, such as RIS::Stations or FaSta. It differs from Deutsche Bahn station code (P8671), which is an identifier assigned by the network operator for operational points (not all of these points are passenger stations, and some passenger stations even contain multiple operational points). The numeric identifier, on the other hand, is only assigned once per station "hub" (even if that station contains different operational subdivisions).

Currently, these identifiers are already recorded for some stations in Wikidata, such as Hamburg Hauptbahnhof (Q6456) or Munich Central Station (Q254647). However, this is done using the generic station code (P296) property, sometimes with qualifiers to specify the type of identifier or the operator (e.g. for Munich Central). Given the amount of stations in Germany, it seems to make sense to standardize the modeling of this information by creating a specific sub-property of station code (P296) for this identifier, which is why I submit this proposal.

One last consideration: If other people agree with that idea, it might make sense to rename the existing Deutsche Bahn station code (P8671) property to clarify that these codes are not only assigned to stations, but also other operational points in the railway network. Otherwise, having both a "DB station number" and a "DB station code" might lead to confusion.

Julius Tens (talk) 13:33, 28 December 2023 (UTC)[reply]

Discussion[edit]

 Support --Looniverse (talk) 17:40, 30 December 2023 (UTC)[reply]

 Support -- Dekarl (talk) 21:46, 2 January 2024 (UTC)[reply]

 SupportShisma (talk) 10:40, 3 January 2024 (UTC)[reply]

 SupportVolker.krause (talk) 17:24, 4 January 2024 (UTC)[reply]

 Support –-Nw520 (talk) 12:49, 6 January 2024 (UTC)[reply]

 Support - -stk (talk) 20:14, 7 January 2024 (UTC)[reply]

@Iulle, Looniverse, Dekarl, Shisma, Volker.krause, Nw520: ✓ Done --Esteban16 (talk) 21:18, 9 January 2024 (UTC)[reply]