QuantityVariablePhysicalQuantity
QuantityVariablePhysicalQuantity[var] returns the physical quantity associated with the quantity variable var.
QuantityVariablePhysicalQuantity[var,type] returns the physical quantity using the format type.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.