Wikidata:Property proposal/quantity symbol

quantity symbol (LaTeX) edit

Originally proposed at Wikidata:Property proposal/Natural science

Descriptionsymbol for a mathematical or physical quantity
Representsquantity symbol (Q1401551)
Data typeMathematical expression
Domainindividual quantity (Q71550118)
Example 1electric charge (Q1111) → Q
Example 2group velocity (Q217361) → c_g
Example 3mass fraction of water (Q76379025) → w_{H_2O}
Example 4surface density (Q1907514) → \rho_A
SourceISO/IEC 80000 (Q568496)
Planned usereplace quantity symbol (string) (P416)
Number of IDs in sourcehundreds
Expected completenessalways incomplete (Q21873886)
See also
  • unit symbol (P5061): abbreviation of a unit for each language; if not provided, then it should default to English
  • quantity symbol (string) (P416): symbol for a mathematical or physical quantity
  • title in LaTeX (P6835): (qualifier) for title property (P1476), to write title in LaTeX/math notation, if the string can't render it normally. Enclose normal text with "\text{" and "}"

Motivation edit

The existing quantity symbol (string) (P416) has datatype string, which is not sufficient to represent all the notation used for quantity symbols. While there are some The Unicode® Standard (Q8819) sub- and superscripts, they are often not appropriate for use in quantity symbols (usually, special Unicode symbols are tied to a particular use); not all letters are available and nesting of subscripts is not supported (see example 3 above) Toni 001 (talk) 21:50, 26 November 2019 (UTC)[reply]

Discussion edit

  •   Comment @Toni 001: Your proposal also uses datatype string. Did you mean to have type "mathematical expression"? Are you proposing to remove all uses of quantity symbol (string) (P416) and replace it with the new property? If not we need a distinctive label for this property... ArthurPSmith (talk) 19:18, 27 November 2019 (UTC)[reply]
    • @ArthurPSmith: Thanks for the hint. Yes, it should be "math"; fixed now. (I remember entering math while working on this proposal and I even checked that the link works; not sure what happened.) Yes, this should completely replace P416 - there won't be any use (that I could think of) for the other property. I've been wondering how we deal with the property name in the transition period (as there are less than 300 values I expect only a few days - I volunteer to move them manually and check and improve them in the process). Maybe the new property could temporarily have some parenthesis like "(replacement for P416)" in either the label or description. Toni 001 (talk) 12:21, 28 November 2019 (UTC)[reply]
    • Ah, the datatype was changed in this edit. Toni 001 (talk) 12:23, 28 November 2019 (UTC)[reply]
  •   Comment this will not be created until we agree on a new label: two properties cannot have the same label in the same language. − Pintoch (talk) 15:50, 4 December 2019 (UTC)[reply]