Property talk:P901

From Wikidata
Jump to navigation Jump to search

Documentation

FIPS 10-4 (countries and regions)
Identifier for countries and regions per former Federal Information Processing Standard FIPS 10-4
DescriptionFIPS code for countries and (non US) regions per former FIPS 10-4 standard, see Federal Information Processing Standard (Q917824)
RepresentsFIPS 10-4 (Q3063249)
Associated itemNational Institute of Standards and Technology (Q176691)
Data typeExternal identifier
Domain
According to this template: places: countries/subnational entites (non US)
According to statements in the property:
administrative territorial entity (Q56061) or geographical feature (Q618123)
When possible, data should only be stored as statements
Allowed values[A-Z]{2}([1-9][0-9]|[0-9A-Z][1-9])? (country: 2 capital letters; subnational entities: 4 characters, string starting with country code, ending with digit(s))
ExampleAfghanistan (Q889) → AF
Burgenland (Q43210) → AU01
Robot and gadget jobsDeltaBot does the following jobs:
See alsoFIPS 55-3 (locations in the US) (P774), FIPS 6-4 (P882), FIPS 5-2 alpha code (US states) (P5086), FIPS 5-2 numeric code (US states) (P5087)
Lists
  • Items with the most statements of this property
  • Count of items by number of statements (chart)
  • Count of items by number of sitelinks (chart)
  • Items with the most identifier properties
  • Items with no other external identifier
  • Items with no other statements
  • Most recently created items
  • Items with novalue claims
  • Items with unknown value claims
  • Usage history (total)
  • Chart by item creation date
  • Database reports/Constraint violations/P901
  • Map
  • Random list
  • Proposal discussionProposal discussion
    Current uses
    Total4,345
    Main statement4,343>99.9% of uses
    Qualifier2<0.1% of uses
    Search for values
    [create Create a translatable help page (preferably in English) for this property to be included here]
    Format “[A-Z]{2}([1-9][0-9]|[0-9A-Z][1-9])?: value must be formatted using this pattern (PCRE syntax). (Help)
    List of violations of this constraint: Database reports/Constraint violations/P901#Format, hourly updated report, SPARQL
    Distinct values: this property likely contains a value that is different from all other items. (Help)
    List of violations of this constraint: Database reports/Constraint violations/P901#Unique value, hourly updated report, SPARQL (every item), SPARQL (by value)
    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/P901#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/P901#Type Q56061, Q618123, 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/P901#Entity types
    Scope is as main value (Q54828448), as reference (Q54828450): the property must be used by specified way only (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/P901#Scope, SPARQL

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

    Regular expression[edit]

    The regular expression

    \D\D([\d\D]\d)?

    looks a little weak to force only a non-digit "\D", and we should say that we want a large letter from A to Z. Thus, I suggest to change the regular expression to

    [A-Z][A-Z]([A-Z\d]\d)?

    What do you think? --Zuphilip (talk) 22:46, 30 December 2013 (UTC)[reply]

    Scope of Property[edit]

    The FIPS 10-4 standard is no longer an official standard, but the US military is still updating it. They are now called "Geopolitical Codes (Formerly FIPS PUB 10-4)", cf. http://earth-info.nga.mil/gns/html/gazetteers2.html . At least one of the new code is already added, see User_talk:Ahoerstemeier#FIPS_10-4_.28subdivisions.29. If the amount of statements with this properties will be larger, we should think again about the scope of this property and if and how we want to "mix" the (dead) FIPS 10-4 codes with the Geopolitical codes. --Zuphilip (talk) 07:57, 8 January 2014 (UTC)[reply]

    This afterlife of FIPS 10-4 will however come to an end soon, as the DoD agencies are now required to move to the GENC (Geopolitical Entities, Names, and Codes) standard - which is basically an extension of the ISO3166-1 and -2 standard [1]. Thus I think we can easily extend the scope of this property to this intermediate version "Geopolitical Entities and Codes" as well as the older versions of FIPS 10 (e.g. FIPS 10-3), making the latest code for a given entity the rank "high" and any older codes normal rank and add the date by which it became obsolete with the end time (P582) qualifier. Ahoerstemeier (talk) 14:19, 10 January 2014 (UTC)[reply]

    Formatter URL and Third-Party Formatter URLs no longer correct[edit]

    The CIA has changed the address of The World Factbook (Q97142711) and the formatters for this property are no longer working. Country URLs in the The World Factbook now have the full name of the country, for example https://www.cia.gov/the-world-factbook/countries/antigua-and-barbuda/ and https://www.cia.gov/the-world-factbook/countries/jordan/. They no longer use the FIPS code. Can someone fix this property? And should we now have a new property for The World Factbook ID? UWashPrincipalCataloger (talk) 23:49, 29 March 2021 (UTC)[reply]