Property talk:P230

Latest comment: 1 year ago by Uli Elch in topic Wrong restriction to 2 letters
The property value will be transformed to uppercase automatically.
Testing: TODO list

Documentation

ICAO airline designator
three letter identifier for an airline (two letters only until 1982) (for airports, see P239)
DescriptionICAO three letter code for identifying airlines - airline code (Q741701). For airports, rather use ICAO airport code (P239).
RepresentsICAO airline code (Q12364233)
Has qualityall caps (Q3960579)
Data typeString
Template parameter"ICAO" in en:Template:Infobox Airline
Domain
According to this template: instances of airline (Q46970)
According to statements in the property:
airline (Q46970)
When possible, data should only be stored as statements
Allowed values
According to this template: 3 uppercase characters
According to statements in the property:
[A-Z]{3}
When possible, data should only be stored as statements
ExampleKorean Air (Q213147) → KAL
Turkish Airlines (Q4548) → THY
Blue Wings (Q685605) → BWG
Sourceairline code (Q741701) (note: this information should be moved to a property statement; use property source website for the property (P1896))
Tracking: usageCategory:Pages using Wikidata property P230 (Q27826988)
See alsoICAO airport code (P239), IATA airline designator (P229), flight number (P3090)
Lists
Proposal discussionProposal discussion
Current uses
Total3,510
Main statement3,507>99.9% of uses
Qualifier3<0.1% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Type “airline (Q46970): item must contain property “instance of (P31)” with classes “airline (Q46970)” 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/P230#Type Q46970, SPARQL
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/P230#Single value, SPARQL
Format “[A-Z]{3}: 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/P230#Format, SPARQL
Conflicts with “ICAO airport code (P239): this property must not be used with the listed properties and values. (Help)
List of violations of this constraint: Database reports/Constraint violations/P230#Conflicts with P239, hourly updated report, search, SPARQL
Scope is as main value (Q54828448): the property must be used by specified way only (Help)
List of violations of this constraint: Database reports/Constraint violations/P230#Scope, hourly updated report, 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/P230#Entity types, hourly updated report

Wrong restriction to 2 letters edit

Until 1982, the ICAO airline code was generally restricted to 2 (two) letters only. A transition to a 3 letter system was not completed until November 1987.

The restriction "[A-Z]{3}" is incorrect and has to be changed to include two letters as well to avoid faulty nuisance error messages. --Uli Elch (talk) 11:51, 24 August 2018 (UTC)Reply

I removed 2 letters codes from documentation. It is another identification system (from the same organization). Lets create separate property if we need have it on Wikidata. — Ivan A. Krestinin (talk) 20:08, 1 January 2023 (UTC)Reply
It is exactly the same identification system (from the same organization), valid worldwide until 1987. Therefore it belongs into that item. --Uli Elch (talk) 10:04, 2 January 2023 (UTC)Reply

Proposal - Change Data type of ICAO airline designator (P230) from String to External identifier edit

I think String is the wrong type for ICAO airline designator (P230). Can we please change it to be External identifier.

As per Help:Data_type#Changing_datatype please indicate support/opposition below. Iwan.Aucamp (talk) 16:52, 15 October 2019 (UTC)Reply

Discussion edit

Return to "P230" page.