Property talk:P5696

Latest comment: 4 years ago by Bouzinac in topic Changed the regex constraint to [A-Z]{1,5}

Documentation

Indian Railways station code
code to identify a railway station operated by Indian Railways (this should NOT be used on items for metro stations; use P296 in those instances)
Associated itemIndian Railways (Q819425)
Data typeExternal identifier
Domainrailway station (Q55488), rail yard (Q19563580), railway stop (Q55678), station (Q12819564) or signal box (Q39015397)
Allowed values[0-9A-Z]{1,5}
ExampleHowrah railway station (Q986105) → HWH
Gede railway station (Q5529666) → GEDE
Amritsar railway station (Q15643961) → ASR
Bhagat Ki Kothi railway station (Q16971508) → BGKT
Baranagar Road railway station (Q25549176) → BARN
Raipur Junction railway station (Q7285050) → R
Related to country  India (Q668) (See 103 others)
See alsoESR station code (P2815), Amtrak station code (P4803), China railway TMIS station code (P1378)
Lists
Proposal discussionProposal discussion
Current uses
Total9,689
Main statement9,683>99.9% of uses
Qualifier6<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/P5696#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/P5696#Unique value, SPARQL (every item), SPARQL (by value)
Format “[A-Z]{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/P5696#Format, SPARQL
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (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/P5696#Entity types

Import in hand edit

I preparing an import from en.Wikipedia infoboxes. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 20:02, 22 August 2018 (UTC)Reply

Done, but "799 successful edits, 654 errors" - the latter mostly caused by instance of (P31) being set to station (Q719456) and not railway station (Q55488). Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 20:45, 22 August 2018 (UTC)Reply

URL scheme? edit

Do we know that if such codes are existing on the 3rd query services? If yes, how to query them? --117.15.55.42 08:24, 15 March 2019 (UTC)Reply

Changed the regex constraint to [A-Z]{1,5} edit

Bouzinac (talk) 19:39, 8 April 2020 (UTC)Reply

Return to "P5696" page.