Help:Sum format

From semantic-mediawiki.org
(Redirected from Help:Sum format)
Help:Sum formatSum format/de
Sum format
Displays the sum of all queried numerical data
Further Information
Provided by: Extension "Semantic Result Formats"
Added: 1.4.2
Removed: still supported
Requirements: none
Format name: sum
Enabled? Indicates whether the result format is enabled by default upon installation of the respective extension. yes
Authors: Nathan Yergler
Categories: math
Table of Contents

The result format sum, part of the Extension "Semantic Result Formats" extension, can be used to display the sum of all numerical values in the result.

Parameters[edit]

This result format does not provide format specific parameters.

Example[edit]

Syntax
{{#ask:
 [[Category:City]]
 |?Population
 |format=sum
}}
Result

47,900,445.584 (verify)

See also[edit]

PageFormatDescriptionProvided byAdded inEnabled
Average formataverageDisplays the average of all queried numerical dataSemantic Result Formats1.4.2true
Count formatcountReturns just the number of results, instead of the results themselves.Semantic MediaWiki0.7true
Max formatmaxDisplays the maximum of all queried numerical dataSemantic Result Formats1.4.2true
Median formatmedianDisplays the median of all queried numerical dataSemantic Result Formats1.6.0true
Min formatminDisplays the minimum of all queried numerical dataSemantic Result Formats1.4.2true
Product formatproductDisplays the product of all queried numerical dataSemantic Result Formats1.6.0true
Sum formatsumDisplays the sum of all queried numerical dataSemantic Result Formats1.4.2true