Property talk:P2131

From Wikidata
Jump to navigation Jump to search

Documentation

nominal GDP
market value of all officially recognized final goods and services produced within a country in a given period of time
DescriptionGross domestic product (GDP) is the market value of all officially recognized final goods and services produced within a country in a given period of time.
Representsnominal gross domestic product (Q28501082)
Data typeQuantity
Template parameter"Nominal gross domestic product"
Domain
According to this template: Country, region and city articles for the Global Economic Map
According to statements in the property:
regional economy (Q100773131) or territory (Q4835091)
When possible, data should only be stored as statements
Allowed valuesnumber with dimension 'currency' (note: this should be moved to the property statements)
Allowed unitsUnited States dollar (Q4917), Euro (Q4916), Czech koruna (Q131016), yen (Q8146), Canadian dollar (Q1104069), forint (Q47190) or renminbi (Q39099)
Exampleeconomy of the United States (Q188540) → 19,390,604,000,000 United States dollar
Hungary (Q28) → 55,256,668,000,000 forint
Sourcehttp://data.worldbank.org/indicator/NY.GDP.MKTP.CD
Tracking: usageCategory:Pages using Wikidata property P2131 (Q26249994)
See alsonominal GDP per capita (P2132), PPP GDP per capita (P2299)
Lists
Proposal discussionProposal discussion
Current uses
Total10,018
Main statement10,016>99.9% of uses
Qualifier2<0.1% of uses
[create Create a translatable help page (preferably in English) for this property to be included here]
Type “regional economy (Q100773131), territory (Q4835091): item must contain property “instance of (P31)” with classes “regional economy (Q100773131), territory (Q4835091)” 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/P2131#Type Q100773131, Q4835091, SPARQL
Required qualifier “point in time (P585): this property should be used with the listed qualifier. (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/P2131#mandatory qualifier, 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/P2131#Scope, hourly updated report, 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/P2131#Single value, SPARQL
Qualifiers “point in time (P585), determination method (P459), reason for deprecated rank (P2241): this property should be used only with the listed qualifiers. (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/P2131#allowed qualifiers, SPARQL
This property is being used by:

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

Add to economy of topic items[edit]

This property is currently stored in country items. As country items tend to get overly large and uneditable, I'd move this this property to economy of topic items.

All countries have such items, see lists/economics_by_country. Thanks to the constraints on P8744 economy of topic items are also in fairly good shape.

For the sample on the property (USA), that would be economy of the United States (Q188540).

  • Infoboxes on country items could still read the values with the recently created economy of topic (P8744).
  • In SPARQL query, using wdt:P8744/wdt:P2131 instead of wdt:P2131 would give users the same result.

The change was recently tested with inflation rate (P1279) and went fairly smoothly. Sizes of countries items were substantially reduced. Similarly we might want to change nominal GDP per capita (P2132), PPP GDP per capita (P2299), GDP (PPP) (P4010).

@813gan: who added some of the data. --- Jura 10:50, 13 December 2020 (UTC)[reply]

Currency constraint[edit]

Why is this property currently constrained to having units in four particular currencies? Each economy will report its GPD either in an international standard currency like the US dollar, or in its own national currency, or both. I would suggest that this constraint be set so that the unit of measurement simply be a currency of any kind. I am entering values in Canadian dollar (Q1104069) and I don't see why this shouldn't be valid. Nate Wessel (talk) 14:21, 24 January 2022 (UTC)[reply]

I added Canadian dollar (Q1104069) as an allowed unit, but I think there is probably a better and more general way ofo doing this rather than explicitly listing all possible currencies. Nate Wessel (talk) 15:40, 24 January 2022 (UTC)[reply]
Feel free to add needed currencies. Unfortunately, there is no constraint allowing to set up a class of units.--Jklamo (talk) 17:47, 24 January 2022 (UTC)[reply]
Nominal GDP literally cannot be constrained into a fixed number of currencies. It is literally defined as being in the units of the currency of the country for which it is measured. Conversions to dollars are just that: conversions, after the fact. And if an economy is currently say, devaluing their currency, that can lead to an appearance of insanely high GDP growth in USD (or any other non-local currency). That's part of why, for example, GDP growth is only ever calculated in local currency.
The Wikipedia articles all provide the reader with nominal GDP in converted units, which is fine, but those calculations differ between the World Bank and IMF, notably in recent cases because the IMF uses official exchange rates whenever possible in lieu of market exchange rates. (There's good reason to use official exchange rates for many metrics, but most people looking at nominal GDP in USD probably wouldn't want to see it used for a currency being devalued). SamuelRiv (talk) 06:34, 17 July 2022 (UTC)[reply]