Skip to main content

min

min returns the lowest value in a specified column which are not unbound and can be used with numeric and non-numeric data. data.world's min differs from the default SPARQL min in that it ignores unbound values. In standard SPARQL, if any of the values are unbound then the result is unbound.

Returns: any

Table 1.

Parameter

Type

Description

value

any

the value to be minimized



Example

Query

PREFIX : <https://ddw-doccorp.linked.data.world/d/sparql-aggregation-sample-queries/>
PREFIX agg: <http://data.world/function/aggregate#>

SELECT (agg:min(?foo) AS ?min)
{
    [ :col-aggregations-foo ?foo ]
}

Try the query

Table 1. Results

min

1