Help:Getting started/Using mathematical operations

From Linux Web Expert

Revision as of 12:06, 5 May 2016 by >MWJames
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Data

  • Create a Property:Has number with the Number type
  • Add annotations to a page that contain something like [[Has number::12]], [[Has number::5]]

Query

Mathematical operations 1 (such as sum, product, average, median) can be used in form of:

{{#ask: [[Has number::+]]
 |?Has number
 |format=product
}}
{{#ask: [[Has number::+]]
 |?Has number
 |format=sum
}}

See also