Property talk:P239

Active discussions

Documentation

ICAO airport code
four-character alphanumeric identifier for designating airports (for airlines, see P230)
DescriptionICAO code for identifying airports. For airlines, rather use ICAO airline designator (P230).
RepresentsICAO airport code (Q207529)
Data typeString
Domain
According to this template: places: airports - aerodrome (Q62447), mainly airport (Q1248784)
According to statements in the property:
aerodrome (Q62447)
When possible, data should only be stored as statements
Allowed values([A-Z]{2}|[CKY][A-Z0-9])([A-Z]{2}|[0-9]{2,4})
ExamplePierrefonds Airport (Q17431) → FMEP
Brisbane Airport (Q45523) → YBBN
Rimouski Airport (Q3912794) → CYXK
SourceICAO airport code (Q207529) (note: this information should be moved to a property statement; use property source website for the property (P1896))
Tracking: sameno label (Q32085217)
Tracking: differencesno label (Q22013021)
Tracking: usageCategory:Pages using Wikidata property P239 (Q22013028)
Tracking: local yes, WD nono label (Q22013018)
See alsoICAO airline designator (P230), IATA airport code (P238), Argentinean NCAA Airport code (P6120), Transport Canada LID (P5699), Directorate General of Civil Aeronautics (Mexico) code (P5746), FAA airport code (P240), Ex-USSR internal airport code (P5851)
Lists
Proposal discussionProposal discussion
Current uses
Total20,397
Main statement20,394>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 “aerodrome (Q62447): element must contain property “instance of (P31)” with classes “aerodrome (Q62447)” or their subclasses (defined using subclass of (P279)). (Help)
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P239#type Q62447, SPARQL, SPARQL (new)
 
Single value: this property generally contains a single value. (Help)
Exceptions are possible as rare values may exist. Known exceptions: Atarot Airport (Q573379), EuroAirport Basel-Mulhouse-Freiburg (Q156971)
List of this constraint violations: Database reports/Constraint violations/P239#Single value, SPARQL, SPARQL (new)
 
Distinct values: this property likely contains a value that is different from all other items. (Help)
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P239#Unique value, SPARQL (every item), SPARQL (by value), SPARQL (new)
 
Item “coordinate location (P625): Items with this property should also have “coordinate location (P625)”. (Help)
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P239#Item P625, SPARQL, SPARQL (new)
 
Item “country (P17): Items with this property should also have “country (P17)”. (Help)
Exceptions are possible as rare values may exist. Known exceptions: Wright Brothers Field (Q106574534)
List of this constraint violations: Database reports/Constraint violations/P239#Item P17, search, SPARQL, SPARQL (new)
 
Scope is as main value (Q54828448): the property must be used by specified way only (Help)
List of this constraint violations: Database reports/Constraint violations/P239#scope, hourly updated report, SPARQL, SPARQL (new)
 
Format “([A-Z]{2}|[CKY][A-Z0-9])([A-Z]{2}|[0-9]{2,4}): value must be formatted using this pattern (PCRE syntax). (Help)
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P239#Format, SPARQL, SPARQL (new)
 
Single best value: this property generally contains a single value. If there are several, one would have preferred rank (Help)
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P239#single best value, SPARQL, SPARQL (new)


 
This property is being used by:

Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.)

Request to change en title to ICAO airport codeEdit

I want to have the title changed to ICAO airport code, in order to avoid conflict with the ICAO airline code property. Harryboyles (talk) 10:32, 7 March 2013 (UTC)

Have done so. Harryboyles (talk) 10:41, 7 March 2013 (UTC)

format constraintEdit

i changed it from [A-Z][A-Z][A-Z][A-Z] to ([A-Z][A-Z]|[CKY][A-Z0-9])[A-Z0-9][A-Z0-9], since the locally assigned code parts may contain digits. --Akkakk 23:40, 3 June 2013 (UTC)

I've changed the regex since there happen to be pseudo codes (very small aerodromes using a country-based ICAO code) for instance Q30738830

testable here ([A-Z]{2}|[CKY][A-Z0-9])([A-Z]{2}|[0-9]{2,4}) Feel free to modify the regex if you find it inappropriate. Bouzinac (talk) 19:44, 23 November 2019 (UTC)

Property constraint concerning IATA codeEdit

The constraint regarding IATA codes should be removed, because not all airfields with an ICAO code even have an IATA code assigned. Cheers --MB-one (talk) 15:13, 12 August 2017 (UTC)

  Done --MB-one (talk) 10:49, 26 September 2017 (UTC)

ICAO codes being reassigned...Edit

For example, en:MOD_St_Athan changed ICAO code from EGXD to EGSY (which used to be en:Sheffield City Airport.

This means the warnings on Q3565572 and Q3915754 for ICAO code reuse, and having more than one ICAO code are irritating...

Reedy (talk) 00:10, 28 April 2019 (UTC)

Distinct values constraint Closed AirportEdit

Q330015 and Q1436575 have overlapping values for P239. How should this be handled because Q1436575 is closed?

Done with deprecated values. Bouzinac (talk) 19:37, 23 November 2019 (UTC)

Proposal - Change Data type of ICAO airport code (P239) from String to External identifierEdit

I think String is the wrong type for ICAO airport code (P239). 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)

DiscussionEdit

  •   Comment See the large number of "Unique value" constraint violations in the constraint report linked above. These should be cleaned up somehow before this is made a real external id, if that is to happen. ArthurPSmith (talk) 17:23, 15 October 2019 (UTC)
Return to "P239" page.