least
The function used to take two values and return the lesser of them in standard order. Works with numbers, strings, and dates.
Returns: any
Table 1.
Parameter | Type |
|---|---|
value | 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)
{
}Table 2. Results
least |
|---|
3 |