Help:Datatype "Quantity"

From semantic-mediawiki.org
Jump to: navigation, search
Quantity
Holds values that describe quantities, containing both a number and a unit
Further Information
Provided by: Semantic MediaWiki
Added in version: 1.6.0
Removed in version: still in use
Datatype ID:
_qty
Table of 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.


Related query syntax elements

General

Help pageSyntax elementDescription
#ask: annotation query marker
@annotation
Marks an inline query as part of an annotation1
#ask: control query marker
@control=slider
Allows to dynamically alter a result display without the need to reload a page2
#ask: deferred query marker
@deferred
Marks an inline query as deferred from regular parsing2
#ask: hierarchy depth restriction
+depth=
Restricts the hierarchy depth of a query3
#ask: printout column width
+align=
Defines an alignment for the content of a printout column
#ask: printout column width
+width=
Defines a width for a printout column4



This documentation page applies to all SMW versions from 1.6.0 to the most current version.
      Other languages: dezh-hans

Help:Type Quantity en 1.6.0


References

  1. ^  Semantic MediaWiki: GitHub pull request gh:smw:2572
  2. a b  Semantic MediaWiki: GitHub pull request gh:smw:2398 (Add support for @deferred mode)
  3. ^  Semantic MediaWiki: GitHub issue gh:smw:2662
  4. ^  Semantic MediaWiki: GitHub pull request gh:smw:2677