Help:Max format

Jump to: navigation, search
Max format
Displays the maximum of all queried numerical data
Available languages
Further Information
Provided by: Semantic Result Formats
Added: 1.4.2
Removed: still supported
Requirements: none
Format name: max
Enabled by default: 
Indicates whether the result format is enabled by default upon installation of the respective extension.
Authors: Yaron Koren
Categories: math
Table of Contents

↓ INFO ↓

The result format max, part of the Semantic Result Formats extension, can be used to display the maximum (ie highest) 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 maximum value for a property and are not sure all results will be in the result set, you can sort on the property, descending.



A query for this format could look like:

{{#ask: [[Category:City]]
| ?Population
| format=max

Result: 8,967,665 (verify)

Other math formats:

This documentation page applies to all SMW versions from 1.4.2 to the most current version.
      Other languages: dezh-hans

Help:Max format en 1.4.2