Wikidata:Property proposal/Wolfram Language quantity ID
Wolfram Language quantity ID[edit]
Originally proposed at Wikidata:Property proposal/Authority control
Description | identifier for a (physical, chemical, ...) quantity in the Wolfram Language |
---|---|
Represents | physical quantity (Q107715) |
Data type | External identifier |
Domain | item, property, physical quantity (Q107715) |
Allowed values | [a-zA-Z]+ |
Example 1 | length (Q36253) -> Length |
Example 2 | wavenumber (Q192510) -> Wavenumber |
Example 3 | heat capacity (Q179388) -> HeatCapacity |
Example 4 | specific heat capacity (Q487756) -> SpecificHeatCapacity |
Source | https://reference.wolfram.com/language/ref/QuantityVariable |
Planned use | Alignment 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 source | Autocompletion suggests something of the order of 1000. |
Expected completeness | eventually complete (Q21873974) |
See also | Wolfram 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)
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)
- Comment Would this be a valid formatter for this property?
http://scienceworld.wolfram.com/physics/$1.html
? If not is there one? I think if this is somehow associate with wolfram we need to be able to verify it somehow - how do I know if the value entered is valid? Iwan.Aucamp (talk) 18:46, 7 October 2019 (UTC)- @Toni 001: Comment maybe this is a better formatter url
https://reference.wolfram.com/system-modeler/libraries/Modelica/Modelica.SIunits.$1.html
- but it is not valid for all examples. Iwan.Aucamp (talk) 18:49, 7 October 2019 (UTC)
- @Toni 001: Comment maybe this is a better formatter url
- @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)
- @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
@Toni 001, Iwan.Aucamp, Dhx1: Done: Wolfram Language quantity ID (P7431). − Pintoch (talk) 09:58, 15 October 2019 (UTC)