bool_and
Aggregates boolean values. It returns TRUE
if all of the values in the aggregation are true and FALSE
if any of them are false, ignoring unbound values.
Parameter | Type | Description |
---|---|---|
| boolean | The values to combine with |
Returns: boolean
Example
Query:
PREFIX : <https://ddw-doccorp.linked.data.world/d/sparql-aggregation-sample-queries/> PREFIX agg: <http://data.world/function/aggregate#> SELECT (agg:bool_and(?foo > 0) AS ?bool_and) { [ :col-aggregations-foo ?foo ] }
Result:
bool_and |
---|
true |