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.
Parameter | Type | Description |
---|---|---|
| any | the value to be minimized |
Returns: any
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 ] }
Result:
min |
---|
1 |