Help:Datatype "Quantity"

From semantic-mediawiki.org
(Redirected from Help:Datatype "Quantity")
Help:Datatype "Quantity"Type Quantity/zh-hans
Quantity
Holds values that describe quantities, containing both a number and a unit
Further information
Provided by: Semantic MediaWiki
Since version: 1.6.0
Until version: still in use
Datatype ID:
_qty
In this wiki: Quantity
Table of Contents

Contents

The datatype quantity is for property values that describe quantities, in particular physical quantities such as time or distance. Values of this type consist of a numerical value followed by the name of a unit of measurement. The available units must first be declared on the page of the property that uses the quantity type. For details on how to do this, see the help page on custom units.

The format of this datatype in RDF Export is XSD Double.

Examples[edit]

API example