Skip to main content

bool_or

Aggregates boolean values. It returns TRUE if any of the values in the aggregation are true and FALSE if all of them are false, ignoring unbound values.

Parameter

Type

Description

value

boolean

The values to combine with OR

Returns:

Example

Query:

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

SELECT (agg:bool_or(?foo > 3) AS ?bool_or)
{
    [ :col-aggregations-foo ?foo ]
}

Run query

Result:

bool_or

true