Help:Median format

From semantic-mediawiki.org
Help:Median formatMedian format/de
Median format
Displays the median of all queried numerical data
Further Information
Provided by: Extension "Semantic Result Formats"
Added: 1.6.0
Removed: still supported
Requirements: none
Format name: median
Enabled? Indicates whether the result format is enabled by default upon installation of the respective extension. yes
Authors: Jeroen De Dauw
Categories: math
Table of Contents

The result format median, part of the Extension "Semantic Result Formats" extension, can be used to display the median 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=median
}}
Result

1,536,792 (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