Help:Max format/Test for max ResultFormat

From semantic-mediawiki.org
< Help:Max format
Max formatHelp:Max format/Test for max ResultFormat

Test for Thread:Help_talk:Max_format/Test_for_max

{{#subobject:-
 |Has number=100500
 |Some property=A
}}
{{#subobject:-
 |Has number=100400
 |Some property=B
}}
{{#subobject:-
 |Has number=100300
 |Some property=C
}}


Queries[edit]

Max of some property[edit]

Values:

 Some property
Max format/Test for max ResultFormatC
Max format/Test for max ResultFormatA
Max format/Test for max ResultFormatB

Max-Query:

{{#ask: [[Some property::+]]
| ?Some property
| format=max
}}

Result: 0

Max of Has number[edit]

Values:

 Has number
Max format/Test for max ResultFormat100,300
Max format/Test for max ResultFormat100,500
Max format/Test for max ResultFormat100,400

Query:

{{#ask: [[Has number::+]]
| ?Has number
| format=max
}}

Result: 100,500