Help:Getting started/Using mathematical operations

From Linux Web Expert

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