Help:Min format

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

The result format min, part of the Extension "Semantic Result Formats" extension, can be used to display the minimum (i.e. lowest) of all numerical values in the query result. Note that values not in the query result are not considered. If you want to get the minimum value for a property and are not sure all results will be in the result set, you can sort on the property, ascending.

Parameters[edit]

This result format does not provide format specific parameters.

Example[edit]

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

237.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