Wikidata:Property proposal/Wolfram Language quantity ID

Wolfram Language quantity ID edit

Originally proposed at Wikidata:Property proposal/Authority control

Descriptionidentifier for a (physical, chemical, ...) quantity in the Wolfram Language
Representsphysical quantity (Q107715)
Data typeExternal identifier
Domainitem, property, physical quantity (Q107715)
Allowed values[a-zA-Z]+
Example 1length (Q36253) -> Length
Example 2wavenumber (Q192510) -> Wavenumber
Example 3heat capacity (Q179388) -> HeatCapacity
Example 4specific heat capacity (Q487756) -> SpecificHeatCapacity
Sourcehttps://reference.wolfram.com/language/ref/QuantityVariable
Planned useAlignment of the Wolfram Language (Q15241057) and Wikidata quantity ontologies will allow consistency checks for the benefit of both. For instance, a statement joule (Q25269)measured physical quantity (P111)energy (Q11379) can be compared with QuantityVariableCanonicalUnit["Energy"] -> "Joules".
Number of IDs in sourceAutocompletion suggests something of the order of 1000.
Expected completenesseventually complete (Q21873974)
See alsoWolfram Language unit code (P7007), Wolfram Language entity code (P4839)

Motivation edit

Align Wolfram Language and Wikidata quantity, unit and property ontologies. This will help improve consistency in both ontologies. One indicator of whether a Wolfram Language property is compatible with a Wikidata property is its physical quantity, for instance: EntityProperty["PhysicalSystem", "Lagrangian"]["PhysicalQuantity"] -> QuantityVariable["Energy","Energy"] Toni 001 (talk) 10:23, 7 October 2019 (UTC)[reply]

Discussion edit

"ID" vs. "code": This property is about the identifiers, that is, strings, as accepted in the second argument of the function QuantityVariable. Users can "define" their own quantities by forming algebraic combination of quantities, say "Mass" / "Time". Those expressions could warrant an additional property "Wolfram Language quantity code", but I'm not proposing that at the moment as a need has not come up yet. Toni 001 (talk) 10:32, 7 October 2019 (UTC)[reply]

@Iwan.Aucamp: To my knowledge there are no (official) URLs for those quantities. Their existence and correctness can be verified by using them in the language: Interesting functions to apply to a quantity include QuantityVariableCanonicalUnit or QuantityVariableDimensions - if the result is not DimensionlessUnit or {}, respectively, then the quantity "exists" (but there are of course some valid dimensionless quantities, say VolumeFraction). Toni 001 (talk) 23:01, 7 October 2019 (UTC)[reply]

@Toni 001, Iwan.Aucamp, Dhx1:   Done: Wolfram Language quantity ID (P7431). − Pintoch (talk) 09:58, 15 October 2019 (UTC)[reply]