Property talk:P2284

Latest comment: 2 years ago by Iara Ai in topic Value 0?

Documentation

price
published price listed or paid for a product (use with unit of currency)
Representsprice (Q160151)
Data typeQuantity
Domainmedication (Q12140), medical procedure (Q796194) (note: this should be moved to the property statements)
Allowed valuesnumber with currency (note: this should be moved to the property statements)
Allowed unitsInstances of: currency and fictional currency
United States dollar (Q4917), pound sterling (Q25224), Euro (Q4916), Czech koruna (Q131016), Canadian dollar (Q1104069), Indian rupee (Q80524), Norwegian krone (Q132643), Swiss franc (Q25344), renminbi (Q39099), won (Q202040), Swedish krona (Q122922), Russian ruble (Q41044), Danish krone (Q25417), Brazilian real (Q173117), United Arab Emirates dirham (Q200294), Australian dollar (Q259502), rupiah (Q41588), baht (Q177882), Bangladeshi taka (Q194453), Soviet ruble (Q615640), forint (Q47190), Dutch guilder (Q788472), Hryvnia (Q81893), new shekel (Q131309), bitcoin (Q131723), yen (Q8146), New Taiwan dollar (Q208526), Deutsche Mark (Q16068), Simoleon (Q3646698), Czechoslovak koruna (Q622599), peseta (Q189097), French franc (Q184172), current United States dollar per gallon (Q64725760), Brazilian réis (Q10366257), Hong Kong dollar (Q31015), Sri Lankan rupee (Q4596), złoty (Q123213), Finnish markka (Q203354), escudo (Q745316), Argentine convertible peso (Q199578), Turkish lira (Q172872), French livre (Q607248), livre tournois (Q2670039), livre parisis (Q286197), cuarto (Q5793278), Spanish real (Q1370372), Brazilian cruzeiro (Q32361), Malaysian ringgit (Q163712), Brunei dollar (Q206319), East German mark (Q157011), Italian lira (Q204992), Macanese pataca (Q241214), New Zealand dollar (Q1472704), Dogelon Mars (Q107107092), ruble (Q15788), Portuguese escudo (Q468474), Pakistani rupee (Q188289), Belgian franc (Q232415), Singapore dollar (Q190951), Austro-Hungarian gulden (Q306306), Philippine peso (Q17193), Mexican peso (Q4730), rand (Q181907), pence (predecimalised pound sterling) (Q123344782), Egyptian pound (Q199462), Danish rigsdaler (Q2296536), Iranian rial (Q188608) or Microsoft Points (Q1149009)
ExampleWarfarin sodium 1 mg tab-cap (Q21064745) → 1.18 United States dollar
Euro (Q4916) → 1.08 United States dollar
United States dollar (Q4917) → 0.98 Euro
The Sims 4 (Q12579896) → 0 United States dollar
Source
According to statements in the property:
http://erc.msh.org/dmpguide/pdf/DrugPriceGuide_2014.pdf
When possible, data should only be stored as statements
Robot and gadget jobsThe import will be done by a bot.
Tracking: usageCategory:Pages using Wikidata property P2284 (Q25249307)
See alsoestimated value (P8340), cost (P2130)
Lists
Proposal discussionProposal discussion
Current uses
Total5,993
Main statement4,65777.7% of uses
Qualifier1,32122% of uses
Reference150.3% of uses
[create Create a translatable help page (preferably in English) for this property to be included here]
Units: “United States dollar (Q4917), pound sterling (Q25224), Euro (Q4916), Czech koruna (Q131016), Canadian dollar (Q1104069), Indian rupee (Q80524), Norwegian krone (Q132643), Swiss franc (Q25344), renminbi (Q39099), won (Q202040), Swedish krona (Q122922), Russian ruble (Q41044), Danish krone (Q25417), Brazilian real (Q173117), United Arab Emirates dirham (Q200294), Australian dollar (Q259502), rupiah (Q41588), baht (Q177882), Bangladeshi taka (Q194453), Soviet ruble (Q615640), forint (Q47190), Dutch guilder (Q788472), Hryvnia (Q81893), new shekel (Q131309), bitcoin (Q131723), yen (Q8146), New Taiwan dollar (Q208526), Deutsche Mark (Q16068), Simoleon (Q3646698), Czechoslovak koruna (Q622599), peseta (Q189097), French franc (Q184172), current United States dollar per gallon (Q64725760), Brazilian réis (Q10366257), Hong Kong dollar (Q31015), Sri Lankan rupee (Q4596), złoty (Q123213), Finnish markka (Q203354), escudo (Q745316), Argentine convertible peso (Q199578), Turkish lira (Q172872), French livre (Q607248), livre tournois (Q2670039), livre parisis (Q286197), cuarto (Q5793278), Spanish real (Q1370372), Brazilian cruzeiro (Q32361), Malaysian ringgit (Q163712), Brunei dollar (Q206319), East German mark (Q157011), Italian lira (Q204992), Macanese pataca (Q241214), New Zealand dollar (Q1472704), Dogelon Mars (Q107107092), ruble (Q15788), Portuguese escudo (Q468474), Pakistani rupee (Q188289), Belgian franc (Q232415), Singapore dollar (Q190951), Austro-Hungarian gulden (Q306306), Philippine peso (Q17193), Mexican peso (Q4730), rand (Q181907), pence (predecimalised pound sterling) (Q123344782), Egyptian pound (Q199462), Danish rigsdaler (Q2296536), Iranian rial (Q188608), Microsoft Points (Q1149009): value unit must be one of listed. (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/P2284#Units
Scope is as main value (Q54828448), as qualifier (Q54828449): 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/P2284#Scope, 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/P2284#Entity types

Scope edit

Why is this property constrained to medicine? I think it should be generic items as also suggested by User:Joshbaumgartner during the property suggestion discussion. I cannot see why it should be restricted to medication (Q12140) and medical procedure (Q796194). — Finn Årup Nielsen (fnielsen) (talk) 22:45, 9 February 2016 (UTC)Reply

  • I agree, there is no reason to constrain the domain on this property. Josh Baumgartner (talk) 17:38, 11 February 2016 (UTC)Reply
  • I also can't see any reason to restrict this to medicine. I didn't even realise it's supposed to be - there's no indication in the label or description. Looking at the constraint report, it seems none of the existing uses are for medicine (33 uses, 33 type constraint violations). @Tobias1984: As the original proposer and creator of the property, could you comment? Either there's a good reason to restrict it to medicine which we're not aware of and both the label and description need clarifying, or there's no reason to not use it more generically and the constraints need changing. - Nikki (talk) 08:06, 1 April 2016 (UTC)Reply

Why Kčs is not a good value edit

Why the historical currency Q622599 is not a good value?--Juandev (talk) 15:37, 26 February 2019 (UTC)Reply

It is. Next time simply add it.--Jklamo (talk) 17:30, 26 February 2019 (UTC)Reply

How to represent [unit currency] per [unit volume, weight, etc] ? edit

I am trying to add data from this page: https://www.energy.gov/eere/vehicles/fact-915-march-7-2016-average-historical-annual-gasoline-pump-price-1929-2015 to the page for Gasoline: https://www.wikidata.org/wiki/Q39558

It is in `CURRENT DOLLARS / GALLON` and `CONSTANT 2015 DOLLARS/GALLON`.

For now I'm going to add these as `allowed units constraint` but this is obviously madness. For every currency (C), and unit of measure (M) there will be C x M possible combinations. This isn't way of adding allowed units constraints that will aid peoples sanity and patience. TFJamMan (talk) 14:29, 19 June 2019 (UTC)Reply

Rightly or wrongly I've added the units of Current United States dollars, Current United States dollars per gallon and 2015 United States dollars per gallon TFJamMan (talk) 17:00, 19 June 2019 (UTC)Reply

Allowed currencies as a qualifier edit

Shouldn't any instance of a currency be permissible? I have some data in ducats. Apologies if I posted this to the wrong property

Can this be used for share price edit

  Notified participants of WikiProject Companies

If I want to express the share (stock) price of a company, can I use this property?

It needs to be connected to stock exchange (P414) and maybe even ticker symbol (P249). --Vladimir Alexiev (talk) 14:38, 21 October 2019 (UTC)Reply

It seems to me like a stock price is a quantity that changes from moment to moment and we would need to have a property that specifies the meaning better to capture it on Wikidata. ChristianKl15:02, 21 October 2019 (UTC)Reply
Why not, but because of stock splits, different classes of shares etc. market capitalization (P2226) is much more useful.--Jklamo (talk) 08:02, 22 October 2019 (UTC)Reply

Price constraints problematic—nowism edit

I entered the price of "1 penny" (this being penny for British pre-decimal) for a 1917 published work, and it is telling me that I have a constraint violation. For works of that period it shouldn't be a violation, so is it possible to modify the constraints. Thks.  — billinghurst sDrewth 10:52, 13 November 2019 (UTC)Reply

Value 0? edit

How to add value 0 to price (in any currency)?--Iara Ai (talk) 20:15, 12 January 2022 (UTC)Reply

Return to "P2284" page.