Property talk:P229
Jump to navigation
Jump to search
The property value will be transformed to uppercase automatically. Testing: TODO list |
Documentation
IATA airline designator
two-character identifier for an airline
two-character identifier for an airline
Description | IATA two-character code for identifying airlines - airline code (Q741701). For airports, rather use IATA airport code (P238). | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Represents | IATA airline code (Q11976628) | ||||||||||||
Data type | String | ||||||||||||
Template parameter | "IATA" in en:Template:Infobox Airline | ||||||||||||
Domain | According to this template:
instances of airline (Q46970)
When possible, data should only be stored as statements | ||||||||||||
Allowed values | According to this template:
2 alphanumeric characters (uppercase)
According to statements in the property:
When possible, data should only be stored as statements[A-Z0-9]{2} | ||||||||||||
Example | Malaysia Airlines (Q308952) → MH Turkish Airlines (Q4548) → TK Blue Wings (Q685605) → QW | ||||||||||||
Source | airline code (Q741701) (note: this information should be moved to a property statement; use property source website for the property (P1896)) | ||||||||||||
Tracking: usage | Category:Pages using Wikidata property P229 (Q28039792) | ||||||||||||
See also | IATA airport code (P238), ICAO airline designator (P230), flight number (P3090), callsign of airline (P432) | ||||||||||||
Lists |
| ||||||||||||
Proposal discussion | Proposal discussion | ||||||||||||
Current uses |
| ||||||||||||
Search for values |
[create Create a translatable help page (preferably in English) for this property to be included here]
Type “airline (Q46970), railway company (Q249556)”: item must contain property “instance of (P31)” with classes “airline (Q46970), railway company (Q249556)” 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/P229#Type Q46970, Q249556, 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/P229#Single value, SPARQL
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/P229#Format, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P229#Format, SPARQL
Qualifiers “start time (P580), end time (P582), reason for deprecated rank (P2241), reason for preferred rank (P7452), latest start date (P8555), earliest date (P1319), earliest end date (P8554), latest date (P1326)”: this property should be used only with the listed qualifiers. (Help)
List of violations of this constraint: Database reports/Constraint violations/P229#allowed qualifiers, hourly updated report, SPARQLScope 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/P229#Scope, hourly updated report, SPARQLAllowed 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/P229#Entity types, hourly updated reportProposal - Change Data type of IATA airline designator (P229) from String to External identifier
[edit]I think String is the wrong type for IATA airline designator (P229). 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)
Discussion
[edit]- Oppose The codes are frequently recycled, and some are even reused simultaneously in different regions. "MV" has been used by at least 8 airlines (at least there 8 Wikidata items with that value). ArthurPSmith (talk) 17:16, 15 October 2019 (UTC)