least
The function used to take two values and return the lesser of them in standard order. Works with numbers, strings, and dates.
Parameter | Type |
---|---|
| any |
Returns: any
Example
Query:
PREFIX : <https://ddw-doccorp.linked.data.world/d/sparql-function-sample-queries/> PREFIX fn: <http://data.world/function/functions#> SELECT (fn:least(3, 4) AS ?least) { }
Results:
least |
---|
3 |